Bug 2221021 - Nmstate is not waiting long for SR-IOV VF to show up when changing ethtool settings
Summary: Nmstate is not waiting long for SR-IOV VF to show up when changing ethtool se...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: nmstate
Version: 9.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 9.2
Assignee: Gris Ge
QA Contact: Mingyu Shi
URL:
Whiteboard:
Depends On:
Blocks: 2221050
TreeView+ depends on / blocked
 
Reported: 2023-07-07 04:53 UTC by Gris Ge
Modified: 2023-07-26 05:52 UTC (History)
6 users (show)

Fixed In Version: nmstate-2.2.13-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2221050 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github nmstate nmstate pull 2381 0 None open sriov: Use SR-IOV specific retry for VF parameter changes 2023-07-07 04:55:22 UTC
Red Hat Issue Tracker NMT-656 0 None None None 2023-07-07 04:53:43 UTC
Red Hat Issue Tracker RHELPLAN-161719 0 None None None 2023-07-07 04:53:47 UTC

Description Gris Ge 2023-07-07 04:53:00 UTC
Description of problem:

When applying ethtool settings for a SR-IOV enabled NIC, nmstate is not waiting long
enough for VF to show up

Version-Release number of selected component (if applicable):
nmstate-2.2.12-2.el9

How reproducible:
100%

Steps to Reproduce:
1. Enable SRIOV on a NIC with 10+ VFs
2. Get the current ethtool setting and apply it via nmstate
3.

Actual results:

Verification error indicating VF of SR-IOV not shows up.

Expected results:

No failure.

Additional info:

Comment 1 Gris Ge 2023-07-07 04:55:22 UTC
Requesting RHEL 9.2 zstream per ksundara from openstack.

The scratch build has been tested in the same environment which reproduced the problem.
A 100 retry passed without failure.

patch sent to upstream: https://github.com/nmstate/nmstate/pull/2381


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