-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-9.5
-
No
-
Moderate
-
rhel-sst-network-management
-
ssg_networking
-
5
-
False
-
-
None
-
None
-
-
None
-
None
-
None
What were you trying to do that didn't work?
Cannot update/change route in kernel mode
Please provide the package NVR for which bug is seen:
nmstate-2.2.33-1.el9.x86_64
How reproducible:
100%
Steps to reproduce
systemctl stop NetworkManager
ip link add eth1 type veth peer eth1_p
ip link set eth1 up
ip link set eth1_p up
cat << EOF > kernel.yaml
---
dns-resolver:
config:
search:
- example.com
- example.org
server:
- 2001:4860:4860::8888
- 2001:4860:4860::8844
- 8.8.4.4
- 8.8.8.8
interfaces:
- name: eth1
type: ethernet
state: up
ipv4:
address:
- ip: 192.0.2.1
prefix-length: 24
dhcp: false
enabled: true
ipv6:
address:
- ip: 2001:db8:1::1
prefix-length: 64
dhcp: false
enabled: true
autoconf: false
routes:
config:
- destination: 0.0.0.0/0
next-hop-address: 192.0.2.254
next-hop-interface: eth1
table-id: 100
- destination: ::/0
next-hop-address: 2001:db8:1::254
next-hop-interface: eth1
table-id: 100
EOF
nmstatectl apply kernel.yaml -k
sed 's/254/250/g' kernel.yaml > kernel2.yaml
nmstatectl apply kernel2.yaml -k
Expected results
The new routes added
Actual results
[2024-08-16T03:10:26Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Desired route destination: ::/0 next-hop-interface: eth1 next-hop-address: 2001:db8:1::250 table-id: 100 not found after apply
[2024-08-16T03:10:27Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Desired route destination: ::/0 next-hop-interface: eth1 next-hop-address: 2001:db8:1::250 table-id: 100 not found after apply
[2024-08-16T03:10:28Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Desired route destination: ::/0 next-hop-interface: eth1 next-hop-address: 2001:db8:1::250 table-id: 100 not found after apply
[2024-08-16T03:10:29Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Desired route destination: ::/0 next-hop-interface: eth1 next-hop-address: 2001:db8:1::250 table-id: 100 not found after apply
NmstateError: VerificationError: Desired route destination: ::/0 next-hop-interface: eth1 next-hop-address: 2001:db8:1::250 table-id: 100 not found after apply
- is triggered by
-
RHEL-37665 [RFE] Support route and DNS in nmstate kernel mode
- Closed