-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.2
-
None
-
None
-
None
-
rhel-net-mgmt
-
None
-
False
-
False
-
-
None
-
None
-
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
The `interface.copy-mac-from` property cannot referring to alternative name
What is the impact of this issue to you?
OCP use `copy-mac-from` to create OVS bridge inherit the MAC address of physical interface, so the DHCP address could be consistent.
Please provide the package NVR for which the bug is seen:
nmstate-2.2.57-1.el10
How reproducible is this bug?:
100%
Steps to reproduce
echo '
---
interfaces:
- name: port1
type: ethernet
identifier: mac-address
mac-address: 52:54:00:15:17:63
alt-names:
- name: port1
- name: primary' | sudo nmstatectl apply -
echo '
---
interfaces:
- name: br0
type: linux-bridge
state: up
copy-mac-from: primary
bridge:
port:
- name: primary' | sudo nmstatectl apply -
Expected results
Nmstate create linux bridge using MAC address of 52:54:00:15:17:63
Actual results
NmstateError: InvalidArgument: Failed to find interface primary for copy-mac-from of iface br0