-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.4.z
-
nmstate-2.2.35-1.el9
-
No
-
None
-
1
-
rhel-sst-network-management
-
ssg_networking
-
1
-
False
-
-
None
-
NMT - RHEL-9.5 DTM 24
-
Pass
-
None
-
None
What were you trying to do that didn't work?
I want to change NetworkManager gateway connection to match interface by MAC address instead of interface name.
But got failure when I apply below nmpolicy
--- capture: gw: routes.running.destination=="0.0.0.0/0" gw-iface: interfaces.name==capture.gw.routes.running.0.next-hop-interface desiredState: interfaces: - name: "{{ capture.gw-iface.interfaces.0.name }}" identifier: mac-address mac-address: "{{ capture.gw-iface.interfaces.0.mac-address }}"
Please provide the package NVR for which bug is seen:
nmstate-2.2.33-1.el9
How reproducible:
100%
Steps to reproduce
- Make sure you have NetworkManager connection holding default gateway
- run `nmstatectl apply` to above YAML file
Expected results
The NetworkManager connection file has `connection.interface-name` empty
and `802-3-ethernet.mac-address` set to the MAC address of gateway interface.
Actual results
NmstateError: VerificationError: Verification failure: ens3.interface.identifier desire '"mac-address"', current '"name"
- is triggering
-
RHEL-57020 Nmpolicy cannot refer an interfaces.name which differs with iface when identifier is mac-address
- Planning
- links to
-
RHBA-2024:129019 nmstate bug fix and enhancement update