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

Cannot convert from mac identifier to name for controller port

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.6.z
    • nmstate
    • None
    • No
    • None
    • rhel-sst-network-management
    • ssg_networking
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      After https://issues.redhat.com/browse/RHEL-1745 shipped, user cannot switch from mac-based to name base for controller port.

      What is the impact of this issue to you?

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

      How reproducible is this bug?:

      100%

      Steps to reproduce

      Apply these two YAMLs

      ---
      interfaces:
      - name: bond0
        type: bond
        state: up
        link-aggregation:
          mode: balance-rr
          ports-config:
            - match:
                mac-address: 00:23:45:67:89:1a
                iface-type: ethernet
            - match:
                mac-address: 00:23:45:67:89:1b
                iface-type: ethernet
      
      ---
      interfaces:
      - name: bond0
        type: bond
        state: up
        link-aggregation:
          mode: balance-rr
          port:
          - eth2
          - eth1
      

      Expected results

      Bond port eth1 and eth2 changed from mac-based(802-3-ethernet.mac-address=$MAC) to name based (connection.interface-name = ethX)

      Actual results

      eth1 and eth2 still using mac-based identifier: 802-3-ethernet.mac-address:$MAC in NM.

      The patch for https://issues.redhat.com/browse/RHEL-1745 is too big, so we isolate this small task out.

              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:
              7 Start watching this issue

                Created:
                Updated: