diff --git a/ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2 b/ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2 index 69d8f9363bd5c644b39895fcc914cf6c52578aa4..3f599c051a402a6e2e5ea65dcb40abe40fdeb162 100644 --- a/ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2 +++ b/ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2 @@ -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 diff --git a/releasenotes/notes/skip-cpu-compare-on-dest-927004854f41bc32.yaml b/releasenotes/notes/skip-cpu-compare-on-dest-927004854f41bc32.yaml new file mode 100644 index 0000000000000000000000000000000000000000..10dd8980f8b0f0eac136bad8427d92f33fc840c4 --- /dev/null +++ b/releasenotes/notes/skip-cpu-compare-on-dest-927004854f41bc32.yaml @@ -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.