So Adam was giving me access to some Rackspace guests. I found that in those a 
xenfs was mounted to /proc/xen. This was done by the init script of 
xe-guest-utilities. I suspect this is something that works together with a 
XenServer host. There was also a nova-agent running which I could not find a 
package for. This was attached to /proc/xen/xenbus.
I can get libvirtd to run when I shut down all nova-agents, stop the xe 
utilities and unmoutn /proc/xen. So the problem is that having /proc/xen 
running, the initial checks of the libxl driver in libvirt are mislead to think 
the guest is a dom0. This would just abort loading the driver. But failing to 
read the capabilities returns an error from the driver load which seems fatal.
Maybe the solution will be as simple as either treating this as a soft failure, 
too or have a better check for that situation.

At least this gives a good lead to reproduce tomorrow and see whether
newer versions of libvirt already handle that case. And if not, discuss
and create a fix for upstream which we can pick into our releases.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1248025

Title:
  libvirt-bin fails to start inside Xen

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1248025/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to