Ask Your Question

can't start nova-compute after using docker

asked 2017-06-06 18:38:43 -0500

hanane gravatar image

I installed openstack mitaka with 2 nodes (controller and compute) like in this documentation : ( i wanted to include docker so i followed this guide ( to configure glance and nova. but now i can't start the nova-compute server when i included the compute_driver = novadocker.virt.docker.DockerDriver in /etc/nova/nova-compute.conf plz can you help

edit retag flag offensive close merge delete


Any error messages in /var/log/nova/nova-compute.log?

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-07 03:23:42 -0500 )edit

this is the /var/log/nova/nova-compute.log content : ` INFO nova.virt.driver [-] Loading compute driver 'novadocker.virt.docker.DockerDriver' -- ERROR nova.virt.driver [-] Unable to load the virtualization driver ... ImportError: No module named docker

hanane gravatar imagehanane ( 2017-06-10 07:32:57 -0500 )edit

I think you either haven't installed the docker driver or Nova can't find it.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-10 09:54:48 -0500 )edit

thanks for your comments , it guides me throught the problem source , i resolved it , see my answer

hanane gravatar imagehanane ( 2017-06-10 12:29:49 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-06-10 12:35:48 -0500

hanane gravatar image

i reseloved it by installing the package python-docker like mentioned here : [ (] this is the whole instructions to follow

git clone
cd nova-docker
git checkout HEAD^1
sudo apt-get install python-docker
sudo python install

then restart nova-compute server and it work

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-06-06 18:37:52 -0500

Seen: 212 times

Last updated: Jun 10 '17