Merge "Configure Nova libvirt.num_pcie_ports to 16 by default"

This commit is contained in:
Zuul 2023-09-18 10:08:24 +00:00 committed by Gerrit Code Review
commit ff9d69d247
2 changed files with 11 additions and 0 deletions
ansible/roles/nova-cell/templates/nova.conf.d
releasenotes/notes

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

@ -0,0 +1,10 @@
---
upgrade:
- |
Configure Nova libvirt.num_pcie_ports to 16 by default. Nova currently
sets 'num_pcie_ports' to "0" (defaults to libvirt's "1"), which is
not sufficient for hotplug use with 'q35' machine type.
fixes:
- |
Fixes an issue where 'q35' libvirt machine type VM could not hotplug
more than one PCIe device at a time.