standing: S4a rent 422s at DO droplet-create — just-registered SSH key not yet resolvable #1179
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1179
Loading…
Add table
Add a link
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?
The failure
Drive
drive-device/20260903T042240Z(targetdevice, commit8237a0db) reds on its first leg,standing, after 9.5s, and again onwizard-rent(8.1s). Both legs carry the identical fault — the rent was refused in place by the broker at stage S4a, so the journey never reached S5 (provision), never stood a droplet up, and never got near pairing.artifacts/verdict.json:artifacts/legs.json(both entries, verbatim;artifacts/journey.jsonrepeats it as the drive'sfault):This is not the drive's known frontier.
legs.jsonrecords zero skips and no skip reasons at all — the own-VPS carrier issue that keeps pairing from flipping is downstream of S5 and was never reached. This red is a new, upstream stop.The app-side surface was correct
artifacts/journey.device-*/error-context.mdpage snapshot shows the wizard parked cleanly on the rent step with a retriable error, not a crash or a hang:logs/founding-state.logcorroborates:"founded": false, draft parked at"step": "access"forrehearsal-e.idss.nz. The operator app raised the rent, surfaced the broker's own words, and offered Retry — nothing to fix there.Evidence that is absent (and why)
logs/device-do-forensics.txtends=== DO API: no droplet at 170.64.219.52 in this account — it is already gone ===, with3 packets transmitted, 0 receivedandtcp/22: no fresh connect inside 5s. That IP is stale state from an earlier drive, not this one's box.logs/droplet-journal.txt. The device-side harvesters all produced ssh-timeout stubs against that same stale IP:ssh: connect to host 170.64.219.52 port 22: Connection timed outindevice-journal.txt,device-units.txt,device-caddy.txt,device-keri.txt,device-stall.txt.logs/broker-journal.txtis a refusal:dev@100.98.48.68: Permission denied (publickey).— the executor is off the admin mesh (ADR 0208, #681). This is the load-bearing gap: the broker's own timeline of the key POST and the create POST is exactly what would confirm the mechanism below, and it is missing.guest-journal.log-- No entries --,guest-unit-file.logNo such file or directory,guest-failed-units.log"the guest was never created",qemu.logno process,state/empty,clan-config-snapshot.log"a drive that never built one".Suspected layer — the deployed broker's DO provider (product/infra), not harness, not app
The rent ran against the live broker, so the DO calls happen on the broker droplet, not the executor. This run's healer record (
logs/healer-claude.out) checked all three links against the live DO account and reports:state/rent-operator/id_ed25519.pubhas MD5f3:5d:78:…:a8:46— byte-for-byte the fingerprint DO refused, so the fingerprint computation is right;59072583, nameidss-gateway-rehearsal-e-dac8— so the key POST succeeded;GET /v2/account/keys/f3:5d:…resolves 200 — MD5 fingerprints are still valid DO key identifiers.(These three checks are from the healer's log, not re-verified here — the broker source and the sibling
standing-rented/state are outside this session's read scope.)Key registered, identifier form valid, create refused. The remaining explanation is read-after-write: at the moment of
POST /v2/dropletsthe create validator had not yet observed the key registered milliseconds earlier byensureSSHKey. The create POST deliberately bypasses the retry policy (ADR 0047 / #682 — a 5xx replay could leak a second box), so a 422 there is terminal with no settle window. That makes it the one hop in the same DO-propagation family as #677 and #672 that never got a settle gate.What plugging this needs
GET /v2/account/keys/{fingerprint}(which can ride the existing retry policy) until it resolves, then create. This adds no retry to the droplet-create POST, so the ADR 0047 / #682 fence stays intact. Optionally also carry DO's own numericssh_key.idout of the POST response instead of the locally-computed fingerprint, though the id alone does not dodge propagation lag.broker-deployrail runs, and the unit tests stub DO viahttptest, so they pass either way.59072583is stranded: key reaping resolves the key from its droplet, and here no droplet ever existed — one stale key per red rent of this shape (#708 family).s4aRentfault check would hide a real broker defect.drive
20260903T042240Zred atwizard-rent:S4a rent was declined in place by the broker (rent-error), never reaching S5 — provision — broker: DigitalOcean refused: Unprocessable Entity: {"id":"unprocessable_entity","message":"f3:5d:78:b6:3evidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260903T042240Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedDuplicate of #1178 — same drive (20260903T042240Z), same fault, byte-identical DO refusal; the healer-refusal filing and the reporter filing raced each other (the leg::error dedup evidently does not span the two filing paths — noting here rather than minting a third ticket; if a future drive double-files again, that's the ticket). The fix landed as
0fc29770and deploy-then-close is tracked on #1178.