Test SRIOV port move operations with PCI conflicts
This patch tests cold migration, unshelve and evacuate in a situation
where the existing port binding's pci_slot would cause a conflict on
the destination compute node. While cold migration and evacuation
work correctly, in the unshelve case the pci_slot is not updated,
resulting in two instances attempting to consume the same PCI device.
This "passed" in the functional tests, but with a real libvirt this
would obviously explode.
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /790710 /opendev. org/openstack/ nova/commit/ 3625d5336a220ea d291335eeb06bc1 be7e32a21a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 3625d5336a220ea d291335eeb06bc1 be7e32a21a
Author: Artom Lifshitz <email address hidden>
Date: Thu Mar 25 15:21:59 2021 -0400
Test SRIOV port move operations with PCI conflicts
This patch tests cold migration, unshelve and evacuate in a situation
where the existing port binding's pci_slot would cause a conflict on
the destination compute node. While cold migration and evacuation
work correctly, in the unshelve case the pci_slot is not updated,
resulting in two instances attempting to consume the same PCI device.
This "passed" in the functional tests, but with a real libvirt this
would obviously explode.
Related: bug 1851545
Change-Id: Ib81532dc1e6dd8 5822e38eb1785ff b7162d2a84d 51fd17a41cc93ab 4a519f8bfe)
(cherry picked from commit bea06123dbba828