Forbidden response when trying to log-in with demo user in a DevStack deployment
Hi!
I recently reinstalled my development environment and unfortunately I encountered I couldn't log in to the Dashboard.
That issue was partially covered by this answer - https:/
After changing the suggested line, I can log-in as admin user, but when trying to log with demo user I get the following trace
####
Environment:
Request Method: GET
Request URL: http://
Django Version: 1.4.3
Python Version: 2.7.3
Installed Applications:
['openstack_
'django.
'django.
'django.
'django.
'django.
'django.
'compressor',
'horizon',
'openstack_
'openstack_
'openstack_
'openstack_auth']
Installed Middleware:
('django.
'django.
'django.
'django.
'django.
'horizon.
'django.
'django.
Traceback:
File "/usr/local/
111. response = callback(request, *callback_args, **callback_kwargs)
File "/opt/stack/
38. return view_func(request, *args, **kwargs)
File "/opt/stack/
54. return view_func(request, *args, **kwargs)
File "/opt/stack/
38. return view_func(request, *args, **kwargs)
File "/usr/local/
48. return self.dispatch(
File "/usr/local/
69. return handler(request, *args, **kwargs)
File "/opt/stack/
155. handled = self.construct_
File "/opt/stack/
146. handled = self.handle_
File "/opt/stack/
118. data = self._get_
File "/opt/stack/
182. self._data = {self.table_
File "/opt/stack/
32. super(ProjectOv
File "/opt/stack/
33. self.usage.
File "/opt/stack/
98. _('Unable to retrieve usage information.'))
File "/opt/stack/
95. self.usage_list = self.get_
File "/opt/stack/
142. usage = api.nova.
File "/opt/stack/
458. return NovaUsage(
File "/opt/stack/
48. "tenant_usage")
File "/opt/stack/
140. _resp, body = self.api.
File "/opt/stack/
227. return self._cs_
File "/opt/stack/
214. **kwargs)
File "/opt/stack/
196. resp, body = self.request(url, method, **kwargs)
File "/opt/stack/
190. raise exceptions.
Exception Type: Forbidden at /project/
Exception Value: User does not have admin privileges (HTTP 403) (Request-ID: req-9ad7de9c-
####
Even though it's ok that demo user does not have admin permissions, he should be able to get usage information from the client.
It's a basic DevStack implementation on Ubuntu 12.04 LTS, with Quantum and Swift enabled.
Screen logs looks fine, except from Horizon's one that shows the attached trace, and stack.sh log doesn't show anything weird either.
I'll keep looking for a solution, but any help will be totally appreciated.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Victoria Martinez de la Cruz
- Solved:
- Last query:
- Last reply: