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

Need driver info in the config created by `nmstatectl persist-nic-names`

    • None
    • Critical
    • ZStream
    • 1
    • rhel-sst-network-management
    • ssg_networking
    • 1
    • False
    • Hide

      None

      Show
      None
    • No
    • NMT - RHEL-9.5 DTM 8
    • Approved Blocker
    • Hide

      Given a OpenShift cluster running on ARO(Azure Red Hat OpenShift) platform running with OCP 4.12
      When user upgrade the whole cluster to 4.13 or later version
      Then the upgrade process is not blocked.

      Definition of Done:

      • Fix been ship to OCP 4.13, 4.14, 4.15, 4.16.
      • Upgrade should pass without failure caused by nmstate
      • The systemd link file created by nmstate should be removed if no interface name changes after upgrade, and remaining link file should contains driver information
      Show
      Given a OpenShift cluster running on ARO(Azure Red Hat OpenShift) platform running with OCP 4.12 When user upgrade the whole cluster to 4.13 or later version Then the upgrade process is not blocked. Definition of Done: Fix been ship to OCP 4.13, 4.14, 4.15, 4.16. Upgrade should pass without failure caused by nmstate The systemd link file created by nmstate should be removed if no interface name changes after upgrade, and remaining link file should contains driver information
    • None
    • None
    • Release Note Not Required
    • None

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

       

      When upgrading OCP 4.12 to 4.13+ on ARO(Azure Red Hat OpenShift) platform, nmstate created systemd network link config holding the same MAC address for different NIC which lead to the upgrade failure.

      Please provide the package NVR for which bug is seen:

      nmstate-2.2.24-1.el9_2

      How reproducible:

      100%

      Steps to reproduce

      1. Run `nmstatectl persist-nic-names`
      2. Check file `/etc/systemd/network/98-nmstate-eth1.link`
      3.  

      Expected results

       

      The systemd network link file contains driver information, example

       

      [Match]
      MACAddress=52:54:00:de:a8:2f
      
      Driver=e1000
      
      [Link]
      Name=ens4
      

      Actual results

      No driver info.

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

                Created:
                Updated: