Upgrade from X/O -> B/Q breaks pci_devices in mysql for SR-IOV
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned | ||
OpenStack Nova Compute Charm |
Expired
|
Undecided
|
Unassigned |
Bug Description
After upgrade from xenial/ocata to bionic/queens SR-IOV instance creation (--vnic-type direct) fails with missing devices:
The pci_devices mysql table if filled with wrong PCI entries, that do not exist on the server. Restarting nova-compute and nova-cloud-
Related errors:
2020-06-17 12:55:19.556 1182599 WARNING nova.pci.utils [req-76b21329-
2020-06-17 12:55:19.603 1182599 WARNING nova.pci.utils [req-76b21329-
2020-06-17 12:55:19.711 1182599 WARNING nova.pci.utils [req-76b21329-
Error instance creation:
{u'message': u'Device 0000:d8:04.4 not found: could not access /sys/bus/
ges/nova/
nRescheduledExc
summary: |
- Upgrade from X/O -> B/Q brakes pci_devices in mysql for SR-IOV + Upgrade from X/O -> B/Q breaks pci_devices in mysql for SR-IOV |
tags: | added: pci resource-tracker upgrade |
Changed in nova: | |
status: | New → Incomplete |
"The pci_devices mysql table if filled with wrong PCI entries, that do not exist on the server."
Are those devices existed before the upgrade?