Comment 7 for bug 1915255

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.opendev.org/c/openstack/nova/+/777679
Committed: https://opendev.org/openstack/nova/commit/a569a51fedd058fdae2eb0066e087c37688987f8
Submitter: "Zuul (22348)"
Branch: master

commit a569a51fedd058fdae2eb0066e087c37688987f8
Author: Sean Mooney <email address hidden>
Date: Fri May 21 14:45:45 2021 +0100

    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