[Openstack] [Docker] nova-compute failed to start with docker hypervisor.
한승진
yongiman at gmail.com
Thu Aug 7 04:20:14 UTC 2014
Hi everyone~!
I've been trying to deploy docker hypervisor environments.
However, the nova-compute didn't start because of below reason.
[nova-compute LOG]
2014-08-07 00:27:38.946 11777 INFO nova.openstack.common.periodic_task [-]
Skipping periodic task _periodic_update_dns because its interval is negative
2014-08-07 00:27:38.995 11777 INFO nova.virt.driver [-] Loading compute
driver 'novadocker.virt.docker.driver.DockerDriver'
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
Traceback (most recent call last):
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py",
line 117, in wait
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
x.wait()
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py",
line 49, in wait
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
return self.thread.wait()
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168,
in wait
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
return self._exit_event.wait()
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
return hubs.get_hub().switch()
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in
switch
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
return self.greenlet.switch()
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194,
in main
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
result = function(*args, **kwargs)
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/nova/openstack/common/service.py",
line 480, in run_service
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
service.start()
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/nova/service.py", line 163, in start
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
self.manager.init_host()
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1012,
in init_host
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
self.driver.init_host(host=self.host)
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
File
"/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py",
line 82, in init_host
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
_('Docker daemon is not running or is not reachable'
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
NovaException: Docker daemon is not running or is not reachable (check the
rights on /var/run/docker.sock)
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup
I also let nova user belong to docker group and gave authorization into
docke.sock.
in /etc/group file
nova:x:115:
cinder:x:116:
docker:x:117:nova
and..
root at compute1:/etc/nova/rootwrap.d# ll /var/run/docker*
-rwxrwxrwx 1 nova root 5 Aug 7 00:11 /var/run/docker.pid*
srwxrwxrwx 1 nova docker 0 Aug 7 00:11 /var/run/docker.sock=
But the same message occurs..
Could you anybody tell me how to solve the issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140807/1e71340c/attachment.html>
More information about the Openstack
mailing list