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

Cannot use gen_conf for referring port by mac

    • 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?

      The `nmstatectl gc` cannot works for referring controller port by mac address

      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

      use `nmstatectl gc` for this YAML

      ---
      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
      

      Expected results

      nmstatectl gc generate correct key file as `nmstatectl apply` did.

      Actual results

      Failure or incorrect keyfile.

              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: