fix: recover stuck local-path PV deletion #588
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/infrastructure#588
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The cluster has three local-path PersistentVolumes stuck in
Releasedwith aDeletereclaim policy. Two belong to retired Forgejo runner claims and one belongs to a retired OpenClaw claim.The local-path provisioner has emitted more than a thousand
VolumeFailedDeleteevents over about 12 days because its cleanup helper pods are reported as not found. The failed cleanup leaves stale volume records and may leave backing directories on the node.Scope
Acceptance
VolumeFailedDelete.Resolved on 2026-08-25. Same three PVs this describes.
The event count had reached 2,629 each before deletion, up from the number recorded here, so this was still accumulating.
Verified safe first: the live
data-forgejo-runner-0and-1claims are Bound to different, newer PVs, theopenclawnamespace no longer exists, and none of the three data directories were on disk. That last one needed the privileged node-stats volume scan, because/var/lib/rancher/k3s/storageis0700 rootand atest -daskaireturns a false negative either way.Patched
persistentVolumeReclaimPolicytoRetainso the provisioner stopped retrying a delete that could never succeed, then removed the three PV objects.After:
VolumeFailedDeletegeneration stopped at the moment of deletion, 41 PVs Bound, 0 Released, all runner PVCs still Bound.Worth recording for the backlog
This defect had five open issues covering it: this one, #810 or #588 (whichever you are not reading), #863, #901, and part of #846. I closed #863 and #901 earlier today without checking for older duplicates, which is exactly the failure a dedup pass would have caught. Closing the rest now.