Revision history [back]

click to hide/show revision 1
initial version

unable to log on horizon dashboard

Hi

I have an issue with Openstack Horizon Dashboard

When I try to log I haev a message : Something went wrong !

When I check the logs, I can find this :

[Wed Jan 28 16:37:58.775735 2015] [:error] [pid 13562:tid 140612052846336] Login successful for user "admin". [Wed Jan 28 16:37:58.827442 2015] [:error] [pid 13561:tid 140612128446208] Internal Server Error: /horizon/admin/ [Wed Jan 28 16:37:58.827470 2015] [:error] [pid 13561:tid 140612128446208] Traceback (most recent call last): [Wed Jan 28 16:37:58.827480 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response [Wed Jan 28 16:37:58.827489 2015] [:error] [pid 13561:tid 140612128446208] response = wrapped_callback(request, callback_args, *callback_kwargs) [Wed Jan 28 16:37:58.827497 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec [Wed Jan 28 16:37:58.827525 2015] [:error] [pid 13561:tid 140612128446208] return view_func(request, args, *kwargs) [Wed Jan 28 16:37:58.827531 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec [Wed Jan 28 16:37:58.827538 2015] [:error] [pid 13561:tid 140612128446208] return view_func(request, args, *kwargs) [Wed Jan 28 16:37:58.827543 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 54, in dec [Wed Jan 28 16:37:58.827550 2015] [:error] [pid 13561:tid 140612128446208] return view_func(request, args, *kwargs) [Wed Jan 28 16:37:58.827556 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec [Wed Jan 28 16:37:58.827562 2015] [:error] [pid 13561:tid 140612128446208] return view_func(request, args, *kwargs) [Wed Jan 28 16:37:58.827568 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec [Wed Jan 28 16:37:58.827574 2015] [:error] [pid 13561:tid 140612128446208] return view_func(request, args, *kwargs) [Wed Jan 28 16:37:58.827580 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in view [Wed Jan 28 16:37:58.827586 2015] [:error] [pid 13561:tid 140612128446208] return self.dispatch(request, args, *kwargs) [Wed Jan 28 16:37:58.827592 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 87, in dispatch [Wed Jan 28 16:37:58.827598 2015] [:error] [pid 13561:tid 140612128446208] return handler(request, args, *kwargs) [Wed Jan 28 16:37:58.827604 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 154, in get [Wed Jan 28 16:37:58.827610 2015] [:error] [pid 13561:tid 140612128446208] handled = self.construct_tables() [Wed Jan 28 16:37:58.827616 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 145, in construct_tables [Wed Jan 28 16:37:58.827622 2015] [:error] [pid 13561:tid 140612128446208] handled = self.handle_table(table) [Wed Jan 28 16:37:58.827627 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 118, in handle_table [Wed Jan 28 16:37:58.827633 2015] [:error] [pid 13561:tid 140612128446208] data = self._get_data_dict() [Wed Jan 28 16:37:58.827639 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 181, in _get_data_dict [Wed Jan 28 16:37:58.827645 2015] [:error] [pid 13561:tid 140612128446208] self._data = {self.table_class._meta.name: self.get_data()} [Wed Jan 28 16:37:58.827651 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py", line 60, in get_data [Wed Jan 28 16:37:58.827691 2015] [:error] [pid 13561:tid 140612128446208] data = super(GlobalOverview, self).get_data() [Wed Jan 28 16:37:58.827699 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py", line 43, in get_data [Wed Jan 28 16:37:58.827705 2015] [:error] [pid 13561:tid 140612128446208] self.usage.summarize(self.usage.get_date_range()) [Wed Jan 28 16:37:58.827711 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 200, in summarize [Wed Jan 28 16:37:58.827718 2015] [:error] [pid 13561:tid 140612128446208] if not api.nova.extension_supported('SimpleTenantUsage', self.request): [Wed Jan 28 16:37:58.827723 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/utils/memoized.py", line 90, in wrapped [Wed Jan 28 16:37:58.827738 2015] [:error] [pid 13561:tid 140612128446208] value = cache[key] = func(args, *kwargs) [Wed Jan 28 16:37:58.827744 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 752, in extension_supported [Wed Jan 28 16:37:58.827751 2015] [:error] [pid 13561:tid 140612128446208] extensions = list_extensions(request) [Wed Jan 28 16:37:58.827757 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/horizon/utils/memoized.py", line 90, in wrapped [Wed Jan 28 16:37:58.827763 2015] [:error] [pid 13561:tid 140612128446208] value = cache[key] = func(args, *kwargs) [Wed Jan 28 16:37:58.827769 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 743, in list_extensions [Wed Jan 28 16:37:58.827775 2015] [:error] [pid 13561:tid 140612128446208] return nova_list_extensions.ListExtManager(novaclient(request)).show_all() [Wed Jan 28 16:37:58.827782 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/contrib/list_extensions.py", line 37, in show_all [Wed Jan 28 16:37:58.827788 2015] [:error] [pid 13561:tid 140612128446208] return self._list("/extensions", 'extensions') [Wed Jan 28 16:37:58.827794 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 64, in _list [Wed Jan 28 16:37:58.827800 2015] [:error] [pid 13561:tid 140612128446208] _resp, body = self.api.client.get(url) [Wed Jan 28 16:37:58.827806 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 283, in get [Wed Jan 28 16:37:58.827812 2015] [:error] [pid 13561:tid 140612128446208] return self._cs_request(url, 'GET', *kwargs) [Wed Jan 28 16:37:58.827818 2015] [:error] [pid 13561:tid 140612128446208] File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 275, in _cs_request [Wed Jan 28 16:37:58.827825 2015] [:error] [pid 13561:tid 140612128446208] raise e [Wed Jan 28 16:37:58.827832 2015] [:error] [pid 13561:tid 140612128446208] Unauthorized: Unauthorized (HTTP 401)

Anybody has already encounter this error and know how to solve it ?

Regards