Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Cannot create SR-IOV VF on RHEL 9.1.
When a VF is created(by the other method), the "sr-iov" key gets lost from `nmstatectl show`
The NIC driver doesn't matter according to my test.
It works well using nmstatectl-rust on RHEL 9.0.
Version-Release number of selected component (if applicable):
nmstate-2.1.1-0.alpha.20220519.437e4a9.el9.x86_64
NetworkManager-1.39.5-1.el9.x86_64
Linux dell-per740-79.rhts.eng.pek2.redhat.com 5.14.0-96.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 19 07:21:30 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
DISTRO=RHEL-9.1.0-20220524.0
How reproducible:
100%
Steps to Reproduce:
cat << EOF > i40e0.yaml
interfaces:
- name: ens1f0
type: ethernet
state: up
ethernet:
sr-iov:
total-vfs: 1
EOF
nmstatectl apply i40e0.yaml
Actual results:
[2022-05-26T09:07:22Z WARN nmstate::net_state] nm_checkpoint_rollback() failed: Bug: DbusConnectionError: org.freedesktop.NetworkManager.InvalidArguments: checkpoint /org/freedesktop/NetworkManager/Checkpoint/10 does not exist dbus: Some(MethodError("org.freedesktop.NetworkManager.InvalidArguments", Some("checkpoint /org/freedesktop/NetworkManager/Checkpoint/10 does not exist"), Msg { type: Error, sender: ":1.239", reply-serial: 2, body: Signature: [
s (115),
] }))
NmstateError: VerificationError: Verification failure: ens1f0.interface.ethernet.sr-iov.total-vfs desire '1', current '0'
Expected results:
No failure
Additional info:
When there is no vf, the "ethernet" subtree of `nmstatectl show` looks like:
ethernet:
sr-iov:
total-vfs: 0
vfs: []
auto-negotiation: false
speed: 10000
duplex: full
after a vf is created, the "sr-iov" key gets lost:
[17:13:34@dell-per740-79 ~]1# echo 1 >/sys/class/net/ens1f1/device/sriov_numvfs
[17:13:41@dell-per740-79 ~]0# nmstatectl show ens1f1
ethernet:
auto-negotiation: false
speed: 10000
duplex: full
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 (nispor bug fix and enhancement update), 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:8170
Description of problem: Cannot create SR-IOV VF on RHEL 9.1. When a VF is created(by the other method), the "sr-iov" key gets lost from `nmstatectl show` The NIC driver doesn't matter according to my test. It works well using nmstatectl-rust on RHEL 9.0. Version-Release number of selected component (if applicable): nmstate-2.1.1-0.alpha.20220519.437e4a9.el9.x86_64 NetworkManager-1.39.5-1.el9.x86_64 Linux dell-per740-79.rhts.eng.pek2.redhat.com 5.14.0-96.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 19 07:21:30 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux DISTRO=RHEL-9.1.0-20220524.0 How reproducible: 100% Steps to Reproduce: cat << EOF > i40e0.yaml interfaces: - name: ens1f0 type: ethernet state: up ethernet: sr-iov: total-vfs: 1 EOF nmstatectl apply i40e0.yaml Actual results: [2022-05-26T09:07:22Z WARN nmstate::net_state] nm_checkpoint_rollback() failed: Bug: DbusConnectionError: org.freedesktop.NetworkManager.InvalidArguments: checkpoint /org/freedesktop/NetworkManager/Checkpoint/10 does not exist dbus: Some(MethodError("org.freedesktop.NetworkManager.InvalidArguments", Some("checkpoint /org/freedesktop/NetworkManager/Checkpoint/10 does not exist"), Msg { type: Error, sender: ":1.239", reply-serial: 2, body: Signature: [ s (115), ] })) NmstateError: VerificationError: Verification failure: ens1f0.interface.ethernet.sr-iov.total-vfs desire '1', current '0' Expected results: No failure Additional info: When there is no vf, the "ethernet" subtree of `nmstatectl show` looks like: ethernet: sr-iov: total-vfs: 0 vfs: [] auto-negotiation: false speed: 10000 duplex: full after a vf is created, the "sr-iov" key gets lost: [17:13:34@dell-per740-79 ~]1# echo 1 >/sys/class/net/ens1f1/device/sriov_numvfs [17:13:41@dell-per740-79 ~]0# nmstatectl show ens1f1 ethernet: auto-negotiation: false speed: 10000 duplex: full