carlos / platform Public

Merge branch 'main' of https://amadan.net/carlos/platform into g6-capacity-applied

claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 922ad8752485773b26af29bb55f7b500dd06409c parent fd52a88parent 61138f6
1 file changed, +10 −0
  • docs/region-ha-runbook.md +10 −0

CI passed — run details

diff --git a/docs/region-ha-runbook.md b/docs/region-ha-runbook.md
index ed1107d1e..b36721505 100644
--- a/docs/region-ha-runbook.md
+++ b/docs/region-ha-runbook.md
@@ -321,6 +321,16 @@ If the box role itself must read it, widen `ssm_parameter_arn` to include that o
2. If it is a group member, terminate it in its group with `--no-should-decrement-desired-capacity`.
3. Never terminate a fixed box without a separate decision. Check its storage access and its agent first.
+## A host waits 15 minutes after an unclean release
+
+When a box lets a host go without a clean release, after the host's database had started replicating, no box can wake the host again until 15 minutes after that release. Requests to the host get 503 with a `Retry-After` that counts down to that time.
+
+This happens when the release's final sync fails or times out, when the write fence stops an instance during a storage outage, or when the upload of the host's files fails or runs out of time. The wait gives any upload the old box still had in flight time to land before another box starts writing the same data.
+
+The host's lock reads `released/v1;…`, its `carlos_release` has `"clean": false` and neither `"settled": true` nor `"finalized": true`, and the journal of the box trying to wake it says `LEASE HELD` by that `released/v1` owner.
+
+Nothing: the host wakes on the next request after the 15 minutes. Do not edit or delete the lock to hurry it, because that is exactly the race the wait prevents. If a host waits like this after every sleep, its release keeps failing at the same step. The old box's journal has the release error, starting `files:` or `final sync:`, which says which step failed and why.
+
## Install chrony on a fixed box
Before G3 step 4 on the G3 card, install chrony on each named fixed box during an attended maintenance window. Use the reviewed `scripts/region-ha-g3/chrony-fixed-box.sh` through SSM as root, with approval for the named box. Group boxes already configure Amazon Time Sync at first boot.