Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-109855

NetworkManager hang when disabling SR-IOV with 63 VFs

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.0
    • NetworkManager
    • None
    • No
    • None
    • rhel-net-mgmt
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Definition of Done:

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      Given RHEL 10 system with ixgbe PF and 63 VFs,

      When disabling SR‑IOV via nmstatectl apply,

      Then NetworkManager remains responsive`nmcli c show`, `ethtool`, and `nmstatectl show` respond promptly.


      ( ) Integration test case is available upstream.


      ( ) Code is reviewed and merged upstream.


      ( ) Preliminary testing is done.


      ( ) Upstream documentation is written in the upstream MR.


      ( ) Release notes text is written in the RHEL issue.


      ( ) A demo is recorded

      Show
      Definition of Done: Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. Given RHEL 10 system with ixgbe PF and 63 VFs, When disabling SR‑IOV via nmstatectl apply, Then NetworkManager remains responsive`nmcli c show`, `ethtool`, and `nmstatectl show` respond promptly. ( ) Integration test case is available upstream. ( ) Code is reviewed and merged upstream. ( ) Preliminary testing is done. ( ) Upstream documentation is written in the upstream MR. ( ) Release notes text is written in the RHEL issue. ( ) A demo is recorded
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Given a system with SR-IOV nic enabled with 63 VFs
      When using nmstatectl to disable SR-IOV
      Then nmcli will hang

      What is the impact of this issue to you?

      Found in lab, not from any customer

      Please provide the package NVR for which the bug is seen:

      NetworkManager-1.54.0-1.el10.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      # Enable SR-IOV with 63 VFs
      
      echo '---
      interfaces:
      - name: eno1
        type: ethernet
        ethernet:
          sr-iov:
            drivers-autoprobe: true
            total-vfs: 0' | sudo nmstatectl apply -
      
      # In new terminal, run
      nmcli c show
      

      Expected results

      NetworkManager response to nmcli command

      Actual results

      root@wsfd-netdev27:~# nmcli c
      Error: NetworkManager is not running.
      

      Extra info on the server reproduced the issue

      root@wsfd-netdev27:~# ethtool -i eno1
      driver: ixgbe
      version: 6.12.0-116.el10.x86_64
      firmware-version: 0x8000095c, 19.5.12
      expansion-rom-version:
      bus-info: 0000:01:00.0
      supports-statistics: yes
      supports-test: yes
      supports-eeprom-access: yes
      supports-register-dump: yes
      supports-priv-flags: yes
      
      root@wsfd-netdev27:~# ethtool eno1  # <---- This command is also hang 2 seconds
      Settings for eno1:
      	Supported ports: [ FIBRE ]
      	Supported link modes:   10000baseT/Full
      	Supported pause frame use: Symmetric
      	Supports auto-negotiation: No
      	Supported FEC modes: Not reported
      	Advertised link modes:  10000baseT/Full
      	Advertised pause frame use: Symmetric
      	Advertised auto-negotiation: No
      	Advertised FEC modes: Not reported
      	Speed: 10000Mb/s
      	Duplex: Full
      	Auto-negotiation: off
      	Port: Direct Attach Copper
      	PHYAD: 0
      	Transceiver: internal
      	Supports Wake-on: umbg
      	Wake-on: g
              Current message level: 0x00000007 (7)
                                     drv probe link
      	Link detected: yes
      

              nm-team Network Management Team
              fge@redhat.com Gris Ge
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: