standing: gateway deploy red — DNS-01 delegation absent, both TLS doors never answer #904
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.
Dependencies
No dependencies set.
Reference
Matou/idss#904
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
artifacts/verdict.json—"verdict": "red","firstRedLeg": "standing",{"total": 17, "green": 15, "red": 2, "skip": 0}. The two reds inartifacts/legs.jsoncarry the same error, andstandingis the wrapper: the leg that actually burned isactivation("ms": 648090).This is not the KNOWN frontier.
legs.jsonrecords"skip": 0— it names no out-of-scope leg at all — and pairing did flip:{"leg": "pair", "status": "green", "ms": 96}, corroborated bylogs/founding-state.log:817— "paired — the community name was aimed at the server before install, so the public reachability check is skipped; the gateway deploy begins". The own-VPS carrier issue is not what killed this drive.The deploy got all the way to the last door.
logs/founding-state.log:61-96— every stepdoneexcept one:The evidence
1. Neither door ever answered — and neither ever came close.
logs/founding-state.log:143–615, 119 logged probes, all identical in shape:I checked this myself:
grep -cfor the two-name pending set returns 119, and grepping for anynot answering yetline without both names returns nothing. The pending set never shrank by a single name across the whole ~600 s budget. That rules out the app's own stated theory.2. The app's fault text blames a budget, and offers a retry.
logs/founding-state.log:633-637:The apex-lags-wildcard story requires one name to answer before the other. Neither did.
kindis literally"unknown"— the app is guessing, and the guess is wrong.3. The box was alive the whole time; only the door was shut.
logs/gateway-do-forensics.txt— droplet595628182/idss-gateway-rehearsal-c-fe92status: active, onecreateaction and nothing else (no DO-side power_cycle/resize),0% packet loss, andtcp/22: a FRESH connect succeeded — the box answers, whatever ssh did.What is absent
logs/droplet-journal.txtdoes not exist. This drive writeslogs/device-journal.txt(the clan-lab device box) andlogs/gateway-journal.txtinstead.The gateway journal is empty of gateway. All four gateway captures are the same two lines —
logs/gateway-journal.txt,-units.txt,-stall.txt,-caddy.txt:Against
tcp/22: a FRESH connect succeededin the same run's forensics, "unreachable?" is a misread: the harvest dialledroot@<ip>with no identity, so the rented gateway — which trusts only the app's rent-operator key — refused it. The drive kept zero evidence off the one box that failed. (logs/healer-claude.outreports this harness hole fixed at commit8f5ae592; that fix is not in this run dir's own logs.)artifacts/journey.jsonis{"rows": null, "fault": null}— the device-add journey never reached its founding rows, as expected whenstandingreds.logs/broker-journal.txt—dev@100.98.48.68: Permission denied (publickey); off the admin mesh from this executor, absent by design (ADR 0208, #681). This matters: the broker is the prime suspect and its journal is exactly what is missing.No live-box section was appended to this diagnosis. I was given no access line, and this session's sandbox refused both an authoritative
digagainst the zone and any read outside the run directory, so I could not independently re-verify the DNS state or the repo claims below. Everything in the next section comes fromlogs/healer-claude.outin this run dir — a prior agent's live harvest, reported as such, not confirmed by me.Suspected layer — infra (the live broker), with a product tail
Per
logs/healer-claude.out, harvested live off the still-standing gateway with the rent-operator key:07feca20-5f4c-4c51-a570-24c0f7fc4c70.acme.rehearsal-c.idss.nzat 14:58:36.388Z; the control plane re-pointed 1.6 s later (14:58:37.991Z,address heartbeat: … community record re-pointed ip=168.144.172.20) — so the challenge value existed and was carried.dig @andy.ns.cloudflare.com:_acme-challenge.rehearsal-c.idss.nz CNAME rehearsal-c.idss.nz.— pointing at the apex, not the fulldomain;acme.rehearsal-c.idss.nz NSNODATA; no glue A. Only the two challenge-independent records of the five-record set are live, and the challenge CNAME that is live names the wrong target.acme-dns-gateat15:03:40said so out loud: "_acme-challenge.rehearsal-c.idss.nznever resolved to07feca20-…on all of [1.1.1.1 8.8.8.8] within budget — releasing Caddy anyway (fail-open)".tls.obtain … timed out waiting for record to fully propagate, for both*.rehearsal-c.idss.nzandrehearsal-c.idss.nz, still retrying (attempt: 7,elapsed: 2651s) long after the drive gave up. A larger door budget cannot fix this — it would only burn more wall-clock, which is exactly what the app's "resume the deploy" advice would do.That is the dead end GOTCHAS #28 was opened for, whose own deploy gate reads: the LIVE broker runs from
/usr/local/bin/idss-broker— a repo landing does NOT change it; the broker must be REBUILT AND REDEPLOYED before any drive can green. A second fault on the same host points the same way:/v1/gateways/renewreturned 502 on all 11 passes, 14:58:39Z → 15:53:40Z, withDigitalOcean refused: Forbidden … You are not authorized to perform this operation— a stale/under-scoped credential on the broker host. The rented lease is therefore never renewed.What plugging it needs
dev@100.98.48.68,ourcloud-broker.service, off-mesh from this executor): identify which build/usr/local/bin/idss-brokeris, and read its journal for14:58:37Z— whether the point request arrived withAcmeChallengenon-empty is the one check that splits stale build from challenge dropped in transit. Rebuild and redeploy at the #508 five-recordPutRecordsif stale._acme-challenge.rehearsal-cis a live wrong-target CNAME, not a missing record — whatever writes the set must replace it./v1/gateways/renew→ 403)._acme-challenge.<slug>naming the gateway's per-boot acme-dns fulldomain.founding-state.log:637) tells the operator this is a cold-start budget and to resume the deploy — advice that fails forever against a dead delegation, and it ships"kind": "unknown"whileacme-dns-gatealready knew the truth at15:03:40. Feed the gate's fail-open verdict into the deploy failure so the fault names the missing delegation instead of a budget.8f5ae592(gateway evidence dialled with the rent-operator identity) is on the branch drives run from — otherwise the next red is blind in exactly the same place, and "gateway unreachable?" will again contradicttcp/22: a FRESH connect succeededin the same run dir.drive
20260827T144343Zred atstanding:the gateway deploy failed — The gateway deploy failed. [There is no old operating system to roll back to — this server was rented fresh for the community, so nothing of yours was overwritten.]evidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260827T144343Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedRuled by agent under ADR 0174 (the watch's hands) — veto anytime: closing as a duplicate of #905, in #905's favour.
Same drive (
20260827T144343Z), same verdict (15 green / 2 red / 0 skip), same burned leg (activation, 648 090 ms), same error, same diagnosis (DNS-01 delegation absent → neither TLS door answers). The two tickets differ only in theirrehearsal-sig—25304f657c24here is thestandingwrapper's signature,4c82deb1e678on #905 isactivation's — becausestandingwraps the prefix and records the inner leg's failure as its own. One fault, two leg keys, two filings.#905 is the keeper: it is already
agent-workingand carries the fuller evidence, including the proof that this is not the known own-VPS frontier (skip: 0, no skip reasons recorded, andpairgenuinely flipped green at 96 ms, corroborated bylogs/founding-state.log:817).Confirmed live from the watch while closing this:
dig NS acme.rehearsal-c.idss.nzagainst the authoritative nameserver returns empty — the delegation really is absent, not merely unobserved. (An NS query is the honest probe for this zone:*.idss.nzhas a wildcard A record, so any name resolves and an A-record test proves nothing — see #887 for the full trap.) Gateway168.144.172.20(droplet595628182, rented 14:45) is still standing if anyone wants to readacme-dns-registerand Caddy on the box directly.This is the third duplicate pair today — #885/#886, #898/#899's overlap, and now #904/#905. Every one has the same cause: a red inside a wrapped leg gets filed once per leg key. Worth a reporter fix so it dedupes on the inner leg rather than the wrapper; filed as a note here rather than a ticket while the drive is mid-flight.
#854 is now blocked on #905 alone.