[Bug 907152] Re: Error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory
Paul Belanger
907152 at bugs.launchpad.net
Wed Mar 7 19:00:05 UTC 2012
v2: Based on SpamapS comments from #ubuntu-server
** Patch added: "nova_2012.1~e4.v2.diff"
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/907152/+attachment/2830587/+files/nova_2012.1%7Ee4.v2.diff
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/907152
Title:
Error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd
may need to be started: No such file or directory
Status in “nova” package in Ubuntu:
Triaged
Bug description:
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:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/907152/+subscriptions
More information about the Ubuntu-sponsors
mailing list