Skip to content

docs(ups): accept the shutdown sequence without a live test (ADR-0121); DNS test done - #1599

Merged
Gerrrt merged 3 commits into
mainfrom
docs/no-ups-live-test
Nov 21, 2026
Merged

Gerrrt merged 3 commits into
mainfrom
docs/no-ups-live-test

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 21, 2026

Copy link
Copy Markdown
Owner

What changed

  • New ADR-0121: the UPS shutdown sequence is accepted as configured, without a live test. Steps 5 and 6 of shut-down-on-the-ups.md, the forced halt with upsmon -c fsd and the mains pull, stay in the runbook as a procedure but are marked not run, by decision. The roadmap's No host shuts down on the UPS's signal, and nothing records what powers smaug #574 entry leaves. hardware.md and security.md's mains-loss row now say the sequence is accepted, not "armed and unproved". ADR-0049 and ADR-0107 get a status note naming ADR-0121.
  • The DNS failure test is recorded as done. The operator stopped AdGuard on purpose and AdGuardNotAnswering paged. The day wasn't written down, so the table in forward-dns-to-adguard.md step 4 records it as before 2026-11-21. It leaves the roadmap's Build the sensitive-tier host on the ProDesk (ADR-0034) #404 list.
  • README's ADR count is now 121, and there's a changelog entry.

Closes #574.

Why

The operator won't run a forced halt of the whole rack or a deliberate power cut. A test that stays listed as owed and is never run is noise. Every configuration step (0 to 4b, HOSTSYNC 600, the 16-minute threshold) is applied, and the alerts still watch the pack.

Blast radius

Docs only. No rule, unit or config changes.

  • 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

  • python3 scripts/check_docs.py: docs OK.

  • ./scripts/lint.sh: passed. 4 tools were unavailable and skipped (yamllint, ruff ×2, ansible-lint), so CI covers them.

  • I didn't run full make validate, because this is docs only.

  • make validate passes

  • Deployed to the lab and confirmed working (nothing to deploy)

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

🤖 Generated with Claude Code

…); DNS test done

The operator will not run shut-down-on-the-ups.md steps 5 and 6. ADR-0121
accepts the applied steps 0 to 4b, the roadmap's #574 entry leaves, and the
runbook, hardware.md and security.md stop listing the proof as owed. The DNS
failure test was run by the operator and paged; it is recorded and leaves
#404's list.

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

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 ADR overstates the alert’s assurance because it can page after a clean halt or miss an extended outage, so shutdown logs are needed to verify completion.

1 open issue
What changed in this PR

This documentation-only PR records acceptance of the configured UPS shutdown sequence without live testing and records the operator-reported DNS failure test. No rules, units, or runtime configuration change.

Changes:

  • Adds ADR-0121 and marks the forced-shutdown and mains-pull tests as not owed.
  • Records the DNS alert test and removes the corresponding roadmap item.
  • Updates current-state documentation, prior ADR notes, the changelog, and README’s ADR count.
File Description
README.md Updates the ADR count to 121.
docs/​security.md Records acceptance of the untested UPS sequence.
docs/​runbooks/​shut-down-on-the-ups.md Retains live-test procedures but marks them not owed.
docs/​runbooks/​forward-dns-to-adguard.md Records the reported DNS test with its date uncertainty.
docs/​roadmap.md Removes the UPS item and completed DNS test.
docs/​hardware.md Reflects UPS acceptance and the unmeasured runtime estimate.
docs/​changelog.md Records both documentation updates.
docs/​adr/​0121-accept-the-ups-shutdown-without-a-live-test.md Defines the acceptance decision and remaining risks.
docs/​adr/​0107-subscribe-trinity-to-the-ups-and-bound-saruman-s-guest-stop.md Adds a dated note linking ADR-0121.
docs/​adr/​0049-shut-down-on-the-ups-from-a-nut-server-on-the-firewall.md Adds a dated note linking ADR-0121.

Review effort: Balanced

…erdict (ADR-0121)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt merged commit 27dd77d into main Nov 21, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the docs/no-ups-live-test branch November 21, 2026 14:18
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.

No host shuts down on the UPS's signal, and nothing records what powers smaug

2 participants