-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-9.6.z
-
nmstate-2.2.50-1.el10
-
No
-
Moderate
-
rhel-net-mgmt
-
1
-
False
-
False
-
-
No
-
None
-
Pass
-
Automated
-
Unspecified Release Note Type - Unknown
-
Not Required
-
Not Required
-
Not Required
-
None
What were you trying to do that didn't work?
Given a system with interface been marked a unmanaged in NetworkManager
When applying desired state contains route to unmanaged interface,
Then nmstate is fail the apply action with error:
NmstateError: InvalidArgument: Route 'destination: 192.0.3.0/24 next-hop-interface: eth1 next-hop-address: 192.0.2.1 metric: 103': next hop interface eth1 not found
What is the impact of this issue to you?
OpenStack test impacted
Please provide the package NVR for which the bug is seen:
nmstate-2.2.48-1.el9
How reproducible is this bug?:
100%
Steps to reproduce
echo '---
routes:
config:
- destination: 192.0.3.0/24
next-hop-address: 192.0.2.1
next-hop-interface: eth1
metric: 103
interfaces:
- name: eth1
type: ethernet
state: ignore
ipv4:
address:
- ip: 192.0.2.251
prefix-length: 24
dhcp: false
enabled: true' | sudo nmstatectl apply -
Expected results
Desired route been ignored and no failure
Actual results
NmstateError: InvalidArgument: Route 'destination: 192.0.3.0/24 next-hop-interface: eth1 next-hop-address: 192.0.2.1 metric: 103': next hop interface eth1 not found
- links to
-
RHBA-2025:154283
nmstate update