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

Hang on requesting 64 SRIOV 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
    • nmstate
    • None
    • No
    • Low
    • rhel-net-mgmt
    • 2
    • 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 a system admin automating interface config and a NIC with sriov_totalvfs == 63, 

      When nmstatectl apply attempts to configure total-vfs: 64, 

      Then it fails with a clear error, and no hang or infinite retries occur


      ( ) Integration test case is available upstream.


      ( ) Code is reviewed and merged upstream.


      ( ) Preliminary testing is done.


      ( ) 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 a system admin automating interface config and a NIC with sriov_totalvfs == 63,  When nmstatectl apply attempts to configure total-vfs: 64,  Then it fails with a clear error, and no hang or infinite retries occur ( ) Integration test case is available upstream. ( ) Code is reviewed and merged upstream. ( ) Preliminary testing is done. ( ) A demo is recorded
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      Give a RHEL server with SR-IOV NIC only supports maximum 63 VFs,
      When applying desire state of nmstate requesting 64 SR-IOV VFs.
      Then nmstate will hang on verification retries.

      What is the impact of this issue to you?

      Request from OpenShift team

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

      nmstate-2.2.48-1.el10

      How reproducible is this bug?:

      100%

      Steps to reproduce

      # Find a SR-IOV server supports maximum 63 VFs by checking
      # /sys/class/net/{PF_NIC_NAME}/device/sriov_totalvfs
      echo '---
      interfaces:
      - name: eno1
        type: ethernet
        ethernet:
          sr-iov:
            drivers-autoprobe: true
            total-vfs: 64' | sudo nmstatectl apply -
      

      Expected results

      Raise error indicate the maximum VF supported by desired interface is only 63

      Actual results

      nmstate hang and keep retry the verification on

      Verification failure: eno1.interface.ethernet.sr-iov.total-vfs desire '64', current '0'
      

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

                Created:
                Updated: