Skip to content

fix(wan): the receive errors are em0's, and rebooting morpheus clears them - #1640

Merged
Gerrrt merged 3 commits into
mainfrom
fix/wan-em0-reboot
Nov 22, 2026
Merged

Gerrrt merged 3 commits into
mainfrom
fix/wan-em0-reboot

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 22, 2026

Copy link
Copy Markdown
Owner

What changed

The docs now say the Hitron CODA56 is installed, and they name em0 as the WAN fault instead of the XB7:

  • docs/network.md's WAN notes and its modem footnote.
  • The network diagram, with the SVG and the re-rendered PNG committed together.
  • The rack runbook's §6.1, plus a dated correction note.
  • The roadmap's Replace the hand-crimped XB7 to morpheus WAN patch with a factory cable #923 note.
  • A 2026-11-22 changelog entry that corrects the 2026-11-21 entry and the XB7 diagnosis in the 2026-11-19, 11-08 and 11-07 entries.

WanReceiveErrors' description now says to reboot morpheus instead of moving XB7 ports. Its test is updated to match.

Closes #1594.

Why

The CODA56 replaced the XB7 at about 18:00 PST, and em0 began counting the same errors straight away. The signature was CRC errors plus fragment/length errors, with symbol, alignment and collision errors at zero, on a clean 1000baseT <full-duplex> link. A re-plug at em0 didn't stop them, and a different cable didn't either. Rebooting morpheus did. So the fault is em0 (the onboard I219), not the XB7 and not the cable. Moving the WAN off em0 would be the lasting fix, and that is not decided.

Blast radius

Docs and the text of one alert's annotation. No change to the rule's expression, and no host, VLAN or service change.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

  • After the reboot, ifInErrors{ifDescr="em0"} restarted at 0 and stayed there across four readings a minute apart. Downloads ran at 243 Mbit/s from Hetzner Ashburn and OVH, and the scheduled test read 940 Mbit/s.
  • promtool test rules tests/internet.test.yaml: SUCCESS.
  • network.png was re-rendered from the SVG with rsvg-convert 2.60.0 (--zoom=1.5, Inter and JetBrains Mono installed). I checked it by eye.
  • python scripts/check_docs.py: docs OK.
  • ./scripts/lint.sh: passed, but 11 tools were skipped, not run (no Docker or pipx on this host); CI runs them.
  • make validate passes (not run locally)
  • Deployed to the lab and confirmed working (the reboot)
  • Docs updated (docs/, service README, or docs/roadmap.md)

The CODA56's power outlet isn't recorded in hardware.md yet. I haven't read which outlet it's on.

🤖 Generated with Claude Code

… them

The Hitron CODA56 replaced the XB7 and em0 counted the same CRC and
fragment errors at once. A re-plug and a different cable did not stop
them; a reboot of morpheus did. WanReceiveErrors now says to reboot
morpheus, and the docs and diagram name the CODA56.

Closes #1594.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 22, 2026 19:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The updated modem topology still conflicts with the diagram’s accessible descriptions, and the installed CODA56 is missing from the hardware inventory.

1 open issue
What changed in this PR

This PR records the Hitron CODA56 installation and revises the WAN fault diagnosis to morpheus’s em0, aligning operational documentation and alert guidance with the latest troubleshooting results.

Changes:

  • Update WAN documentation and diagram labels for the CODA56.
  • Recommend rebooting morpheus in the WanReceiveErrors annotation and matching test, without changing alert logic.
  • Add a dated changelog correction and revise the rack runbook and roadmap.
File Description
stacks/​observability/​prometheus/​tests/​internet.test.yaml Match the revised alert annotation.
stacks/​observability/​prometheus/​rules/​internet.rules.yaml Update troubleshooting comments and recovery guidance.
docs/​runbooks/​move-into-the-32u-rack.md Revise modem cabling and WAN recovery instructions.
docs/​roadmap.md Correct the WAN fault attribution.
docs/​network.md Document the installed modem and em0 fault.
docs/​diagrams/​current/​network.svg Replace XB7 labels with modem-only CODA56 labels.
docs/​changelog.md Record installation evidence and correct earlier diagnoses.

Review effort: Balanced

Comment thread docs/network.md Resolved
…ibes it

hardware.md gets a WAN section with the modem and its power, which is not
read yet. The diagram's accessible description and README's alt text say
cable modem rather than an ISP gateway in bridge mode, and its as-of date
moves to 2026-11-22; the PNG is re-rendered with it.

Refs #1594

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt enabled auto-merge (squash) November 22, 2026 20:28
Both branches added a 2026-11-22 changelog entry; both are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt merged commit a886ff7 into main Nov 22, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the fix/wan-em0-reboot branch November 22, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install the Hitron CODA56 and return the XB7

2 participants