nova/releasenotes/notes/libvirt-live-migration-flags-mangling-a2407a31ddf17427.yaml
Mark McLoughlin 3fd24ba528 libvirt: force config related migration flags
The Nova libvirt driver relies on libvirt deleting the configuration
from the source host at the end of the migration, otherwise the
VM remains on the source host in a "shut off" state ... except in
the case of block migration, where the cleanup code path does actually
delete the VM's libvirt config.

If the Nova code assume's that VIR_MIGRATE_UNDEFINE_SOURCE is set,
there's really no sense in allowing users to configure without it.

Similarly, the driver explicitly saves the VM configuration on the
destination host, so it makes no sense to allow users to configure
the VIR_MIGRATE_PERSIST_DEST flag.

Change-Id: Ibeb35590fd83f2190c9c9cb16128e9e2628b38cd
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
2016-01-14 17:24:27 +01:00

13 lines
525 B
YAML

---
upgrade:
- The libvirt driver will now correct unsafe and invalid
values for the live_migration_flag and block_migration_flag
configuration options. The live_migration_flag must not
contain VIR_MIGRATE_SHARED_INC but block_migration_flag
must contain it. Both options must contain the
VIR_MIGRATE_PEER2PEER, except when using the 'xen' virt
type this flag is not supported. Both flags must contain
the VIR_MIGRATE_UNDEFINE_SOURCE flag and not contain the
VIR_MIGRATE_PERSIST_DEST flag.