Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions docs/hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 11 additions & 6 deletions docs/runbooks/update-the-ups-firmware.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -25,8 +26,9 @@ 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 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
Expand Down Expand Up @@ -103,11 +105,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
Expand Down Expand Up @@ -192,7 +197,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

Expand Down Expand Up @@ -268,7 +273,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

Expand Down