Authentication issue with Keystone

asked 2011-09-15 23:42:29 -0600

somikbehera gravatar image

I have my keystone, nova, dashboard set-up running using the latest trunk but I consistently run into this HTTP 401 error:

DEBUG:django_openstack.api:auth_api connection created using url "http://localhost:5000/v2.0/" ERROR:django_openstack.auth:Error authenticating: Unauthorized Traceback (most recent call last): File "/home/somik/openstack/dash/django-openstack/django_openstack/auth/", line 45, in handle data['password']) File "/home/somik/openstack/dash/django-openstack/django_openstack/", line 612, in token_create return Token(auth_api().tokens.create(tenant, username, password)) File "/home/somik/openstack/dash/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/auth/", line 55, in create return self._create('tokens', params, "auth") File "/home/somik/openstack/dash/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/", line 40, in _create resp, body =, body=body) File "/home/somik/openstack/dash/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/", line 82, in post return self._cs_request(url, 'POST', **kwargs) File "/home/somik/openstack/dash/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/", line 67, in _cs_request raise ex Unauthorized: Unauthorized (HTTP 401)

The users have been created in Keystone, nova with keystone integration is up and running. The only caveat maybe that Nova uses MySQL and keystone is using sqlite db

What could be causing this failure? Alternatively, for maybe just diablo, is it possible to disable keystone and use nova auth?


edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2011-09-16 18:07:53 -0600

somikbehera gravatar image

This was my bad, keystone created multiple sqllite dbs depending on from where we were running the keystone commands from

edit flag offensive delete link more

answered 2011-09-16 20:39:05 -0600

rafadurancastaneda gravatar image


Check bugs page since the problems you I think are related to some of the reported bugs. In addition I link the bug I think is affecting you.


edit flag offensive delete link more

answered 2011-11-07 11:43:32 -0600

jean-pierre-dion gravatar image

Hi, can you explain how you solved this multiple db issue ? Thank you. jean-pierre

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-09-15 23:42:29 -0600

Seen: 88 times

Last updated: Nov 07 '11