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
12 changes: 12 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ docstring gives: it is a record, not a claim about now.
sensitivity is now medium, and group 1's load-shedding values are set so
they cannot fire. Group 1's overload shed and every group's delays are
still not read.
- **`build-heimdall.md` installs the exporter without apt's recommendations.**
`openipmi.service` and `smartmontools.service` had been failed on `heimdall`
since its first scrape on 2026-11-17, through the 2026-11-21 reboot.
`prometheus-node-exporter` recommends the collectors package, which
recommends `ipmitool` and `smartmontools`, and `ipmitool` recommends
`openipmi`. The Pi has no management controller and its card reports no
SMART data, so both fail at boot. Nothing alerted: `SystemdUnitFailed`
reads Alloy's journals, and `heimdall` runs no Alloy. §2 now installs with
`--no-install-recommends`, names the collectors package so the apt and
reboot metrics stay, checks `systemctl --failed`, and gives the purge for a
Pi built the old way. That purge is still to run on `heimdall`, from the
Mac, since `prometheus` reaches it only on 9100.

## 2026-11-23

Expand Down
18 changes: 17 additions & 1 deletion docs/runbooks/build-heimdall.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,27 @@ Expect `passwordauthentication no`, `permitrootlogin no` and
## 2. Updates and the exporter

```bash
sudo apt update && sudo apt install -y unattended-upgrades prometheus-node-exporter libnss3-tools
sudo apt update
sudo apt install -y --no-install-recommends unattended-upgrades \
prometheus-node-exporter prometheus-node-exporter-collectors libnss3-tools
systemctl is-active prometheus-node-exporter # active
systemctl --failed --no-legend # nothing
```

`unattended-upgrades` installs security updates daily, Chromium among them.
The collectors package adds the textfile metrics for pending upgrades and a
pending reboot. Without `--no-install-recommends`, apt also brings in what
it recommends for a server: `ipmitool`, which pulls in `openipmi`, and
`smartmontools`. A Pi has no management controller and its card reports no
SMART data, so `openipmi.service` and `smartmontools.service` fail at every
boot. The first build, on 2026-11-17, left both failed. On a Pi built that
way:

```bash
sudo apt purge -y openipmi ipmitool smartmontools
sudo systemctl reset-failed openipmi.service smartmontools.service
systemctl --failed --no-legend # nothing
```

## 3. The reservation

Expand Down