Ask Your Question
0

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

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

priyanka gravatar image

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

smaffulli gravatar image

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

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

The n-api screen in rejoin-stack.sh 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
1

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

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

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

https://github.com/openstack/keystone...

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
1

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

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

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

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: 2014-09-30 04:52:49 -0600

Seen: 2,236 times

Last updated: Sep 30 '14