Comment 6 for bug 1633120

Revision history for this message
Matt Riedemann (mriedem) wrote : Re: Nova scheduler tries to assign an already-in-use SRIOV QAT VF to a new instance

Yup the reporter of duplicate bug 1809040 reported seeing that warning:

https://paste.ubuntu.com/p/GVJQqMSTrM/

2018-12-18 20:32:45.051 4961 WARNING nova.pci.manager [req-88cfd6bc-a25e-498b-972b-b9fa539a8e82 - - - - -] Trying to remove device with allocated ownership 9a1800dd-ab4d-4075-a999-dbc67cfc41e4 because of PCI device 23:0000:85:00.1 is allocated instead of ['available']: PciDeviceInvalidStatus: PCI device 23:0000:85:00.1 is allocated instead of ['available']

which aligns with a deleted allocated pci device record:

https://paste.ubuntu.com/p/Pn76QVmwqr/

So we should probably just change https://github.com/openstack/nova/blob/master/nova/pci/manager.py#L177 to a continue statement.