Skip to content

fix(wan): the XB7's third gigabit port clears em0's receive errors - #1589

Merged
Gerrrt merged 2 commits into
mainfrom
fix/wan-xb7-third-port
Nov 19, 2026
Merged

Gerrrt merged 2 commits into
mainfrom
fix/wan-xb7-third-port

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

What changed

This records the third recurrence of em0's WAN receive errors and its fix, a move to the XB7's third gigabit port. No running config changes; one alert description is reworded.

  • docs/changelog.md: a 2026-11-19 entry with the onset (about 01:05 PST on 2026-11-18), the evidence and the fix. It corrects the 2026-11-08 entry, which named the cable as the next thing to replace.
  • docs/network.md: the WAN note now says the cable is in the XB7's third gigabit port, lists the three XB7 ports that have failed, and names the XB7 as the suspect rather than the factory cable.
  • WanReceiveErrors (internet.rules.yaml, plus its expected annotation in internet.test.yaml): with crc_errs climbing and symbol_errors at 0, the description now says to move to another XB7 gigabit port first. Before, it said to re-terminate or replace the cable.

Why

Downloads fell to 2–40 Mbit/s from about 940 while upload held at about 298. The signature matched 2026-11-01 and 2026-11-07: CRC and length errors on em0 with zero symbol and alignment errors. Each time, moving to a different XB7 port cleared it, and the factory cable was common to the last two. The alert's advice pointed at the wrong component.

Refs #923.

Blast radius

The documentation changes affect nothing running. The only rule change is the annotation text of one warning-level alert on the estate Prometheus. Its expression, for and labels are unchanged.

  • 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 port move, ifInErrors{ifDescr="em0"} on prometheus held at 2,009,194 across 15 minutes of samples, including about 200 MB of test download. The Hicks desktop downloaded at 211 and 271 Mbit/s from distant servers, up from about 20 Mbit/s before the move. That is minutes of evidence, not a day; the next scheduled speed tests will show whether it holds.

  • python3 scripts/check_docs.py: docs OK.

  • ./scripts/lint.sh: passed, but 11 checks were skipped, not run (no Docker daemon on this Windows host): actionlint, zizmor, packer ×2, tofu ×3, ansible-lint and editorconfig-checker. ruff ran from a local binary, not the pinned version.

  • promtool from the prom/prometheus:v3.16.0 container on prometheus: check rules internet.rules.yaml gave SUCCESS: 10 rules found, and test rules internet.test.yaml gave SUCCESS.

  • make validate was not run. It needs Docker and about 38 GB of images; CI runs it.

  • make validate passes

  • Deployed to the lab and confirmed working (the physical port move; the annotation reaches the observability stack on prometheus with its next deploy)

  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

The WAN's receive errors came back on 2026-11-18 at about 01:05 PST, with
the same signature as 2026-11-01 and 2026-11-07: CRC and length errors
with zero symbol errors, download at 2-40 Mbit/s, upload and ping clean.
Moving the factory cable to the XB7's third gigabit port cleared them.

network.md's WAN note names the port and the XB7 as the suspect. The
changelog records the recurrence and corrects the 2026-11-08 entry that
named the cable as the next thing to replace. WanReceiveErrors' description
now sends you to another XB7 port first.

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

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.

🟢 Approval recommended

No active review issues are recorded for the WAN incident documentation and troubleshooting-guidance updates.

No open issues 🎉

What changed in this PR

Documents the latest WAN receive-error recurrence and recovery after moving the cable to the XB7’s third gigabit port, and updates troubleshooting guidance to prioritize the suspected gateway.

Changes:

  • Records the incident, initial recovery evidence, and correction to earlier cable-replacement advice.
  • Updates the network notes with the current port and failure history.
  • Revises WanReceiveErrors guidance and its expected test annotation; alert logic remains unchanged.
File Description
stacks/​observability/​prometheus/​tests/​internet.test.yaml Matches the revised troubleshooting annotation.
stacks/​observability/​prometheus/​rules/​internet.rules.yaml Recommends trying another XB7 gigabit port first.
docs/​network.md Records the current WAN port and suspected gateway fault.
docs/​changelog.md Adds incident evidence, recovery observations, and a correction to prior advice.

Review effort: Balanced

@Gerrrt
Gerrrt merged commit 84f0a81 into main Nov 19, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the fix/wan-xb7-third-port branch November 19, 2026 21:34
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.

2 participants