Public bug reported:

Apparently, libvirt 1.1.1 wasn't compiled with libvirt-lxc support.
I'm installing libvirt-bin and libvirt-dev from precise-updates/havana, and 
libvirt-python 1.2.3 from PIP.

The build fails because it can't link against the "virt-lxc" library, as you 
can see here:
https://travis-ci.org/omribahumi/libvirt_metadata_api/builds/22286825#L321

Inspecting libvirt-python-1.2.3 pip package reveals that it assumes
libvirt-lxc support was compiled in if libvirt version is >= 1.0.2:

MIN_LIBVIRT_LXC = "1.0.2"
# ...
def have_libvirt_lxc():
    try:
        spawn([get_pkgcfg(),
               "--atleast-version=%s" % MIN_LIBVIRT_LXC,
             "libvirt"])
        return True
    except DistutilsExecError:
        return False

The question is, is this a libvirt-python bug or a nova-compute libvirt-
dev package bug?

Thank you,
Omri.

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1302724

Title:
  libvirt 1.1.1 wasn't compiled with LXC support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1302724/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to