[openstack-dev] Fwd: [nova] live migration in Mitaka
Mathieu Gagné
mgagne at internap.com
Fri Oct 2 20:38:30 UTC 2015
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. :-/
--
Mathieu
More information about the OpenStack-dev
mailing list