[openstack-dev] [kolla][nova][infra] Voting gates
Kashyap Chamarthy
kchamart at redhat.com
Fri Jul 15 10:30:39 UTC 2016
On Thu, Jul 14, 2016 at 03:19:39PM -0500, Matt Riedemann wrote:
> On 7/14/2016 11:34 AM, Paul Bourke wrote:
> > Hi Matt,
> >
> > Here is the failure from nova_compute on trying to start an instance:
[...]
> > 2016-07-13 18:04:12.634968 | 2016-07-13 18:01:34.560 1 ERROR
> > oslo_service.service migration_flags &=
> > ~libvirt.VIR_MIGRATE_AUTO_CONVERGE
> > 2016-07-13 18:04:12.635022 | 2016-07-13 18:01:34.560 1 ERROR
> > oslo_service.service AttributeError: 'module' object has no attribute
> > 'VIR_MIGRATE_AUTO_CONVERGE'
> >
> > The full log can be viewed at
> > http://logs.openstack.org/76/339776/7/check/gate-kolla-dsvm-deploy-ubuntu-source/0849a74/console.html#_2016-07-13_18_04_12_526704
[...]
> > > What version of libvirt/qemu do you have in the image/job you're running?
> > >
> > > See:
> > >
> > > https://github.com/openstack/nova/blob/92a388a1e34559b2ce69d31fdef996ff029495a6/nova/virt/libvirt/driver.py#L278
> > >
> > > If you have libvirt>=1.2.3 and qemu>=1.6.0 then it's going to try and
> > > get these values from libvirt:
> > >
> > > https://github.com/openstack/nova/blob/92a388a1e34559b2ce69d31fdef996ff029495a6/nova/virt/libvirt/driver.py#L633
Looking at the versions noted by Paul[1] in the upthread, they've
satisfied the above requirements.
> > >
> > > Could be something patched out of the versions you're using from the
> > > distro maybe?
Yeah, I too wonder this could be it, because, see [*]
> > >
> > > The actual failure paste/trace would help.
> > >
[...]
> Looks like you have the minimum versions of libvirt and qemu required for
> VIR_MIGRATE_AUTO_CONVERGE but for whatever reason it's not actually in
> libvirt in the image you're testing against.
>
> I'm not sure it would matter, but what version of libvirt-python is being
> used?
[*]
--------
I extracted the contents of the said python-libvirt .deb from here:
$ wget https://launchpad.net/~ubuntu-cloud-archive/+archive/ubuntu/mitaka-staging/+files/python-libvirt_1.3.1-1ubuntu1~cloud0_amd64.deb
$ ar vx python-libvirt_1.3.1-1ubuntu1~cloud0_amd64.deb
$ tar -xvf data.tar.xz
And you do see VIR_MIGRATE_AUTO_CONVERGE attribute as part of
virDomainMigrateFlags():
$ cd usr/
$ grep -r VIR_MIGRATE_AUTO_CONVERGE
lib/python2.7/dist-packages/libvirt.py:VIR_MIGRATE_AUTO_CONVERGE = 8192
--------
So, the said attribute is certainly present in the python-libvirt version
they're using.
> I'd probably ping danpb or kashyap about this in #openstack-nova in IRC.
--
/kashyap
More information about the OpenStack-dev
mailing list