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

NNS: inconsistent interface order

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.6
    • nmstate
    • None
    • None
    • Moderate
    • rhel-net-mgmt
    • 1
    • 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 nmstate snapshots the current host network state,

      When the same set of interfaces is retrieved multiple times without any underlying change,

      Then every interfaces list that nmstate emits is deterministically ordered.


      ( ) Code changes are included in a downstream build attached to an errata.


      ( ) All required testing (manual and/or automated) passes successfully.


      ( ) Related documentation updates (if applicable) have been completed.


      ( ) All necessary backports to the related RHEL streams (linked as 'relates' in this issue) have been completed and verified.

      Show
      Definition of Done: Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. Given nmstate snapshots the current host network state, When the same set of interfaces is retrieved multiple times without any underlying change, Then every interfaces list that nmstate emits is deterministically ordered. ( ) Code changes are included in a downstream build attached to an errata. ( ) All required testing (manual and/or automated) passes successfully. ( ) Related documentation updates (if applicable) have been completed. ( ) All necessary backports to the related RHEL streams (linked as 'relates' in this issue) have been completed and verified.
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Description of problem:

      Sometimes the interfaces reported by NodeNetworkStatus change their order. This complicates visual NNS comparison and may add burden to watchers of NNS.

      Version-Release number of selected component (if applicable):

      kubernetes-nmstate-operator.4.20.0-202511110624

      How reproducible:

      Always on my cnv.engineering.redhat.com cluster  

      Steps to Reproduce:

      $ oc get nns -oyaml zeus37.lab.eng.tlv2.redhat.com | yq '.status.currentState.interfaces[] | [.name, .type] | @tsv'      

      Actual results:

      (br-ex    ovs-bridge) shows third or fourth

      Expected results:

      Interface order stays the same each time

      Additional info:

          

              fge@redhat.com Gris Ge
              dkenigsb@redhat.com Dan Kenigsberg
              Network Management Team Network Management Team
              Ross Brattain Ross Brattain
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: