rented founding: the first control-plane switch burns ~4 min behind the acme-dns gate and exits status 4 on idss-mesh-self-admit's first attempt — publish the delegation at claim and bound the client wait so the switch exits 0 (phase-9 drive refinement) #1500
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#1500
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?
Symptom
Every founding on a rented gateway spends ~4 minutes inside the first control-plane switch, and that switch then exits status 4 (a unit it started failed), so
clan-switch-gateway-*.serviceendsFailed with result 'exit-code'and the founding's apply has to re-switch to converge. Activation still goes green — this is time and a lying failure, not a broken founding. Seen on every phase-9 fire (#1491, 5/5) and it is not new: GOTCHAS #126 (drive20260829T213942Z) documents the self-admit half.Two runs, from the harvested
logs/droplet-journal.txt(both on matou-workstation undertest-results/drive-rented-services/):20260915T155605Znetbird upDeadlineExceeded 16:06:3720260915T164205ZIn both the box re-switches 1 s later (2 s, clean) and
idss-mesh-self-admitfinishes on its restart (16:06:42 / 17:09:18 — "the gateway's own peer joined its mesh plane on wt0"). Fire 2's self-admit failure was thenetbird upclient call deadlining against its own daemon (daemon up failed: call service up method: rpc error: code = DeadlineExceeded), i.e. past GOTCHAS #126's "wait for the management API" guard — a second readiness hole, one layer down.Two costs, two questions
acme-dns-gate(#554 / ADR 0014). Caddy is ordered after the gate, the gate polls the pinned resolvers (1.1.1.1, 8.8.8.8) until_acme-challenge.<slug>.idss.nzis live, andswitch-to-configurationwaits for every unit it starts. That is DNS propagation of a delegation the box itself only registers at first boot (acme-dns-register.service). The rented path already knows the slug at claim (the wizard claims before it rents —claim→wizard-rentlegs) and the drive even seeds a held cert store pre-deploy (#724) — yet the first switch still pays the full propagation wait behind the gate. Question: can the delegation be published at claim/rent time (broker side, the moment the slug is reserved) so it is already resolvable when the box first switches — or can Caddy start behind the gate without holding the switch (the gate as a CaddyExecStartPre/wait rather than aBefore=of the switch's own job set)?idss-mesh-self-admitfailing its first attempt and being rescued by its restart — exactly the "retry loop that PRINTS" GOTCHAS #126 rules against, now from the netbird clientupdeadline rather than the management API bind. Question: bound the wait for the daemon the same waymintSelfOncePlaneAnswersbounds the wait for the plane (control-plane/cmd/control-plane/mesh_self_admit.go), so the unit's first attempt succeeds and the switch exits 0.Acceptance
failed (status 4), noclan-switch-gateway-*Failed with result) — provable fromlogs/droplet-journal.txtof the next rented / rented-services drive.clan-switch-gateway-*.service: Consumed … wall clock timeline, before/after.Evidence
Phase 9 drive #1491 (GREEN 2026-09-15), runs
20260915T155605Zand20260915T164205Zon matou-workstation. GOTCHAS #126. ADR 0014 (acme-dns), ADR 0159 (mesh ordering).swarm-claim host=matou-dev-server-01 run=24733
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1500 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope