[openstack-dev] Fwd: [nova] live migration in Mitaka
Daniel P. Berrange
berrange at redhat.com
Mon Oct 5 08:25:26 UTC 2015
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 :|
More information about the OpenStack-dev
mailing list