[Openstack-operators] Dashboard errors

Kavit Munshi kavit at aptira.com
Sun May 27 07:12:56 UTC 2012


Hello all,
 
I was previously using dashboard, nova-api and keystone on the same host. I have now moved them to separate boxes and everything else seems to be fine except for the dashboard. It is broken. Upon navigating to the URL it displays the login prompt but after entering the credentials, I get the following error.
 
Request Method: GET
Request URL: http://x.x.x.x/syspanel/
 
Django Version: 1.3.1
Python Version: 2.7.3
Installed Applications:
['openstack_dashboard',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django_nose',
 'horizon',
 'horizon.dashboards.nova',
 'horizon.dashboards.syspanel',
 'horizon.dashboards.settings']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'openstack_dashboard.middleware.DashboardLogUnhandledExceptionsMiddleware',
 'horizon.middleware.HorizonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.locale.LocaleMiddleware')
 
 
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
  40.         return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
  88.                 return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
  55.             return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
  40.         return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
  88.                 return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view
  47.             return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
  68.         return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in get
  105.         handled = self.construct_tables()
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in construct_tables
  96.             handled = self.handle_table(table)
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in handle_table
  68.         data = self._get_data_dict()
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in _get_data_dict
  132.             self._data = {self.table_class._meta.name: self.get_data()}
File "/usr/lib/python2.7/dist-packages/horizon/usage/views.py" in get_data
  33.         self.usage.summarize(*self.usage.get_date_range())
File "/usr/lib/python2.7/dist-packages/horizon/usage/base.py" in summarize
  94.                                   _('Unable to retrieve usage information.'))
File "/usr/lib/python2.7/dist-packages/horizon/usage/base.py" in summarize
  91.                 self.usage_list = self.get_usage_list(start, end)
File "/usr/lib/python2.7/dist-packages/horizon/usage/base.py" in get_usage_list
  114.         return api.usage_list(self.request, start, end)
File "/usr/lib/python2.7/dist-packages/horizon/api/nova.py" in usage_list
  399.     return [Usage(u) for u in novaclient(request).usage.list(start, end, True)]
File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py" in list
  35.                     "tenant_usages")
File "/usr/lib/python2.7/dist-packages/novaclient/base.py" in _list
  76.         data = body[response_key]
 
Exception Type: TypeError at /syspanel/
Exception Value: string indices must be integers, not str
 
Has anyone seen this before?
 
Regards,
 
Kavit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120527/1c597cb0/attachment-0002.html>


More information about the Openstack-operators mailing list