Page MenuHomeVyOS Platform

An error occurs after stopping snmpd in frr
Closed, WontfixPublicBUG

Description

For reproduce this bug use command:

root@vyos:/home/vyos# killall -STOP snmpd
root@vyos:/home/vyos# journalctl -f 
Nov 11 13:22:35 vyos zebra[1124]: [EC 100663310] snmp[warning]: AgentX master agent failed to respond to ping.  Attempting to re-register.
Nov 11 13:22:35 vyos ripd[1139]: [EC 100663310] snmp[warning]: AgentX master agent failed to respond to ping.  Attempting to re-register.
Nov 11 13:22:35 vyos ospfd[1147]: [EC 100663310] snmp[warning]: AgentX master agent failed to respond to ping.  Attempting to re-register.
Nov 11 13:22:35 vyos ospf6d[1153]: [EC 100663310] snmp[warning]: AgentX master agent failed to respond to ping.  Attempting to re-register.
Nov 11 13:22:35 vyos bgpd[1129]: [EC 100663310] snmp[warning]: AgentX master agent failed to respond to ping.  Attempting to re-register.
Nov 11 13:22:47 vyos zebra[1124]: [EC 100663313] SLOW THREAD: task agentx_timeout (7fd04fc36b80) ran for 18021ms (cpu time 1ms)
Nov 11 13:22:47 vyos ripd[1139]: [EC 100663313] SLOW THREAD: task agentx_timeout (7f932bd41b80) ran for 18023ms (cpu time 2ms)
Nov 11 13:22:47 vyos ospfd[1147]: [EC 100663313] SLOW THREAD: task agentx_timeout (7fdb21525b80) ran for 18025ms (cpu time 2ms)
Nov 11 13:22:47 vyos ospf6d[1153]: [EC 100663313] SLOW THREAD: task agentx_timeout (7f36dc063b80) ran for 18024ms (cpu time 1ms)
Nov 11 13:22:47 vyos bgpd[1129]: [EC 100663313] SLOW THREAD: task agentx_timeout (7ffb63f93b80) ran for 18022ms (cpu time 1ms)
Nov 11 13:23:08 vyos zebra[1124]: [EC 100663313] SLOW THREAD: task agentx_timeout (7fd04fc36b80) ran for 6008ms (cpu time 0ms)
Nov 11 13:24:32 vyos watchfrr[1094]: [EC 268435457] ripd state -> unresponsive : no response yet to ping sent 90 seconds ago
Nov 11 13:24:32 vyos watchfrr[1094]: [EC 100663303] Forked background command [pid 2182]: /usr/lib/frr/watchfrr.sh restart ripd
Nov 11 13:24:32 vyos watchfrr[1094]: [EC 268435457] bgpd state -> unresponsive : no response yet to ping sent 90 seconds ago
Nov 11 13:24:32 vyos watchfrr[1094]: [EC 100663303] Forked background command [pid 2188]: /usr/lib/frr/watchfrr.sh restart bgpd
Nov 11 13:24:33 vyos watchfrr[1094]: [EC 268435457] ospfd state -> unresponsive : no response yet to ping sent 90 seconds ago
Nov 11 13:24:33 vyos watchfrr[1094]: [EC 100663303] Forked background command [pid 2195]: /usr/lib/frr/watchfrr.sh restart ospfd
Nov 11 13:24:37 vyos watchfrr[1094]: [EC 268435457] ospf6d state -> unresponsive : no response yet to ping sent 90 seconds ago
Nov 11 13:24:37 vyos watchfrr[1094]: [EC 100663303] Forked background command [pid 2337]: /usr/lib/frr/watchfrr.sh restart ospf6d
Nov 11 13:24:48 vyos watchfrr[1094]: [EC 268435457] zebra state -> unresponsive : no response yet to ping sent 90 seconds ago
Nov 11 13:24:52 vyos watchfrr[1094]: Warning: restart ripd child process 2182 still running after 20 seconds, sending signal 15
Nov 11 13:24:52 vyos watchfrr[1094]: restart ripd process 2182 terminated due to signal 15
Nov 11 13:24:52 vyos watchfrr[1094]: Warning: restart bgpd child process 2188 still running after 20 seconds, sending signal 15
Nov 11 13:24:52 vyos watchfrr[1094]: restart bgpd process 2188 terminated due to signal 15
Nov 11 13:24:53 vyos watchfrr[1094]: Warning: restart ospfd child process 2195 still running after 20 seconds, sending signal 15
Nov 11 13:24:53 vyos watchfrr[1094]: restart ospfd process 2195 terminated due to signal 15
Nov 11 13:24:57 vyos watchfrr[1094]: Warning: restart ospf6d child process 2337 still running after 20 seconds, sending signal 15
Nov 11 13:24:57 vyos watchfrr[1094]: restart ospf6d process 2337 terminated due to signal 15
Nov 11 13:24:58 vyos watchfrr[1094]: [EC 100663303] Forked background command [pid 2981]: /usr/lib/frr/watchfrr.sh restart all
Nov 11 13:24:58 vyos bfdd[1161]: VRF disable default id 0
Nov 11 13:24:58 vyos bfdd[1161]: VRF Deletion: default(0)
Nov 11 13:24:58 vyos watchfrr[1094]: [EC 268435457] bfdd state -> down : read returned EOF
Nov 11 13:24:58 vyos zebra[1124]: [EC 4043309121] Client 'bfd' encountered an error and is shutting down.
Nov 11 13:24:58 vyos staticd[1157]: Terminating on signal
Nov 11 13:24:58 vyos watchfrr[1094]: [EC 268435457] staticd state -> down : read returned EOF
Nov 11 13:24:58 vyos zebra[1124]: [EC 4043309121] Client 'static' encountered an error and is shutting down.
Nov 11 13:24:58 vyos ripngd[1143]: Terminating on signal
Nov 11 13:24:58 vyos zebra[1124]: [EC 4043309121] Client 'ripng' encountered an error and is shutting down.
Nov 11 13:24:58 vyos watchfrr[1094]: [EC 268435457] ripngd state -> down : read returned EOF
Nov 11 13:25:18 vyos watchfrr[1094]: Warning: restart all child process 2981 still running after 20 seconds, sending signal 15
Nov 11 13:25:18 vyos watchfrr[1094]: restart all process 2981 terminated due to signal 15

Details

Version
VyOS 1.3.0-epa3
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

I would not call this a bug as this is produced on intention.

SNMPD continues to run but FRR (due to the agentx enabled) just dies.

Debian-+    3008  0.0  0.3  24800 13820 ?        Ts   19:52   0:00 /usr/sbin/snmpd -LS0-5d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -ipCidrRouteTable i

This does not feel like normal operation to me.

Viacheslav claimed this task.
Viacheslav subscribed.

Wontfix due to the old backend implementation.