Ask Your Question

nova-api did not start "No module named keystonemiddleware.auth_token"

asked 2014-09-30 04:52:49 -0500

priyanka gravatar image

updated 2014-09-30 10:02:48 -0500

smaffulli gravatar image

I am trying to install openstack stable/icehouse on ubutnu 12.04 through devstack. While running I am facing the following error:

[ERROR] /home/stack/devstack/lib/nova:703 nova-api did not start

The n-api screen in says:

ImportError: No module named keystonemiddleware.auth_token

Could someone let me know how to proceed.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-09-30 11:02:54 -0500

updated 2014-09-30 11:20:07 -0500

If you are using Juno, then auth token part is moved from keystoneclient to keystone middleware. You need to install python-keystonemiddleware

Dependening on your distribution apt-get may not work for python-keystonemiddleware unless the distribution supports Juno

Please check whether you are really running Icehouse. As far as I know this change is done only for Juno. I don't think it is backported

edit flag offensive delete link more

answered 2014-09-30 05:22:09 -0500

updated 2014-09-30 05:25:54 -0500

I think your python auth module is not installed. So run the following command to install it:

apt-get install python-keystone python-keystoneclient

This link also may be helpful.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-09-30 04:52:49 -0500

Seen: 2,337 times

Last updated: Sep 30 '14