Repository navigation
docs(range): delete gandalf's PhoenixIsoCleanup role and empty local-lvm - #1653
Merged
Merged
Conversation
The audit's last finding. build-the-lab-templates.md deletes the role the 2026-11-09 revoke left defined; build-the-playground.md §1 removes the empty thin pool, since nothing of the range goes on the M.2. Both ran on gandalf. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
The changelog rewrites an immutable entry, and the runbook’s checks can miss existing thin volumes before destructive pool removal.
2 open issues
What changed in this PR
Documents the final cleanup from gandalf’s November 22 audit, adding repeatable runbook steps for two unused resources left after the earlier range work.
Changes:
- Adds deletion and verification steps for the unused
PhoenixIsoCleanuprole. - Documents removal of
local-lvm, leaving its 141 GiB free in the volume group. - Updates the audit changelog to report both cleanups as completed.
| File | Description |
|---|---|
| docs/runbooks/build-the-playground.md | Adds checks and removal commands for the unused thin pool. |
| docs/runbooks/build-the-lab-templates.md | Adds cleanup of the role left behind after access revocation. |
| docs/changelog.md | Records completion of the remaining audit cleanup. |
Review effort: Balanced
…y volume list Review on #1653: - Restore the #1652 audit-fixes changelog entry verbatim and record the leftovers cleanup in a new dated entry that names it, per the changelog's own immutability rule. - The local-lvm removal now lists the data pool's thin volumes and requires none, instead of reading Data% 0.00 (which an unwritten thin volume also shows). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changed
This clears the last finding of the 2026-11-22 audit of
gandalf: two leftovers that no runbook step covered.build-the-lab-templates.md: deletes thePhoenixIsoCleanuprole. The 2026-11-09 revoke left it defined, with no ACL using it.build-the-playground.md§1: removes the installer's emptylocal-lvmthin pool. Nothing of the range goes on the M.2, and a storage that can hold guest disks is one a guest can land on by mistake. The 141 GiB stays as free space in thepvevolume group, not grown into/, because ext4 can't shrink while mounted.docs/changelog.md: the audit entry now says the finding is cleared. It still says the Kali ISO is packer's input, not a leftover.This was meant for #1652, but #1652 merged before it was pushed.
Why
A fresh audit would still have reported both. Neither had a runbook step, so removing them by hand would have left the repository unable to say why they're gone.
Refs #421.
Blast radius
gandalfonly, and both are already done there:pveum role listandpveum acl listshow noPhoenixIsoCleanup.pvesm statuslistslocalandrange.pvestatd,pvedaemonandpveproxyare active, with no warnings and no failed units.Before removing the pool, I checked that nothing used it: the thin pool read
0.00and no guest config named it.secrets/*.sops.yamlVerification
make validatepasses. It wasn't run, because this Mac has no docker daemon. What ran:python3 scripts/check_docs.py:docs OK.markdownlint-cli20.24.1 on the changed files:0 issues.gandalfexactly as written, with the read-back above.🤖 Generated with Claude Code