device-add: the foreground landing runs netbird-mesh up before the guest's mesh daemon is up — a red 'setup key refused / netbird absent' for a join the standing service lands 20 s later #2013
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#2013
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
A VM-mode join on
bens-mac-04→ Whakatōhea Demo (2026-09-30, release 3061, code Helper) walked create → pair → approve, then the foreground install printed:Twenty seconds later the standing
idss-agent joinservice resumed the anchor and landed it cleanly —✓ joined the community network / ✓ community trust installed / ✓ this machine is enrolled, "resumed a stranded join whose terminal is gone" — and the device is enrolled (node-req-0002, mesh peer 1/1 connected). The owner was left with a red ERROR for a join that succeeded.Cause
Timing.
idss-guest.servicestarted at 22:32:00 (local); the operator approved at once;GuestMeshJoinrannetbird-mesh upover loopback SSH at 22:32:33 — 33 s after first boot, before the guest's netbird daemon was accepting its own RPC socket. "VM online" (DDR 0131) is the SSH hostfwd accepting, which says nothing about the daemon. The netbird CLI's "client gave up to connect" is exactly "no daemon yet"; the error text blames the setup key or a missing binary, neither of which was true. The resume at 22:32:54 hit a ready daemon and succeeded.Fix
GuestMeshJoinwaits for the daemon beforeup: pollnetbird-mesh status(or the daemon socket) over the same SSH until it answers, with a bounded budget (the guest boots in well under a minute), then runup. A refusal AFTER the daemon answers keeps today's setup-key/absent-binary text; "client gave up to connect" gets its own honest line ("the guest's mesh daemon is not up yet").Related
Sibling of #2002–#2007 (the same machine's first attempt). ADR 0223 §2 (GuestMeshJoin over loopback), DDR 0131 (readiness = hostfwd accepting).
swarm-claim host=matou-dev-server-01 run=36239
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #2013 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope