The Smaller Failures First

Site Admin · 3 Dec 2026 · Network Hardware & NOS

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.

The shape

Every bug in this part has the same anatomy:

  1. a state transition happens — a link event, a config commit, a subinterface
    recreation, a daemon crash;
  2. one component updates its view;
  3. another component's cleanup, invalidation, or reconciliation step does not
    happen;
  4. every health signal stays green;
  5. the damage is discovered by a user, not by the switch.

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."

The documented ladder

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.

Why the ladder matters

The escalation to #5376361

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.