-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-9.5
-
Yes
-
Moderate
-
rhel-sst-network-management
-
ssg_networking
-
3
-
False
-
-
None
-
None
-
-
None
-
None
-
None
What were you trying to do that didn't work?
Set up many intefaces with lldp enabled, then run `nmstatectl show > somefile` or `nmstatectl show | grep something`, the command has 50% chance to stuck for about 2 minutes.
I tried many times, it seems only reproducible when using redirect (>) or pipeline (|), I never reproduce if only simply run `nmstatectl show`.
What is the impact of this issue to you?
The command is very slow
Please provide the package NVR for which the bug is seen:
nmstate-2.2.35-1.el9.x86_64
nispor-1.2.14-1.el9.x86_64
NetworkManager-1.48.10-2.el9_5.x86_64
openvswitch3.1-3.1.0-129.el9fdp.x86_64
lldpd-1.0.18-4.el9.x86_64
How reproducible is this bug?:
About 50%
Steps to reproduce
Use the reproducer.sh in the attachment
Expected results
Actual results
Checking the timestamps of one run (same with the reproducer.sh):
++ sleep 10 ++ nmstatectl show [2024-09-10T12:50:04Z INFO nmstatectl] Nmstate version: 2.2.35 ++ grep --color=auto abcdef ++ nmstatectl show [2024-09-10T12:51:54Z INFO nmstatectl] Nmstate version: 2.2.35 ++ nmstatectl show -r ++ grep --color=auto abcdef [2024-09-10T12:53:38Z INFO nmstatectl] Nmstate version: 2.2.35 ++ systemctl stop lldpd ++ nmstatectl apply ++ sed 's/state: up/state: absent/g' all_ifaces.yml [2024-09-10T12:55:23Z INFO nmstatectl] Nmstate version: 2.2.35 [2024-09-10T12:58:27Z INFO nmstate::iface] Interface g0patch1 cannot live without controller, marking as absent as it has been detached from its original controller g0ovsbr1 [2024-09-10T12:58:27Z INFO nmstate::iface] Interface g0ovs1 cannot live without controller, marking as absent as it has been detached from its original controller g0ovsbr0 [2024-09-10T12:58:27Z INFO nmstate::iface] Interface g0ovs0 cannot live without controller, marking as absent as it has been detached from its original controller g0ovsbr0 [2024-09-10T12:58:27Z INFO nmstate::iface] Interface g0patch0 cannot live without controller, marking as absent as it has been detached from its original controller g0ovsbr0 NmstateError: InvalidArgument: The next hop interface of desired Route 'destination: 0.0.0.0/0 next-hop-interface: g0bond0 next-hop-address: 100.1.1.254 table-id: 100' has been marked as absent ++ nmstatectl apply ++ sed 's/state: up/state: absent/g' all_ifaces_peer.yml [2024-09-10T12:58:27Z INFO nmstatectl] Nmstate version: 2.2.35