Ask Your Question
0

can't start nova-compute after using docker

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

hanane gravatar image

I installed openstack mitaka with 2 nodes (controller and compute) like in this documentation : https://docs.openstack.org/mitaka/install-guide-ubuntu/overview.html (https://docs.openstack.org/mitaka/ins...) i wanted to include docker so i followed this guide https://wiki.openstack.org/wiki/Docker#Using_Nova-Docker (https://wiki.openstack.org/wiki/Docke...) 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

Comments

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

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-07 03:23:42 -0600 )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 -0600 )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 -0600 )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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

hanane gravatar image

i reseloved it by installing the package python-docker like mentioned here : [https://github.com/indigo-dc/nova-docker-documentation/blob/master/docs/install.md (https://github.com/indigo-dc/nova-doc...)] this is the whole instructions to follow

git clone https://github.com/openstack/nova-docker.git
cd nova-docker
git checkout HEAD^1
sudo apt-get install python-docker
sudo python setup.py install

then restart nova-compute server and it work

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: 2017-06-06 18:37:52 -0600

Seen: 63 times

Last updated: Jun 10 '17