Bug 2075731 - [OSP16.2] nova.pci.utils logs "WARNING No net device was found for VF" whenever a vf is bound to vfio-pci driver
Summary: [OSP16.2] nova.pci.utils logs "WARNING No net device was found for VF" whene...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 16.2 (Train on RHEL 8.4)
Assignee: melanie witt
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks: 1948647
TreeView+ depends on / blocked
 
Reported: 2022-04-15 02:39 UTC by melanie witt
Modified: 2023-03-21 19:52 UTC (History)
11 users (show)

Fixed In Version: openstack-nova-20.6.2-2.20220509174846.a5da31e.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1948647
Environment:
Last Closed: 2022-12-07 19:22:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-14711 0 None None None 2022-04-15 02:48:01 UTC
Red Hat Product Errata RHBA-2022:8794 0 None None None 2022-12-07 19:23:02 UTC

Description melanie witt 2022-04-15 02:39:27 UTC
+++ This bug was initially created as a clone of Bug #1948647 +++

Description of problem:
Whenever nova binds an instance to a VF, as in an SR-IOV deployment, then you get this message in nova-compute.log:

2021-04-07 15:13:21.762 6 WARNING nova.pci.utils [req-29028659-fc7a-414b-8e57-31c23e894c22 - - - - -] No net device was found for VF 0000:3b:02.1: nova.exception.PciDeviceNotFoundById: PCI device 0000:3b:02.1 not found

Version-Release number of selected component (if applicable):
16.x

How reproducible:
100%

See the launchpad bug: https://bugs.launchpad.net/nova/+bug/1808738

This WARNING message is a source of confusion for customers and support. Some are presuming that this message explains other issues they are experiencing.  See support case 02821308, 02465751, 02183767, 02518517

Can we change the log level of that message to DEBUG?

--- Additional comment from melanie witt on 2021-04-14 17:12:39 UTC ---

We discussed this bug on the triage call today and agreed to change the location of this message from the periodic task to init_host so that it's only emitted once at startup. We'll also add more text to the message to explain what an operator should check and under what circumstance they should check it.

And depending on feedback during code review, we might change the log level of the message to INFO -- we will start with keeping it at WARNING with the additional text so operators know when to be concerned about it, but if review consensus is that WARNING level would cause unnecessary alarm, we might go with INFO. We think we don't want to use DEBUG because it would most likely be completely hidden in a production deployment and operators would miss the warning about a potential problem in the deployment.

Comment 12 errata-xmlrpc 2022-12-07 19:22:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 16.2.4), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8794


Note You need to log in before you can comment on or make changes to this bug.