Bug 1659514

Summary: cannot delete all VFs with autoprobe-drivers=false
Product: Red Hat Enterprise Linux 8 Reporter: Vladimir Benes <vbenes>
Component: NetworkManagerAssignee: Beniamino Galvani <bgalvani>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: atragler, bgalvani, fgiudici, lrintel, rkhan, sukulkar, thaller
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1651576 Environment:
Last Closed: 2019-11-05 22:28:59 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:
Bug Depends On: 1651576    
Bug Blocks: 1689408, 1701002    

Comment 1 Vladimir Benes 2018-12-14 14:58:03 UTC
full log when autoprobe-drivers is false

https://filepush.co/nTHh/sriov_log.txt

Comment 3 Beniamino Galvani 2019-05-28 13:26:27 UTC
This should work fine after:

https://github.com/NetworkManager/NetworkManager/pull/268

even with a large number of VFs.

Comment 5 Vladimir Benes 2019-07-15 11:05:02 UTC
it works since 1.14 so I am enabling a slightly modified test again.
    @sriov_con_drv_add_VF_mac
    Scenario: nmcli - sriov - drv - add 1 VF with mac and trust
    * Add a new connection of type "ethernet" and options "ifname em2 con-name sriov sriov.vfs '0 mac=00:11:22:33:44:99 trust=true' sriov.total-vfs 1 autoconnect no"
    * Bring "up" connection "sriov"
    * Add a new connection of type "ethernet" and options "ifname em2_0 con-name sriov_2 ipv4.method manual ipv4.address 1.2.3.4/24 autoconnect no"
    * Bring "up" connection "sriov_2"
    Then "1" is visible with command "cat /sys/class/net/em2/device/sriov_numvfs"
    And " connected" is visible with command "nmcli  device |grep em2_0"
    And "00:11:22:33:44:99" is visible with command "ip a s em2_0"
    And "trust on" is visible with command " ip l show dev em2"

Comment 7 errata-xmlrpc 2019-11-05 22:28:59 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, 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-2019:3623