Ask Your Question
0

Error while running dashboard

asked 2011-11-17 12:27:15 -0500

vaibhav-k-agarwal gravatar image

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.

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2011-11-17 19:34:55 -0500

gabriel-hurley gravatar image

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.

edit flag offensive delete link more
0

answered 2011-12-01 14:01:38 -0500

arminder gravatar image

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/ (http://yum.griddynamics.net/yum/diabl...)

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.

edit flag offensive delete link more
0

answered 2011-12-08 01:18:08 -0500

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

edit flag offensive delete link more
0

answered 2011-12-08 01:19:30 -0500

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

Please care it,thank you very much~

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-11-17 12:27:15 -0500

Seen: 33 times

Last updated: Dec 08 '11