nova-compute service's state is down

asked 2015-07-22 12:42:10 -0600

mfa gravatar image


I installed OpenStack Juno following the next guide over Ubuntu Server 13.04: (

Everything looks fine, but my nova-compute service state is down, and there's an ImportError from oslo.config when I try to execute it with the next command:

sudo python /usr/bin/nova-compute --config-file /etc/nova/nova.conf

The error:

   Traceback (most recent call last):
   File "/usr/bin/nova-compute", line 6, in <module>
   from nova.cmd.compute import main
   File "/usr/lib/python2.7/dist-packages/nova/cmd/", line 22, in <module> oslo.config
   ImportError: No module named config

I tried to reinstall oslo.config but the error is stil there. I grep oslo.config in the pip list and the module it's there.

Do you have any idea what the problem is?


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-11-13 07:07:46 -0600

sbiswas7 gravatar image

I had a similar problem today. The actual problem was the oslo-config version I was using. My oslo version was 1.4 (around) and I needed to be greater or equal to 2.3. Once I updated the oslo-config version, things became alright.

You may need to scan your repos and see if there are any other repos providing you the oslo-config packages (which are older) other than the Openstack repos.

Hope this helps. Sudipto

edit flag offensive delete link more

answered 2015-07-23 00:43:43 -0600

kumar lakshman kumar gravatar image

Can you check is your oslo.config in python path. you can try manually importing oslo.config on python terminal to cross check.

edit flag offensive delete link more


I exececuted :

root@computeOS:/usr/bin# python -m oslo.config
/usr/bin/python: No module named oslo.config

I tried to importing the module manually as follow:

sudo python /usr/bin/nova-compute --config-file /etc/nova/nova.conf -c "import oslo.config"

And the error is still there.

mfa gravatar imagemfa ( 2015-07-27 05:47:56 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-07-22 12:42:10 -0600

Seen: 637 times

Last updated: Nov 13 '15