[Bug 907152] [NEW] Error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory

Launchpad Bug Tracker 907152 at bugs.launchpad.net
Wed Mar 7 18:14:57 UTC 2012


You have been subscribed to a public bug by Paul Belanger (pabelanger):

It looks like there is a race condition between nova-compute-kvm and
libvirt. We should move the init script into nova-compute-kvm and add a
dependency on libvirt.  I'll see about updating the package to handle
this

---

2011-12-20 21:56:47,255 CRITICAL nova [-] unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE:   File "/usr/bin/nova-compute", line 49, in <module>
(nova): TRACE:     service.wait()
(nova): TRACE:   File "/usr/lib/pymodules/python2.6/nova/service.py", line 357, in wait
(nova): TRACE:     _launcher.wait()
(nova): TRACE:   File "/usr/lib/pymodules/python2.6/nova/service.py", line 107, in wait
(nova): TRACE:     service.wait()
(nova): TRACE:   File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 166, in wait
(nova): TRACE:     return self._exit_event.wait()
(nova): TRACE:   File "/usr/lib/pymodules/python2.6/eventlet/event.py", line 116, in wait
(nova): TRACE:     return hubs.get_hub().switch()
(nova): TRACE:   File "/usr/lib/pymodules/python2.6/eventlet/hubs/hub.py", line 177, in switch
(nova): TRACE:     return self.greenlet.switch()
(nova): TRACE:   File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 192, in main
(nova): TRACE:     result = function(*args, **kwargs)
(nova): TRACE:   File "/usr/lib/pymodules/python2.6/nova/service.py", line 77, in run_server
(nova): TRACE:     server.start()
(nova): TRACE:   File "/usr/lib/pymodules/python2.6/nova/service.py", line 149, in start
(nova): TRACE:     self.manager.update_available_resource(ctxt)
(nova): TRACE:   File "/usr/lib/pymodules/python2.6/nova/exception.py", line 129, in wrapped
(nova): TRACE:     raise Error(str(e))
(nova): TRACE: Error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory
(nova): TRACE:

** Affects: nova (Ubuntu)
     Importance: Medium
         Status: Triaged


** Tags: patch
-- 
Error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory
https://bugs.launchpad.net/bugs/907152
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list