[Openstack] Unexpected error: 'Token' object has no attribute 'serviceCatalog' when log in dashbaord

l jv ljvsss at gmail.com
Fri Sep 23 07:00:23 UTC 2011


hi everyone:


Version: 2011.3-0ubuntu2~ppa1~natty1

i make a dashboard as here(
http://docs.openstack.org/diablo/openstack-compute/admin/content/about-the-dashboard.html
)


but when i want to log in use admin ,the error is happend:

DEBUG:django_openstack.api:auth_api connection created using url "
http://localhost:5000/v2.0/"
ERROR:django_openstack.forms:Nonspecific error while handling form
Traceback (most recent call last):
  File
"/data/src/openstack-dashboard/django-openstack/django_openstack/forms.py",
line 178, in maybe_handle
    return form, form.handle(request, data)
  File
"/data/src/openstack-dashboard/django-openstack/django_openstack/auth/views.py",
line 46, in handle
    info = api.token_info(request, token)
  File
"/data/src/openstack-dashboard/django-openstack/django_openstack/api.py",
line 622, in token_info
    o = urlparse(token.serviceCatalog['identity'][0]['adminURL'])
  File
"/data/src/openstack-dashboard/django-openstack/django_openstack/api.py",
line 71, in __getattr__
    return self._apiresource.__getattribute__(attr)
AttributeError: 'Token' object has no attribute 'serviceCatalog'

the novaclient have service_catalog.py

is there something wrong about django_openstack auth ?
anyone can help me? thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110923/ca647daf/attachment.html>


More information about the Openstack mailing list