<div dir="ltr">Hi everyone~!<div><br></div><div>I've been trying to deploy docker hypervisor environments.</div><div><br></div><div>However, the nova-compute didn't start because of below reason.</div><div><br></div>
<div>[nova-compute LOG]</div><div><div style="font-family:arial,sans-serif;font-size:14px">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</div>
<div style="font-family:arial,sans-serif;font-size:14px">2014-08-07 00:27:38.995 11777 INFO nova.virt.driver [-] Loading compute driver 'novadocker.virt.docker.driver.DockerDriver'</div><div style="font-family:arial,sans-serif;font-size:14px">
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup Traceback (most recent call last):</div><div style="font-family:arial,sans-serif;font-size:14px">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</div>
<div style="font-family:arial,sans-serif;font-size:14px">2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup x.wait()</div><div style="font-family:arial,sans-serif;font-size:14px">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</div>
<div style="font-family:arial,sans-serif;font-size:14px">2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup return self.thread.wait()</div><div style="font-family:arial,sans-serif;font-size:14px">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</div>
<div style="font-family:arial,sans-serif;font-size:14px">2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup return self._exit_event.wait()</div><div style="font-family:arial,sans-serif;font-size:14px">
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</div><div style="font-family:arial,sans-serif;font-size:14px">
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup return hubs.get_hub().switch()</div><div style="font-family:arial,sans-serif;font-size:14px">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</div>
<div style="font-family:arial,sans-serif;font-size:14px">2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup return self.greenlet.switch()</div><div style="font-family:arial,sans-serif;font-size:14px">
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</div><div style="font-family:arial,sans-serif;font-size:14px">
2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup result = function(*args, **kwargs)</div><div style="font-family:arial,sans-serif;font-size:14px">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<br>
<div>2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup service.start()</div><div>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</div>
<div>2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup self.manager.init_host()</div><div>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</div>
<div>2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup self.driver.init_host(host=self.host)</div><div>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</div>
<div>2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup _('Docker daemon is not running or is not reachable'</div><div>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)</div>
<div>2014-08-07 00:27:39.081 11777 TRACE nova.openstack.common.threadgroup</div><div><br></div><div><br></div><div>I also let nova user belong to docker group and gave authorization into docke.sock.</div><div><br></div><div>
in /etc/group file</div><div><br></div><div><div>nova:x:115:</div><div>cinder:x:116:</div><div>docker:x:117:nova</div></div><div><br></div><div>and..</div><div><br></div><div><div>root@compute1:/etc/nova/rootwrap.d# ll /var/run/docker*</div>
<div>-rwxrwxrwx 1 nova root 5 Aug 7 00:11 /var/run/docker.pid*</div><div>srwxrwxrwx 1 nova docker 0 Aug 7 00:11 /var/run/docker.sock=</div></div><div><br></div><div>But the same message occurs..</div><div><br></div><div>
Could you anybody tell me how to solve the issue?</div><div><br></div><div><br></div><div><br></div></div></div></div>