Ask Your Question
0

New install issues keystone wont start

asked 2011-10-06 20:06:42 -0500

imroot-rocketmail gravatar image

I installed keystone per instructions but it won't start. - downloaded it - unzipped - python setup.py install (no errors) - cd to the keystone bin directory.

./keystone

ERROR: Unable to load keystone-legacy-auth from configuration file /software/keystone/openstack-keystone-61148fb/etc/keystone.conf. Got: ImportError('No module named passlib.hash',)

The keystone.conf file has not been changed from default.

edit retag flag offensive close merge delete

8 answers

Sort by ยป oldest newest most voted
0

answered 2011-10-06 20:28:45 -0500

imroot-rocketmail gravatar image

more info ...

./keystone -d

keystone-legacy-auth: INFO *************** keystone-legacy-auth: INFO Configuration options gathered from config file: keystone-legacy-auth: INFO /software/keystone/openstack-keystone-61148fb/etc/keystone.conf keystone-legacy-auth: INFO ================================================ keystone-legacy-auth: INFO admin_host 0.0.0.0 keystone-legacy-auth: INFO admin_port 35357 keystone-legacy-auth: INFO backends keystone.backends.sqlalchemy keystone-legacy-auth: INFO debug True keystone-legacy-auth: INFO default_store sqlite keystone-legacy-auth: INFO hash-password True keystone-legacy-auth: INFO keystone-admin-role Admin keystone-legacy-auth: INFO keystone-service-admin-role KeystoneServiceAdmin keystone-legacy-auth: INFO log_file keystone.log keystone-legacy-auth: INFO service-header-mappings { 'nova' : 'X-Server-Management-Url', 'swift' : 'X-Storage-Url', 'cdn' : 'X-CDN-Management-Url'} keystone-legacy-auth: INFO service_host 0.0.0.0 keystone-legacy-auth: INFO service_port 5000 keystone-legacy-auth: INFO verbose False keystone-legacy-auth: INFO *************** ERROR: Unable to load keystone-legacy-auth from configuration file /software/keystone/openstack-keystone-61148fb/etc/keystone.conf. Got: ImportError('No module named passlib.hash',)

edit flag offensive delete link more
0

answered 2011-10-10 12:51:29 -0500

tzn gravatar image

Install pip e.g. apt-get install python-pip

And then pip install passlib

edit flag offensive delete link more
0

answered 2011-10-10 18:01:32 -0500

imroot-rocketmail gravatar image

apt-get doesn't work on RHEL6.

edit flag offensive delete link more
0

answered 2011-10-10 18:04:01 -0500

imroot-rocketmail gravatar image

the pip install passlib worked but it still behaves the same.

edit flag offensive delete link more
0

answered 2011-10-11 02:05:13 -0500

sunny790821 gravatar image

I had the same symptoms. After I install passlib, error was diappeared. Thanks.

edit flag offensive delete link more
0

answered 2011-10-13 16:42:32 -0500

imroot-rocketmail gravatar image

I solved this by reinitializing the who;le machine and installed XCP instead of Openstack. Apparently pip is garbage that tries to attach to Twitter of all things. No Openstack, no Keystone, no pip, no Ubuntu, no problems......

edit flag offensive delete link more
0

answered 2011-11-15 21:58:18 -0500

robpneff gravatar image

This worked for me to get the services started, but then I got a database error when running keystone-manage.

apt-get install python-pip pip install passlib /bin/keystone

edit flag offensive delete link more
0

answered 2011-11-17 15:06:18 -0500

imroot-rocketmail gravatar image

I was running RHEL 6 not Ubuntu. The apt-get command doesn't really work well on RHEL. This is prime example how the whole Openstack system and it's peripheral modules are too Ubuntu-centric and not RHEL friendly. As a followup, I have dozens of VMs now up and running very well on the XCP platform. It was amazingly easy and fast to set up. I did give Openstack a try but unfortunately it's still half-baked and was a complete waste of my time.

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

2 followers

Stats

Asked: 2011-10-06 20:06:42 -0500

Seen: 489 times

Last updated: Nov 17 '11