Skip to content

docs(range): delete gandalf's PhoenixIsoCleanup role and empty local-lvm - #1653

Merged
Gerrrt merged 2 commits into
mainfrom
gerrrt/gandalf-leftovers
Nov 23, 2026
Merged

Gerrrt merged 2 commits into
mainfrom
gerrrt/gandalf-leftovers

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 23, 2026

Copy link
Copy Markdown
Owner

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 the PhoenixIsoCleanup role. The 2026-11-09 revoke left it defined, with no ACL using it.
  • build-the-playground.md §1: removes the installer's empty local-lvm thin 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 the pve volume 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

gandalf only, and both are already done there:

  • pveum role list and pveum acl list show no PhoenixIsoCleanup.
  • pvesm status lists local and range.
  • pvestatd, pvedaemon and pveproxy are active, with no warnings and no failed units.

Before removing the pool, I checked that nothing used it: the thin pool read 0.00 and no guest config named it.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

  • make validate passes. It wasn't run, because this Mac has no docker daemon. What ran:
    • python3 scripts/check_docs.py: docs OK.
    • markdownlint-cli2 0.24.1 on the changed files: 0 issues.
    • Docs only, so lint's other tools have nothing to check.
  • Deployed to the lab and confirmed working. Both steps ran on gandalf exactly as written, with the read-back above.
  • Docs updated

🤖 Generated with Claude Code

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>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 04:13
@Gerrrt
Gerrrt enabled auto-merge (squash) November 23, 2026 04:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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 PhoenixIsoCleanup role.
  • 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

Comment thread docs/changelog.md Resolved
Comment thread docs/runbooks/build-the-playground.md Resolved
…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>
@Gerrrt
Gerrrt merged commit 506a21f into main Nov 23, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the gerrrt/gandalf-leftovers branch November 23, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants