Bug 1852445

Summary: [NMCI] config file specifying VFs number does not work when connection is up
Product: Red Hat Enterprise Linux 8 Reporter: Vladimir Benes <vbenes>
Component: NetworkManagerAssignee: Fernando F. Mancera <ferferna>
Status: CLOSED ERRATA QA Contact: Vladimir Benes <vbenes>
Severity: medium Docs Contact:
Priority: high    
Version: 8.3CC: acabral, acardace, bgalvani, ferferna, fge, lrintel, rkhan, sukulkar, thaller, till
Target Milestone: rcKeywords: Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.34.0-0.3.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 14:54:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vladimir Benes 2020-06-30 12:41:58 UTC
Description of problem:

I had this test failing:
https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/NetworkManager/job/beaker-NetworkManager-dcb-RHEL-8.3/4/artifact/artifacts/FAIL_report_NetworkManager-dcb_Test0009_sriov_enable.html

and it was just because there was a profile created and upped for certain device.


Version-Release number of selected component (if applicable):
1.26.0

How reproducible:
always

Steps to reproduce:
config deployed
[root@dell-per720-03 ~]# cat /etc/NetworkManager/conf.d/98-sriov.conf 
[device-p4p1]
match-device=interface-name:p4p1
sriov-num-vfs=63

service reload executed:
systemctl reload NetworkManager

and no p4p1_0 devices visible

Comment 2 Gris Ge 2021-03-03 04:44:47 UTC
Hi Thomas,

Is this even supported?
I think profile setting take priority over NetworkManager.conf.

Comment 4 Vladimir Benes 2021-10-19 12:57:55 UTC
The original test stayed the same as not failing in the latest composes and new CI test added
https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/merge_requests/859

Comment 8 Vladimir Benes 2021-11-23 16:38:43 UTC
NMCI's sriov_enable_with_deployed_profile passing with NetworkManager-1.36.0-0.1.el8.x86_64

Comment 11 errata-xmlrpc 2022-05-10 14:54:06 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 (NetworkManager 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/RHEA-2022:1985