From 7d40eb1bcf70ad50c608d8dc016af46fb2af733a Mon Sep 17 00:00:00 2001 From: Garrett Allen <98648590+Gerrrt@users.noreply.github.com> Date: Tue, 24 Nov 2026 23:03:09 +0000 Subject: [PATCH 1/2] docs(mjolnir): split #1698, and point the UPS firmware at #1731 The card half of #1698 is done (3.6.1.2, verified 2026-11-24). The UPS's own firmware waits for a planned outage and moves to #1731. The runbook's Part B and hardware.md now point there, and A.2's silence takes the update's issue number. Co-Authored-By: Claude Opus 5.5 --- docs/changelog.md | 8 ++++++++ docs/hardware.md | 5 +++-- docs/runbooks/update-the-ups-firmware.md | 16 ++++++++++------ 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 000c424e..c5b88141 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -478,6 +478,14 @@ docstring gives: it is a record, not a claim about now. and both were done in October. `schedule-maintenance.md` gains the card leaf's renewal date, 2029-02-26. +- **#1698 is split.** Its card half is done: 3.6.1.2, installed and verified + today. The UPS's own firmware, 09.8 to 15.0, needs the output off, so it + waits for a planned outage, and moves to + [#1731](https://github.com/Gerrrt/HomeLab/issues/1731). + `update-the-ups-firmware.md` and `hardware.md` point Part B there. That + closes the `mjolnir` audit: every finding is fixed and verified, decided, + or tracked in #1731. + ## 2026-11-23 - **NUT's driver on `morpheus` retries for 14 seconds, not 6.** The *data diff --git a/docs/hardware.md b/docs/hardware.md index 784a41cd..6f8abbfc 100644 --- a/docs/hardware.md +++ b/docs/hardware.md @@ -380,8 +380,9 @@ for that ID. The UPS releases since 09.8 improve its handling of very weak batteries and its replace-battery indicator (09.9), and add a setting that locks firmware updates to chosen ports (15.0). This model can't update the UPS with its output on. [`update-the-ups-firmware.md`](runbooks/update-the-ups-firmware.md) -is the procedure for both, tracked in -[#1698](https://github.com/Gerrrt/HomeLab/issues/1698). The card answers HTTPS and SSH; its HTTP port is closed. Since 2026-11-24 +is the procedure for both. The card's update was +[#1698](https://github.com/Gerrrt/HomeLab/issues/1698), done; the UPS's is +[#1731](https://github.com/Gerrrt/HomeLab/issues/1731). The card answers HTTPS and SSH; its HTTP port is closed. Since 2026-11-24 its HTTPS serves a leaf from the estate CA, for an RSA key made on the card, and the `ups-ui` probe verifies it ([`generate-certificates.md`](runbooks/generate-certificates.md), *The APC card's leaf*). SSH stays on by the owner's decision of 2026-11-23. **Input sensitivity is diff --git a/docs/runbooks/update-the-ups-firmware.md b/docs/runbooks/update-the-ups-firmware.md index a7edcec7..c8ef17e8 100644 --- a/docs/runbooks/update-the-ups-firmware.md +++ b/docs/runbooks/update-the-ups-firmware.md @@ -8,7 +8,8 @@ so it means shutting down everything `mjolnir` powers. Do Part A when it suits you. Do Part B only inside a whole-estate outage that is already planned for something else. -Tracked in [#1698](https://github.com/Gerrrt/HomeLab/issues/1698). +Part A ran on 2026-11-24 under [#1698](https://github.com/Gerrrt/HomeLab/issues/1698), +now closed. Part B is tracked in [#1731](https://github.com/Gerrrt/HomeLab/issues/1731). ## Read this part first @@ -25,8 +26,8 @@ Tracked in [#1698](https://github.com/Gerrrt/HomeLab/issues/1698). utility only unpacks the package and copies the `.nmc3` to the card, which A.4 does by hand. The 2.5.x packages are no longer downloadable, so 3.6.1.2 is the only file there is. If the card refuses it, the card keeps running - what it had and nothing is lost: stop, and take it back to Schneider on - #1698. + what it had and nothing is lost: stop, and take it back to Schneider, + citing the support case recorded on #1698. - **No checksum is published for 3.6.1.2.** Earlier versions had a SHA-256 on Schneider's community page; this version's notes, there and in the PDF, have none. A.1 checks the package's Authenticode signature instead, and the @@ -103,11 +104,14 @@ END=$(date -u -d '+1 hour' +%Y-%m-%dT%H:%M:%SZ) for m in '{"name":"role","value":"ups","isRegex":false,"isEqual":true}' \ '{"name":"alertname","value":"Nut.*","isRegex":true,"isEqual":true}'; do curl -sS -X POST http://localhost:9093/api/v2/silences -H 'Content-Type: application/json' \ - --data "$(printf '{"matchers":[%s],"startsAt":"%s","endsAt":"%s","createdBy":"#1698 card firmware","comment":"#1698 mjolnir card firmware upgrade: the card reboots. Delete at A.5."}' "$m" "$START" "$END")" + --data "$(printf '{"matchers":[%s],"startsAt":"%s","endsAt":"%s","createdBy":"#NNN card firmware","comment":"#NNN mjolnir card firmware upgrade: the card reboots. Delete at A.5."}' "$m" "$START" "$END")" echo done ``` +Replace `#NNN` with the issue for the update; the silence collector reads +its owner from a comment that begins with one. + **Record both silence IDs.** A.5 deletes them. Pick a calm moment: while the card reboots, nothing can tell NUT about a @@ -192,7 +196,7 @@ so the house has no internet for the duration. ### B.2 Silence the estate and pause deploys Follow [`move-into-the-32u-rack.md`](move-into-the-32u-rack.md) §2 and §3, -with `#1698` in the silence's comment in place of `#919`. +with `#1731` in the silence's comment in place of `#919`. ### B.3 Shut the hosts down, in order @@ -268,7 +272,7 @@ button on a hypervisor with running guests. 6. On `morpheus`, `upsc mjolnir ups.firmware` reads `UPS 15.0 (ID20)`, and `UpsLowBatteryDurationShort` and `UpsRideThroughShort` are quiet. 7. Update [`hardware.md`](../hardware.md#management), add a changelog entry, - and close #1698 if Part A is also done. + and close #1731. ## If something goes wrong From 21c8b0659fa4b1e93f2dda5bfcd918d09a4c31e7 Mon Sep 17 00:00:00 2001 From: Garrett Allen <98648590+Gerrrt@users.noreply.github.com> Date: Tue, 24 Nov 2026 23:08:54 +0000 Subject: [PATCH 2/2] docs(runbook): the Schneider case is the owner's, not on #1698 Co-Authored-By: Claude Opus 5.5 --- docs/runbooks/update-the-ups-firmware.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/runbooks/update-the-ups-firmware.md b/docs/runbooks/update-the-ups-firmware.md index c8ef17e8..386a3ffe 100644 --- a/docs/runbooks/update-the-ups-firmware.md +++ b/docs/runbooks/update-the-ups-firmware.md @@ -27,7 +27,8 @@ now closed. Part B is tracked in [#1731](https://github.com/Gerrrt/HomeLab/issue A.4 does by hand. The 2.5.x packages are no longer downloadable, so 3.6.1.2 is the only file there is. If the card refuses it, the card keeps running what it had and nothing is lost: stop, and take it back to Schneider, - citing the support case recorded on #1698. + citing the owner's support case from 2026-11-24. Its number is kept with + the owner, not in this public repository. - **No checksum is published for 3.6.1.2.** Earlier versions had a SHA-256 on Schneider's community page; this version's notes, there and in the PDF, have none. A.1 checks the package's Authenticode signature instead, and the