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

James Page james.page at ubuntu.com
Fri Mar 16 10:36:25 UTC 2012


Hi Paul

Thanks for you work on this bug.

I understand what this bug is trying to resolve but the proposed patch
to the upstart configuration will break the nova-compute-xcp package
which provides nova-compute-hypervisor but does not depend on libvirt-
bin.

In this type of deployment a nova-compute node will never start...

Un-subscribing ubuntu-sponsors for the time being.

Please re-subscribe this team when you feel that you have a suitable
patch - or even better propose a merge against lp:~ubuntu-server-
dev/nova/essex!

Thanks

James

-- 
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