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 @@ -19,6 +19,14 @@ docstring gives: it is a record, not a claim about now.

## 2026-11-22

- **`gandalf`'s two audit leftovers are cleared
([#421](https://github.com/Gerrrt/HomeLab/issues/421)).** This corrects the
audit-fixes entry below, which recorded both as still open.
`build-the-lab-templates.md` deletes the `PhoenixIsoCleanup` role that the
2026-11-09 revoke had left defined with no ACL, and `build-the-playground.md`
§1 removes the empty `local-lvm` thin pool, since nothing of the range goes
on the M.2; its 141 GiB stays free in the `pve` volume group. Both ran on
`gandalf` that night.
- **`gandalf` stays on, and the attack VM stops on a timer instead
([ADR-0125](adr/0125-keep-gandalf-on-and-stop-ragnarok-on-a-timer.md),
[#1647](https://github.com/Gerrrt/HomeLab/issues/1647)).** ADR-0125
Expand Down
12 changes: 12 additions & 0 deletions docs/runbooks/build-the-lab-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,18 @@ and 910 with this section and §5b to clear it.
pveum acl delete /storage/local --users phoenix@pve --roles PhoenixIsoCleanup
```

The revoke left the role itself defined on `gandalf`, with no ACL using
it. The 2026-11-22 audit found it there. Nothing on the range uses it, so
delete it too:

```bash
pveum acl list | grep -c PhoenixIsoCleanup
pveum role delete PhoenixIsoCleanup
pveum role list | grep -c PhoenixIsoCleanup
```

Both counts should be `0`. Deleted on `gandalf` 2026-11-22.

That paste went first into a zsh on `phoenix`, where `pveum` does not
exist, and the paste handling turned every space after the first line
into a literal `\s`. Nothing ran there. Paste into the node's **Shell**
Expand Down
25 changes: 25 additions & 0 deletions docs/runbooks/build-the-playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,31 @@ pick it in the *Storage* field when creating each VM, and §6's `clean`
snapshot is then a ZFS snapshot on that pool. Nothing of the range goes on
the M.2.

So the installer's `local-lvm` has no use here, and a storage that can hold
guest disks is one a guest can be put on by mistake. Remove it, after
checking that nothing is on it and no guest names it:

```bash
lvs --noheadings -o lv_name,pool_lv pve | awk '$2 == "data" { print }'
grep -l local-lvm /etc/pve/qemu-server/*.conf /etc/pve/lxc/*.conf 2>/dev/null
pvesm remove local-lvm
lvremove -y pve/data
pvesm status; vgs pve
```

Both of the first two commands should print nothing. The `awk` lists every
thin volume whose pool is `data`, and there must be none — `Data%` would read
`0.00` even if one existed, because an unwritten thin volume uses no data
blocks, so the list of volumes is the check, not the usage. The `grep` is the
second belt: no guest config names `local-lvm`.
After it, `pvesm status` lists `local` and `range` only, and the M.2's
141 GiB is free space in the `pve` volume group. It is left there rather
than grown into `/`, because ext4 does not shrink while mounted, and
nothing on the host needs the room.

> **Ran on `gandalf` 2026-11-22**, from the audit that day, which found the
> thin pool empty and named by no guest.

**Cap ZFS's read cache.** The installer limits the ARC only when the root is
ZFS, and here it is not, so by default ZFS may take half of RAM: 16 GB of
the 32 the range's guests need. Four GiB is plenty for one pool:
Expand Down