From 419b372bf1935bd1ccbf30cccbe050834379b374 Mon Sep 17 00:00:00 2001 From: Garrett Allen <98648590+Gerrrt@users.noreply.github.com> Date: Tue, 24 Nov 2026 02:49:05 +0000 Subject: [PATCH] docs(runbooks): build-heimdall installs the exporter without recommends apt's recommends chain from prometheus-node-exporter pulled in openipmi and smartmontools, which fail at every boot on a Pi 5 with no BMC and a microSD card. Both had been failed on heimdall since 2026-11-17. Install with --no-install-recommends, keep the collectors package by name, check systemctl --failed, and give the purge for a Pi built the old way. Co-Authored-By: Claude Opus 5.5 --- docs/changelog.md | 15 +++++++++++++++ docs/runbooks/build-heimdall.md | 18 +++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index 1b446926c..e171baee6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -17,6 +17,21 @@ roadmap as it read that day, and the *Done* entries keep the shape they had there. `check_docs.py` does not check this file, for the reason its module docstring gives: it is a record, not a claim about now. +## 2026-11-24 + +- **`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 - **`update-the-ups-firmware.md` is written, for #1698.** Reading the release diff --git a/docs/runbooks/build-heimdall.md b/docs/runbooks/build-heimdall.md index 4b48191a8..ae2912d67 100644 --- a/docs/runbooks/build-heimdall.md +++ b/docs/runbooks/build-heimdall.md @@ -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 +systemctl --failed --no-legend # nothing +``` ## 3. The reservation