[openstack-dev] Fwd: [nova] live migration in Mitaka

Pavel Boldin pboldin at mirantis.com
Mon Oct 5 10:10:45 UTC 2015


Daniel,

It is done already in the proposed patch.

But this one is about Wily having libvirt 1.2.16 and libvirt-python 1.2.15.

Pavel

On Mon, Oct 5, 2015 at 11:25 AM, Daniel P. Berrange <berrange at redhat.com>
wrote:

> On Fri, Oct 02, 2015 at 04:38:30PM -0400, Mathieu Gagné wrote:
> > On 2015-10-02 4:18 PM, Pavel Boldin wrote:
> > >
> > >     You have to pass device names from /dev/, e.g., if a VM has
> > >     ephemeral disk
> > >     attached at /dev/vdb you need to pass in 'vdb'. Format expected by
> > >     migrate_disks is "<device_name1>,<device_name2>...".
> > >
> > >
> > > This is the format expected by the `virsh' utility and will not work in
> > > Python.
> > >
> > > The libvirt-python has now support for passing lists to a parameter
> [1].
> > >
> > > [1]
> > >
> http://libvirt.org/git/?p=libvirt-python.git;a=commit;h=9896626b8277e2ffba1523d2111c96b08fb799e8
> > >
> >
> > Thanks for the info. I was banging my head against the wall, trying to
> > understand why it didn't accept my list of strings.
> >
> > Now the next challenge is with Ubuntu packages, only python-libvirt
> > 1.2.15 is available in Ubuntu Willy. :-/
>
> You already need a runtime version check for libvirt to see if the new
> migration API is available. You just need to extend that to also check
> the libvirt client version
>
>
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/
> :|
> |: http://libvirt.org              -o-             http://virt-manager.org
> :|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/
> :|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc
> :|
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151005/2d73531b/attachment.html>


More information about the OpenStack-dev mailing list