Support automatic VM lock freeing #48
Loading…
x
Reference in New Issue
Block a user
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?
If a VM failed in some obscure way, PVC should provide a mechanism for freeing the RBD locks at a VM level (i.e. unlock all disk images belonging to VM
X
). Frontend both in CLI, API, and useful during some automated events (maybe clear on start if safe?).Added this as a CLI/API command (
pvc vm flush-locks
orPOST /api/v1/vm/<vm>/locks
), plus the already-existent on-fence lock freeing. This should be robust enough and without getting into the potential headaches of automated lock freeing.closed