carlos / platform Public

Region HA verb: US roll refused after revoke when the status read timed out open

Found in the v0.39.0 flagship window (2026-11-19, #421), US HA group carlos-flagship-us-ha, move 2 (member i-01115efe8f6472d0e, transaction e694e6cd74471e16b231b2b9cb35f965). Operator CLI v0.39.0, member on v0.39.0 by then. A builder please says whether this is a verb bug or expected.

What happened. Every step through revocation succeeded, then the read-back after the revoke failed, and the verb refused with the transaction open:

prepare / lower-minimum / enter-standby / drain / mutation / local-verification / return / restore-minimum / revocation: i-01115efe8f6472d0e
ALERT: An AWS response is unavailable or invalid
Refused: The command on the member returned no complete result

Journal timeline (the transaction's v2 journal, UTC):

  • 05:50:47.565 session fence-clear -> response 05:50:50.136; fence-cleared, returned.
  • 05:50:50.156 minimum -> 2, response 05:50:50.723. Both target groups healthy for the member from 05:50:42.
  • 05:50:51-05:50:56 two status sessions, each about 2.2 s, readiness recorded.
  • 05:50:56.541 session revoke, opened 05:50:56.884, response {} at 05:50:58.938.
  • 05:50:58.947 session status, opened 05:50:59.298, error "Uncertain" at 05:51:13.959 (14.7 s; every other status session in the move took about 2.2 s).
  • 05:51:13.968 terminate_session, response 05:51:14.287; alert at 05:51:14.295; the verb exits refused.
  • 05:52:54 carlos system group resume once: group and targets read, two status sessions of about 2.2 s each, readiness, report, done at 05:53:03. Summary: longestholdms 3,212, hostsmoved 4, todaysanswer 0, "Member returned and permit revoked".

State during and after. No traffic effect: the reference-scored probe on one US NLB address was 1,069/1,069 over the move and 30/30 over the resume; a separate HA app watched through both moves had 0 non-2xx; every lock marker written in the move is CLEAN. After the resume, group-maintenance status on the member: fence absent, waiting null, permit absent.

Questions for the builder.

  1. The revoke had already answered {} when the post-revoke status read hit Uncertain. Should a revoke whose response arrived count as done, so that only the read-back is retried, rather than leaving the transaction open?
  2. The ALERT text says an AWS response is unavailable or invalid, but the failing call was an SSM session to the member. Is the wording right for this case?
  3. The roll card says the verb retries "An AWS response is unavailable or invalid" itself from v0.34.46. It did not retry here. Is that because the failure was in the session read rather than an AWS API answer?

The journal file is on docs-t1 under ~/.carlos-group-state/carlos/group/8aeeac284bd42209e4d63026d2542572/e694e6cd74471e16b231b2b9cb35f965.v2.jsonl; the verb's output is in ~/.cache/group-roll-go/w/rel-us/roll39us-i-01115efe8f6472d0e.txt and resume-e694e6cd74471e16b231b2b9cb35f965.txt.

Fixed in 78938379 (merged, not released).

Why 14.7 s. The status session hit its 15 s local bound (journal error row: {"timeout": true}). Across all 110 journals on docs-t1, 74 other post-revoke status reads took 0.6 to 2.6 s; one other status read anywhere took more than 4 s (11.8 s, after a 900 s drain on 11-14). SSM's record shows this session alive until our TerminateSession (ended 05:51:18) with no output logged, so a slow box and a stalled stream can't be told apart from here. The box side is bounded at about 8 s (agent status 5 s, two 1 s systemctl reads, 1 s health), not a lock wait (status takes the apply flock non-blocking).

Answers.

  1. The revoke already counts: its response is journaled, and resume only re-reads status, sees the permit absent and closes, as yours did. What was missing was a second look. The verb now asks that read once more when it is Uncertain (finish_return, and rollback's revoke of a remaining apply permit). A Refusal or a second Uncertain still stops with the transaction open. Spec V21.
  2. No, the wording is wrong for this case: after any operation error, stopDecision (roll.go) alerts with the decider's generic api reason. Smallest fix (Astra agrees): alert with reasonOf(opErr) in that branch, so this case reads "The command on the member returned no complete result". Not in this change; a follow-up for whoever takes it.
  3. Yes. V17/V18 retry AWS reads only; box sessions were single-attempt by design. V21 makes this one read the exception.