Error verifying Keystone installation (grizzly release)

asked 2013-07-25 13:37:38 -0600

anonymous user

Anonymous

updated 2013-07-30 12:31:31 -0600

Jobin gravatar image

When I run the command given to check the installation of Keystone (with my admin name and password substituted), I get the following error.

Command:

keystone --os-username=admin --os-password=secrete --os-authurl=http://192.168.206.130:35357/v2.0 token-get

'NoneType' object has no attribute 'has_service_catalog'

Edit: I'm using Ubuntu 12.04 LTS, with the Grizzly release of OpenStack. I have the Horizon dashboard installed as well (with the Ubuntu customization purged), and if I enter a correct user login I get a server error. Incorrect logins work properly.

CLOSED: There was a phantom copy of the Essex release of Keystone present on the server, left over from an earlier attempt to install using the Ubuntu default openstack packages.

edit retag flag offensive close merge delete

Comments

Can you please post your keystone.conf here? And try to check your DB once again wheather DB is created properly or not and check the all tables.

Bhavaniprasad gravatar imageBhavaniprasad ( 2013-07-26 01:27:22 -0600 )edit

The database is properly created and updating with users, tenants, services, and endpoints. I'll post the keystone.conf

shsingh gravatar imageshsingh ( 2013-07-26 09:18:38 -0600 )edit

And how did you actually fix this issue? I have purged keystone package and its python bindings and reinstalled havana version but I'm still getting this error

Qrilka gravatar imageQrilka ( 2013-12-20 08:05:07 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-07-30 15:07:44 -0600

nishtha gravatar image

Most probably this error is due to your keystone database. Your identities have not been created properly. Follow this link http://docs.openstack.org/grizzly/basic-install/apt/content/basic-install_controller.html#basic-install_controller-keystone..and check your conf file for keystone.You can drop your database and recreate it and run the script after copying it to some file correctly. It will generate the ids for users tenants and roles automatically. Then you will be able to login to the dashboard with admin/demo and password credentials. I hope you have set the environment variables in your .bashrc file or sourcing your file.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-07-25 13:37:38 -0600

Seen: 2,501 times

Last updated: Jul 30 '13