← Back to team overview

openstack team mailing list archive

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

 

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