BGP sessions that reset on their own, iBGP that looks healthy over broken routes, zebra memory that grows until FRR restarts, ports stranded in the wrong VRF. One shape: a transition, a missing cleanup, green health lights.

Before the watchdog restarts the whole daemon, Cumulus has a ladder of smaller
state-cleanup failures: BGP sessions that reset on their own, routes that look
healthy and are not, zebra memory that grows until FRR restarts, ports stranded
in the wrong VRF. One shape runs through all of them.
Every bug in this part has the same anatomy:
That is the same anatomy as #5376361, one layer down. The watchdog bug is the
extreme case: the cleanup step that never happens is "recover the stuck thread
without restarting the switch."
These are real open issues from the Cumulus 5.19.0 release notes, not
hypotheticals.
#5413953 — BGP sessions reset without a switchd or device restart.
Affects 5.16.8–5.19.0. The session drops and re-establishes with no
corresponding daemon restart. From the operator's chair this looks like a
network problem; from the switch's chair it is a control-plane event with no
logged cause.
#5389894 — iBGP looks healthy while routing is broken underneath.
Recreating a numbered IPv6 iBGP subinterface leaves the neighbour
Established with the same link-local next hop, but the learned route is no
longer valid and disappears from the table. The workaround is to clear the BGP
session on the neighbour. This is the purest example of the shape: the
control-plane indicator says up, the forwarding state says gone.
#5432451 — zebra memory grows until FRR restarts. Running
nv show router nexthop rib --view=brief (or the vtysh equivalent) leaks
memory for every next-hop group with more than one next hop. Frequent polling
grows memory until FRR restarts. The workaround is to avoid --view=brief.
A monitoring loop can therefore cause the outage it is watching for.
#5419474 — ports stranded in the default VRF. A single commit that moves
ports from a bridge into a VRF leaves some ports in the default VRF in
hardware, with traffic trapped to the CPU. The workaround is a two-step commit,
or systemctl restart switchd — which interrupts traffic. The recovery for a
configuration bug is the same blunt instrument as the watchdog.
#5364805 — BFD stale offload entries. If bfdd crashes or is force-killed
while BFD is offloaded, old transmit entries keep sending healthy "Up" messages
to peers while the restarted daemon's sessions stay Down. The device and its
peers disagree about whether the path is alive. No cleanup, no alarm.
switchd, or reboot. Each is a bigger hammer than the fault.The ladder escalates in blast radius:
| Failure | Blast radius | Recovery |
|---|---|---|
| #5389894 route invalid | one prefix set on one neighbour | clear the session |
| #5413953 session reset | one session | automatic |
| #5432451 zebra leak | one switch's FRR | restart FRR |
| #5419474 stranded ports | ports on one switch | two-step commit or restart switchd |
| #5364805 BFD stale state | one BFD session's peers | restart bfdd, clear sessions |
| #5376361 switchd loop | every session on the switch, repeatedly | watchdog restart, ~23 min |
The last row is not a different kind of bug. It is the same missing-cleanup
pattern applied to the daemon that owns the chip — and because that daemon owns
everything, the blast radius is the whole box.

Next: Part 7 — the first and most fundamental flaw: #5376361, step by step,
and why the watchdog's only answer is a restart.