A Switch That Won't Come Back

Site Admin · 4 Dec 2026 · Network Hardware & NOS

A Cumulus switch reboots and stops at grub>. Nothing forwards, nothing answers on the management network, and the fix lives on a serial console. The cause was a routine image command racing a monitoring read of the image inventory — issue #5376220, 5.18.x, no fixed version.

*A Cumulus switch reboots and stops at grub>. Nothing forwards, nothing answers
on the management network, and the fix lives on a serial console. The cause was
a routine image command racing a monitoring read of the image inventory — issue

5376220, 5.18.x, no fixed version.*

What it is

Every switch has two lives. There is the running switch — ports, routes, BGP,
telemetry — and there is the smaller, older machine underneath that decides
whether the running switch starts at all. That second machine is the boot chain:
ONIE, then GRUB, then a kernel and an initrd read from one of two system-image
partitions. Operators spend their day on the first machine and think about the
second one only when it fails.

Cumulus Linux is NVIDIA's Debian-based network operating system for whitebox
switches. It keeps two full system images on disk, one per partition, so an
upgrade can be staged into the spare slot and selected at the next reboot.
Selecting the slot is a single NVUE action:

nv action boot-next system image other

That command is supposed to be the safe half of an upgrade. It does not install
anything and it does not reboot anything; it edits the bootloader configuration
so that the next boot picks the other partition. On a healthy switch it is
reversible: nv action boot-next system image other rollback selects the
previous image again.

Issue #5376220 is what happens when that edit collides with a reader.

The bug in one paragraph

NVIDIA's Cumulus Linux release notes carry a row under the open issues for
5.18.x:

nv action boot-next system image other run while prometheus-node-exporter
reads the image inventory
corrupts /boot/grub/grub.cfg on the running
partition; switch fails to boot (grub> prompt, needs console).

Two ordinary things, at the same moment. An operator or an automation run
selects the next image; a monitoring agent reads the image inventory to export a
metric. The file they share is the bootloader configuration. The result is a
grub.cfg that GRUB cannot parse, and a switch that will not boot — not now,
but at the next reboot, which may be days later.

Why this is not an ordinary outage

A crashed daemon restarts. A failed supervisor brings a process back. A switch
that stops at grub> does none of that, because the software that would do the
restarting has not been loaded yet.

That combination — routine trigger, invisible damage, deferred and total
failure, physical recovery — is why this sits near the top of the operational
risk list even though its impact score is modest.

What the series covers

Part 2 looks at who runs Cumulus and where an unbootable switch hurts most.
Part 3 walks the jobs a leaf does and what each loses when it stops at GRUB.
Part 4 compares Cumulus with EOS, NX-OS, Junos and SONiC, including the
alternative nobody markets: a console server. Part 5 opens the boot chain —
ONIE, GRUB, two partitions, the NVUE action pipeline — and shows exactly which
file the command rewrites. Part 6 collects the smaller, documented ways a
Cumulus switch lands at grub>, because #5376220 is the last rung of a ladder
that already existed. Part 7 takes the race apart. Part 8 maps 5.18.x and the
missing fixed version. Part 9 follows one automation run from a successful
command to a dead switch three weeks later. Part 10 is the mitigation ladder and
the bundle: quiesce the reader, run the command, verify the file, reboot in a
window, and keep a console path.

There is no patch in this series. Cumulus's boot plumbing is closed, the issue
is open, and the only artefact an operator can ship is a procedure that makes
the race impossible and the corruption visible before it costs a site.

Next: Part 2 — who runs Cumulus, and why an unbootable leaf is a different
kind of outage in a colocation cage than in a lab.