RDO live migration/block migration

Pre-requisisities:

Install CentOS Virt SIG repository centos-release-qemu-ev for qemu-kvm which supports live migration

https://bugs.centos.org/view.php?id=8281

yum install centos-release-qemu-ev
yum update / yum install qemu-kvm

Getting below error when doing ‘nova live-migration –block-migrate <instance-name> <dest host>

 2016-08-30 17:38:35.743 8360 ERROR nova.virt.libvirt.driver [req-9d7fb54d-2ca8-4916-bad0-2c0bc0426466 7593168451e44af68a6c230a3c1dc2d2 f69c4933fd7a4df4988035e6ec4a386b - - -] [instance: b7348e7d-283e-425a-88f4-804ce8ade214] Live Migration failure: Operation not supported: Selecting disks to migrate is not implemented for tunnelled migration

Fix nova.conf (remove VIR_MIGRATE_TUNNELLED from block_migration_flag):

live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_TUNNELLED
block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE, VIR_MIGRATE_NON_SHARED_INC

Saner values for timeouts:

live_migration_downtime_delay=700
live_migration_progress_timeout=7200

Openstack Mitaka / CentOS 7.2.1511
https://www.redhat.com/archives/libvir-list/2015-November/msg00676.html

Leave a Reply

Your email address will not be published. Required fields are marked *