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

Ambiguity in link matching due to multiple network interfaces might share the same current MAC address (address)

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

    • No
    • None
    • rhel-system-roles
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

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

      What is the impact of this issue to you?

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

      rhel-system-roles.network 1.16.4 and rhel-system-roles.network 1.17.0

      How reproducible is this bug?:

      Steps to reproduce

      1. Run the following play, the network role fails with the error:

            - name: Ethernet connection profile settings using network_connections
              ansible.builtin.include_role:
              #   name: rhel-system-roles.network
              name: linux-system-roles.network
              loop: "{{ network_connections }}"
              when: network_connections is defined
        network_connections:
          - name: 00-ens224-TRUNK
            state: up
            persistent_state: present
            autoconnect: true
            type: ethernet
            interface_name: ens224
            mac: 00:50:56:B0:81:92
            ip:
              dhcp4: false
              auto6: false
        
          - name: ens224.3732
            state: up
            persistent_state: present
            type: vlan
            parent: 00-ens224-TRUNK
            vlan:
              id: 3732
            autoconnect: true
            ip:
              auto_gateway: false
              ipv6_disabled: true
              gateway4: 10.10.0.1
              address: 10.10.0.6/24
              dhcp4: false
              auto6: false 

      Expected results:
      the play runs successfully without raising any errors.

      Actual results:

      TASK [linux-system-roles.network : Configure networking connection profiles] ***
      [WARNING]: [001] <error> #2, state:up persistent_state:present, '00-ens224-TRUNK': profile specifies interface_name 'ens224' and mac
      '00:50:56:b0:81:92' but no such interface exists

       

              rmeggins@redhat.com Richard Megginson
              liangwen12year Wen Liang
              Richard Megginson Richard Megginson
              David Jez David Jez
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: