Guarded Octelium NFS retirement and recovery receipt added
This push adds a formal recovery receipt procedure and guarded retirement logic for the six Octelium NFS volumes, ensuring data is preserved before any PV records are removed. The runbook now captures the receipt generation step, and the retirement script validates the receipt before proceeding.
Recovery receipt generation in the Octelium runbook
The openwiki/runbooks/octelium.md patch inserts a new subsection titled “Released Octelium NFS volume records” that walks through saving a private receipt containing the Kubernetes PV UIDs, claim references, NFS server details, StorageClass, and reclaim policy for all six volumes. The receipt is written to a temporary file outside the checkout and retained after the PV objects are deleted. A dry‑run helper later verifies that exactly six reviewed Retain volumes match the receipt before any retirement action.
Guarded retirement script updates
The scripts/cordium-genesis-recovery.py file receives several guardrails: the retirement function now expects a receipt that lists all six claimed PV entries, adds a RETAINED_PV_CLAIMS set mapping namespace‑and‑claim pairs, and introduces a resource_version precondition to delete_with_uid to avoid stale‑object conflicts. The verification error message was updated from “A bootstrap identity resource remains” to “A retired resource remains after guarded deletion” to reflect the new guard.
Platform pattern for future storage retirements
The same structure—generate a receipt, record it in the runbook, then run a guarded script that validates the receipt before deleting resources—can be reused when retiring other long‑running NFS or cloud‑provider volumes. The guardrails (receipt size check, resource‑version precondition, updated error text) prevent accidental loss of active claims and give operators a clear audit trail.