[Errno 13] Permission denied: '/var/www/.novaclient'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Kiall Mac Innes | ||
python-novaclient (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I've just installed dashboard on a Ubuntu 12.04 B1 server:
openstack-dashboard 2012.1~
# apt-get install openstack-dashboard
and just pointed my browser to the installation.
On logging on I get a stack trace.
Environment:
Request Method: GET
Request URL: http://
Django Version: 1.3.1
Python Version: 2.7.3
Installed Applications:
['openstack_
'django.
'django.
'django.
'django_nose',
'horizon',
'horizon.
'horizon.
'horizon.
Installed Middleware:
('django.
'django.
'django.
'django.
'openstack_
'horizon.
'django.
'django.
Traceback:
File "/usr/lib/
111. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/
40. return view_func(request, *args, **kwargs)
File "/usr/lib/
91. return view_func(request, *args, **kwargs)
File "/usr/lib/
57. return view_func(request, *args, **kwargs)
File "/usr/lib/
40. return view_func(request, *args, **kwargs)
File "/usr/lib/
91. return view_func(request, *args, **kwargs)
File "/usr/lib/
47. return self.dispatch(
File "/usr/lib/
68. return handler(request, *args, **kwargs)
File "/usr/lib/
100. handled = self.construct_
File "/usr/lib/
87. data = self._get_
File "/usr/lib/
127. self._data = {self.table_
File "/usr/lib/
33. self.usage.
File "/usr/lib/
94. _('Unable to retrieve usage information.'))
File "/usr/lib/
91. self.usage_list = self.get_
File "/usr/lib/
114. return api.usage_
File "/usr/lib/
394. return [Usage(u) for u in novaclient(
File "/usr/lib/
35. "tenant_usages")
File "/usr/lib/
85. with self.completion
File "/usr/lib/
17. return self.gen.next()
File "/usr/lib/
115. os.makedirs(
File "/usr/lib/
150. makedirs(head, mode)
File "/usr/lib/
157. mkdir(name, mode)
Exception Type: OSError at /syspanel/
Exception Value: [Errno 13] Permission denied: '/var/www/
/var/www is quite rightly owned by root:root on an out of the box install of Apache.
affects: | openstack-dashboard (Ubuntu) → python-novaclient (Ubuntu) |
tags: | added: essex-rc-potential |
Changed in python-novaclient (Ubuntu): | |
importance: | Undecided → High |
Changed in nova: | |
milestone: | none → essex-rc2 |
tags: | removed: essex-rc-potential |
Changed in nova: | |
milestone: | essex-rc2 → 2012.1 |
This sounds a lot like bug #897885 - In fact, the is nearly identical.
https:/ /bugs.launchpad .net/nova/ +bug/897885
https:/ /review. openstack. org/1952