nova/releasenotes/notes/fix-pci-passthrough-for-cavium-thunderx-8fbd1c40718569e2.yaml
Sean Mooney a569a51fed fix sr-iov support on Cavium ThunderX hosts.
This change is a partial revert of
Ibf8dca4bd57b3bddb39955b53cc03564506f5754
to reintoduce a try-except which is required for
some non standard hardware.

On the Cavium ThunderX platform, it's possible to have
virutal functions which are netdevs which are not associated
to a PF. This causes the PF name lookup to fail.
Prior to Ibf8dca4bd57b3bddb39955b53cc03564506f5754
when the lookup failed it was caught and we skipped
populating the parent PF interface name.

This change restores that behavior.

Closes-Bug: #1915255
Change-Id: Ia10ccdd9fbed3870d0592e3cbbff17f292651dd2
2021-06-28 12:48:26 +00:00

13 lines
644 B
YAML

---
fixes:
- |
On some hardware platforms, an SR-IOV virtual function for a NIC port may
exist without being associated with a parent physical function that has
an assocatied netdev. In such a case the the PF interface name lookup
will fail. As the ``PciDeviceNotFoundById`` exception was not handled
this would prevent the nova compute agent from starting on affected
hardware. See: https://bugs.launchpad.net/nova/+bug/1915255 for more
details. This edgecase has now been addressed, however, features
that depend on the PF name such as minimum bandwidth based QoS cannot
be supported on these platforms.