-
Bug
-
Resolution: Done-Errata
-
Major
-
rhel-9.4
-
nmstate-2.2.46-1.el10
-
No
-
Moderate
-
ZStream
-
rhel-net-mgmt
-
ssg_networking
-
3
-
False
-
False
-
-
None
-
None
-
Approved Blocker
-
-
Pass
-
Automated
-
Unspecified
-
Unspecified
-
Unspecified
-
None
When using
capture: primary-nic: interfaces.description == "primary" secondary-nic: interfaces.description == "secondary"
The capture will fail if one of the links is down, NO-CARRIER
We are using capture to select bonding NICs.
The link is down to prevent duplicate DHCP addresses.
This is a common case when using DHCP with bonding, because each of the bond slaves will get DHCP before the bond is created.
We need to be able to create the bond even if a link is down.
Message: failure generating desiredState and capturedStates: failed to generate state, err: failed expanding desired state: failed to resolve capture entry path expression: failed walking path: invalid path: step not found at map state map[]
| capture.secondary-nic.interfaces.0.name
Full nmstate
capture: primary-nic: interfaces.description == "primary" secondary-nic: interfaces.description == "secondary" desiredState: interfaces: - name: brcnv type: ovs-interface state: up mac-address: "{{ capture.primary-nic.interfaces.0.mac-address }}" ipv4: enabled: true dhcp: true - name: brcnv type: ovs-bridge state: up bridge: options: stp: false mcast-snooping-enable: false rstp: false port: - name: bond0 link-aggregation: mode: balance-slb port: - name: "{{ capture.primary-nic.interfaces.0.name }}" - name: "{{ capture.secondary-nic.interfaces.0.name }}" - name: brcnv
/etc/NetworkManager/system-connections/ethernet-enx30d0425666c9-8544.nmconnection:nmstate.interface.description=primary /etc/NetworkManager/system-connections/ethernet-enx30d0425666ca-25984.nmconnection:nmstate.interface.description=secondary
nmstate 2.2.33. OCP 4.15
- is cloned by
-
RHEL-88989 nmstate nmpolicy capture MAC fails if interface down [rhel-9.7]
-
- Closed
-
- links to
-
RHBA-2025:146753
nmstate bug fix and enhancement update