Enable nova libvirt driver skip_cpu_compare_on_dest workaround

With the libvirt driver, during live migration,skip comparing guest CPU
with the destination host. When using QEMU >= 2.9 and libvirt >= 4.4.0,
libvirt will do the correct thing with respect to checking CPU
compatibility on the destination host during live migration.[1]

[1] 267a40663c

Change-Id: I947c94b59368c7a2740583bf57e407296473d75e
This commit is contained in:
Bartosz Bezak 2023-07-10 12:25:59 +02:00
parent 49d891e85f
commit bcf002509d
2 changed files with 11 additions and 0 deletions

View File

@ -27,3 +27,5 @@ cpu_mode = {{ nova_libvirt_cpu_mode }}
{% if enable_multipathd | bool %}
volume_use_multipath = True
{% endif %}
[workarounds]
skip_cpu_compare_on_dest = True

View File

@ -0,0 +1,9 @@
---
upgrade:
- |
Changes default value of nova libvirt driver setting
``skip_cpu_compare_on_dest`` to true. With the libvirt driver, during
live migration, skip comparing guest CPU with the destination host.
When using QEMU >= 2.9 and libvirt >= 4.4.0, libvirt will do the correct
thing with respect to checking CPU compatibility on the destination host
during live migration.