Maintenance: stuck state lock
maintenance-stuck-state-lock.mp4 (1:10, 720p, with sound): where state lives, and why you never unlock blind. It shows the intended flow; the lock ID and timestamps are illustrative.
| Time | Step | What happens |
|---|---|---|
| 0:00 | Wave 1 is applying | cell-01 is replacing its nodes with module 0.2.2. |
| 0:06 | 1 · The runner disappears mid-apply | The job dies; the lock it took on cell-01’s state stays. |
| 0:16 | 2 · The next pipeline | Error: Error acquiring the state lock, with Lock Info: ID, Path, Operation, Who, Created. |
| 0:28 | 3 · Check first | Confirm nothing is still applying to cell-01. Unlocking under a live apply can corrupt the state. |
| 0:38 | 4 · Release the lock | DELETE /projects/:id/terraform/state/cell-01/lock on the GitLab API, or tofu force-unlock <ID>. |
| 0:50 | 5 · Plan, review, apply | A fresh plan shows what the interrupted apply left undone. |
| 1:02 | Resolved | No code change: one lock released, one plan reviewed, one apply. |
Editing
- Editable page: https://claude.ai/artifact/2yfZ5LNkVN7afLVNoYd7ca (private to its owner until shared).
- Source:
source/, enough to rebuild the video if the page is gone. - How to edit, re-export and re-encode: Editing and re-exporting.
Last updated on