Revision history [back]

click to hide/show revision 1
initial version

Configure Docker in OpenStack

Hi All

I tried to install Docker in OpenStack followed Official doc:https://wiki.openstack.org/wiki/Docker

It suggests to install nova-docker driver. And after I followed the manuscript and configure the docker, the openstack-status shows that:

openstack-nova-compute: failed

openstack-ceilometer-api: failed

In /var/log/nova/nova-compute.log shows that

2016-01-08 01:16:04.975 7793 ERROR nova.virt.driver [-] Unable to load the virtualization driver

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver Traceback (most recent call last):

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/virt/driver.py", line 1402, in load_compute_driver

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver virtapi)

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/openstack/common/importutils.py", line 52, in import_object_ns

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver return import_class(import_str)(args, *kwargs)

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/openstack/common/importutils.py", line 27, in import_class

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver __import__(mod_str)

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver File "/usr/lib/python2.7/site-packages/novadocker/virt/docker/__init__.py", line 20, in <module>

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver from novadocker.virt.docker import driver

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver File "/usr/lib/python2.7/site-packages/novadocker/virt/docker/driver.py", line 30, in <module>

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver from oslo_log import log

2016-01-08 01:16:04.975 7793 TRACE nova.virt.driver ImportError: No module named oslo_log

My OpenStack version is Juno, with CentOS7 and latest Docker.

I don't know how to solve this, anyone might help me?

Thank you