TypeError when trying to log-in in a DevStack deployment
Hi guys!
I recently reinstalled my development environment and unfortunately I encountered I couldn't log in to the Dashboard.
According the trace, the exception is thrown by python-novaclient, but I couldn't figure out what's going on exactly.
Here is the mentioned 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/
86. 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 "/opt/stack/
86. 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/
38. data = super(GlobalOve
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/
130. return api.nova.
File "/opt/stack/
463. novaclient(
File "/opt/stack/
261. http_log_
File "/opt/stack/
146. cacert=cacert)
File "/opt/stack/
103. if hasattr(requests, logging):
Exception Type: TypeError at /admin/
Exception Value: hasattr(): attribute name must be string
####
It's a basic DevStack implementation, 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 digging to see if I can figure this out, but any help will be totally appreciated.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Chuan-Heng Hsiao
- Solved:
- Last query:
- Last reply: