Error while running dashboard

Asked by kvaibhav

I have installed openstack nova and dashboard on Redhat Linux 6.1

I have used packages from http://yum.griddynamics.net/yum/diablo/

my openstack nova is working well and I tried to use dashboard. it gives error

DEBUG 2011-11-16 18:07:12,705 api: auth_api connection created using url "http://localhost:5000/v2.0/"
ERROR 2011-11-16 18:07:12,754 forms: Nonspecific error while handling form
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/openstack_dashboard/forms.py", line 168, in maybe_handle
    return form, form.handle(request, data)
  File "/usr/lib/python2.6/site-packages/openstack_dashboard/plugins/auth/views.py", line 99, in handle
    return handle_login(request, data['username'], data['password'], None)
  File "/usr/lib/python2.6/site-packages/openstack_dashboard/plugins/auth/views.py", line 55, in handle_login
    info = api.token_info(request, token)
  File "/usr/lib/python2.6/site-packages/openstack_dashboard/api.py", line 618, in token_info
    o = urlparse(token.serviceCatalog['identity'][0]['adminURL'])
TypeError: list indices must be integers, not str

I think this is probably because of old version of dashboard. but RPM for new dashboard is not available.
I cannot have a Git clone for installation as my cloud infrastructure is on isolated network without internet.

If you cannot help kindly redirect me to somebody who can help and provide the new packages.

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Gabriel Hurley (gabriel-hurley) said :
#1

This does look like a mismatch between the versions of dashboard, keystone and novaclient/keystoneclient that are being used. It's a bit hard to debug from the given information.

If you can't do a git clone, the essex-1 milestone tarball has just been released. Be warned, though, that it's the first of several milestones leading up to the Essex release. I don't believe there will be a new RPM until Essex is released next year. Overall the E1 tarball is stable, but there are certainly further bugs which will (and have already) been fixed.

Revision history for this message
Arminder Singh Girgla (arminder) said :
#2

I'm getting the same error, except for the error is 'identity'. I have picked on Repo from diablo-4 available at http://yum.griddynamics.net/yum/diablo-4/openstack/

openstack-compute-2.0a1-1.noarch
openstack-dashboard-1.0-0.20111116.1230.el6.noarch
openstack-glance-2011.3-0.20110825.996.1.el6.noarch
openstack-keystone-1.0-0.20110928.1619.el6.noarch
openstack-nova-2011.3-0.20110922.1520.5.el6.noarch
openstack-client-2.6.4-1.1ed1f5e.noarch

------------------------------------
DEBUG 2011-12-01 08:27:13,657 api: auth_api connection created using url "http://localhost:5000/v2.0/"
ERROR 2011-12-01 08:27:13,675 forms: Nonspecific error while handling form
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/openstack_dashboard/forms.py", line 168, in maybe_handle
    return form, form.handle(request, data)
  File "/usr/lib/python2.6/site-packages/openstack_dashboard/plugins/auth/views.py", line 107, in handle
    return handle_login(request, data['username'], data['password'], None)
  File "/usr/lib/python2.6/site-packages/openstack_dashboard/plugins/auth/views.py", line 65, in handle_login
    info = api_ext.token_info(request, token)
  File "/usr/lib/python2.6/site-packages/openstack_dashboard/api_ext.py", line 78, in token_info
    o = urlparse.urlparse(token.serviceCatalog['identity'][0]['adminURL'])
KeyError: 'identity'
------------------------------------

Any help on this would be highly appreciated.

Revision history for this message
Devin Carlen (devcamcar) said :
#3

You tried to link a bug to this but you linked this unrelated bug by accident: https://bugs.launchpad.net/bugs/178728

Revision history for this message
许明 (xu-ming11) said :
#4

Help!
I have the same error!
Does it croused by the version of Dashboard.

Please care it,thank you very much~

Can you help with this problem?

Provide an answer of your own, or ask kvaibhav for more information if necessary.

To post a message you must log in.