Skip to content
Snippets Groups Projects
Commit bcf00250 authored by Bartosz Bezak's avatar Bartosz Bezak
Browse files

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] https://opendev.org/openstack/nova/commit/267a40663cd8d0b94bbc5ebda4ece55a45753b64

Change-Id: I947c94b59368c7a2740583bf57e407296473d75e
parent 49d891e8
No related branches found
No related tags found
No related merge requests found
...@@ -27,3 +27,5 @@ cpu_mode = {{ nova_libvirt_cpu_mode }} ...@@ -27,3 +27,5 @@ cpu_mode = {{ nova_libvirt_cpu_mode }}
{% if enable_multipathd | bool %} {% if enable_multipathd | bool %}
volume_use_multipath = True volume_use_multipath = True
{% endif %} {% endif %}
[workarounds]
skip_cpu_compare_on_dest = True
---
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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment