+++ This bug was initially created as a clone of Bug #2070050 +++ Description of problem: On a VMI object that has a list of multiple SR-IOV NICs, the pciAddress and bootOrder parameters of the last item in the list - are applied to all other elements of the list. The VMI object passes the validation in the virt-api webhooks. The virt-launcher fails because there are allegedly several host devices (the SR-IOV NICs) with the same required guest PCI addresses: "message: 'server error. command SyncVMI failed: "LibvirtError(Code=27, Domain=20, Message=''XML error: Attempted double use of PCI Address 0000:82:00.0'')"'" Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a VMI object with at least two SR-IOV NICs, that has custom guest PCI address. 2. Apply the VMI manifest. Actual results: The virt-launcher fails because there are allegedly several host devices (the SR-IOV NICs) with the same required guest PCI addresses. Expected results: A VM should start with the number of specified SR-IOV NICs that have the required PCI addresses. Additional info:
We should have a fix backported once https://github.com/kubevirt/kubevirt/pull/7482#issuecomment-1091307737 gets addressed
The bug was introduced only in release-0.45. Since 4.9 is based on release-0.44, this BZ can be closed