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

While working with SR-IOV, nmstate could not handle VF's created.

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.1
    • rhel-9.4.z, rhel-9.5
    • nmstate
    • nmstate-2.2.48-1.el10
    • No
    • Moderate
    • ZStream
    • rhel-net-mgmt
    • ssg_networking
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • 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 host with an SR-IOV-capable NIC and a single Nmstate YAML that both sets total_vfs > 0 on the PF and configures one or more VFs,

      When the YAML is applied with Nmstatectl apply,

      Then Nmstate waits until the kernel exposes the requested VF interfaces and completes the whole configuration without raising InvalidArgument errors.


      Integration test case is available upstream (Unit test)


      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 host with an SR-IOV-capable NIC and a single Nmstate YAML that both sets total_vfs > 0 on the PF and configures one or more VFs, When the YAML is applied with Nmstatectl apply, Then Nmstate waits until the kernel exposes the requested VF interfaces and completes the whole configuration without raising InvalidArgument errors. Integration test case is available upstream (Unit test) Code is reviewed and merged upstream Preliminary testing is done ( ) A demo is recorded
    • Pass
    • Automated
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      Trying to create 2 VF's on top of 1 PF while working with SR-IOV.

      What is the impact of this issue to you?

      Unable to install the OCP cluster on top of VF's as a cluster network

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

      Nmstate version: 2.2.39

      How reproducible is this bug?:

      Easy to reproduce.

      Steps to reproduce

      1. Create nmstate config with configured vf & pf.
      2. Apply the same using nmstatectl command.
      3.  

      Expected results

      It should apply the network configuration correctly, without throwing an error.

      Actual results

      It throws an error,  
      ERROR nmstate::ifaces::sriov] InvalidArgument: Failed to find SR-IOV VF interface name for sriov:enP6p1s0f1np1:1
      [2025-05-12 10:22:56.959] NmstateError: InvalidArgument: Failed to find SR-IOV VF interface name for sriov:enP6p1s0f1np1:1

              rh-ee-mshi1 Mingyu Shi
              rhn-support-puplench Pratik Uplenchwar
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: