fix: os_vif_ovs should not be in the middle of libvirt section

Section

[os_vif_ovs]
isolate_vif = True

was placed in the middle of the [libvirt] section, causing
all migration settings to be placed in os_vif_ovs instead of libvirt.

Change-Id: Ief7eb74343f69912fa8a41a200edf22596adfea3
This commit is contained in:
George Shuklin 2022-11-30 15:12:08 +02:00 committed by Dmitriy Rabotyagov
parent 43f9881a0b
commit fc87fa7b32
1 changed files with 6 additions and 5 deletions

View File

@ -244,6 +244,12 @@ insecure = {{ keystone_service_adminuri_insecure | bool }}
{% endif %}
{% if nova_virt_type in ['kvm', 'qemu', 'xen', 'lxc', 'uml', 'parallels'] %}
{% if (neutron_plugin_type | default('') == "ml2.ovs") %}
[os_vif_ovs]
isolate_vif = True
{% endif %}
[libvirt]
inject_partition = {{ nova_libvirt_inject_partition }}
inject_password = {{ nova_libvirt_inject_password }}
@ -253,11 +259,6 @@ virt_type = {{ nova_virt_type }}
cpu_mode = {{ nova_cpu_mode }}
{% endif %}
{% if (neutron_plugin_type == "ml2.ovs") | default(False) %}
[os_vif_ovs]
isolate_vif = True
{% endif %}
{% if nova_rbd_inuse %}
# ceph rbd support
rbd_user = {{ nova_ceph_client }}