libvirt 1.1.1 wasn't compiled with LXC support

Bug #1302724 reported by Omri Bahumi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

Chuck Short (zulcss)
affects: nova (Ubuntu) → libvirt (Ubuntu)
Revision history for this message
Robie Basak (racb) wrote :

I believe this to be a duplicate of bug 1287232.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.