self-hosted full-install deploy never supplies the control-plane binary — idss-control-plane.service crash-loops on a missing /srv/idss/bin/control-plane, deploy-takeover burns the full 25m ceiling #631
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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#631
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?
Failure. Drive
20260821T040447Z, legdeploy-takeover, signature800a2936720b.journey.selfhosted.spec.ts:368times out after 1,500,000ms waiting for[data-status="deploy-live"]/hand-off/deploy-failed— none ever renders (Playwright snapshot still shows thedeploy-gatewaypending placeholder,FoundingDeployGateway.vue:27-28, meaningstandup.deploystayednullthe whole leg).Evidence.
state/founding-state.json:standup.step == "deploying",standup.deploy == nullfor the entire run — the deploy-status object was never built/published, even thoughstandup.events(same file) shows the underlying takeover ran to completion:install · kexec/disko/install/reboot: complete, thenenroll-activate:"the overwritten host came back a clan member","the device is a clan member".logs/droplet-journal.txt(tail):idss-control-plane.serviceis crash-looping (restart counter over 210 by the time the leg gave up):idss-control-plane-start[…]: /srv/idss/bin/control-plane: No such file or directory,Main process exited, code=exited, status=127/n/a, repeating every ~5s. The control-plane binary was never copied onto the box, so the unit can never come up, so the deploy can never reachlive.Root cause.
/srv/idss/bin/control-planeis created by the fleet supply step (internal/fleetwire/supply.goSupply.Seed,founding.GuestSupplyinterface), which is called explicitly on the two OTHER full-install paths —internal/founding/ownvpspath.go:409(o.guestSupply.Seed(ctx, ip, ownVPSSSHPort), after a pinned-host-key rotation) andinternal/founding/privatepath.go:870(o.guestSupply.Seed(ctx, "", port)). The self-hosted device takeover path (internal/founding/selfhostedpath.gocomposeSelfHostedGateway, driven frominternal/founding/deploy.gorunDeploy) never callsguestSupply.Seedat all — confirmed bygrep -n supply internal/founding/selfhostedpath.go internal/founding/deploy.goreturning nothing.docs/vm-full-install-divergence.mdTable C documents/srv/idss/bin/control-planeas "created by the scp/clone legs themselves (not declared)" for the own-VPS path, but the self-hosted path was never given an equivalent leg.This is a new, distinct defect from the already-fixed GOTCHAS #45 (
docs/GOTCHAS.md:1208) — that entry was about the self-hosted device's network facts being zeroed (hostprobe.Prober.Networkstub), which caused the SAME symptom (deploy-takeover burning the full ceiling with no terminal status) on an earlier drive (20260821T030832Z, #630) and was marked "NOT re-proved by a fresh live drive … the next selfhosted rehearsal that reaches deploy-takeover is the live proof." This run (20260821T040447Z) IS that live proof: the box now boots reachable and the takeover completes cleanly (kexec/disko/install/reboot all report complete, the device rejoins as a clan member) — so #45's fix holds — but it exposes the next gap downstream: nothing ever supplies the control-plane binary.Why this isn't mechanical (filing, not self-fixing). Simply adding
o.guestSupply.Seed(ctx, st.GatewayIP, 22)aftercomposeSelfHostedGatewaywould likely still fail:fleetwire.Supply.Seed(internal/fleetwire/supply.go:60) always SSHes as the fixed guest-trust identity baked in at construction (wiring_prod.go:454).selfhostedpath.go:191-203explicitly setsAmbientSSH: trueon the clanEnrollcall and comments that the self-hosted box'sauthorized_keys(tf.RootAuthorizedKeys, the scraped ORIGINAL host keys) never gets the guest-trust key appended — unlike the own-VPS path'sappendGuestTrust(docs/vm-full-install-divergence.mdTable B: "the box trusts the guest-trust key baked into access.nix (appendGuestTrust)" — ported for own-VPS, absent for self-hosted). So a naiveSeedcall would refuse publickey against a box that never trusts that key.What plugging it needs (a design call, not a one-liner): either (a) bake the guest-trust key into the self-hosted takeover-ready
access.nix/authorized_keys the same way own-VPS does, so the existingSupply.Seedseam works unmodified, or (b) plumb an ambient/per-call identity override throughfounding.GuestSupply/fleetwire.Supplyso self-hosted can supply over the operator's own key (mirroringAmbientSSH: trueon theEnrollcall) — plus decide where inrunDeploy/composeSelfHostedGatewaythe supply leg sequences (own-VPS does it AFTER a pinned-host-key rotation and BEFORE pairing; self-hosted's box identity/trust story after takeover needs the equivalent audit), and add the missing entries todocs/vm-full-install-divergence.md's Table C for the self-hosted path specifically (it currently only covers own-VPS). Needs new coverage ininternal/founding/selfhostedpath_test.go/deploy_test.gowith a fakeGuestSupply, plus a seam test pinning the identity/trust choice made.drive
20260821T040447Zred atdeploy-takeover:expect(locator).toBeVisible() failed Locator: locator('[data-status="deploy-live"]').or(locator('[data-status="hand-off"]')).or(locator('[data-status="deploy-failed"]')).first() Expected: visible Timeevidence:
test-results/…/20260821T040447Z/on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596)swarm-claim host=elitebook-distributed-server-03 run=8313
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Decision needed (from the issue): plug the missing self-hosted control-plane supply via (a) baking the founding guest-trust key into the self-hosted takeover
access.nix/authorized_keys so the existingSupply.Seedseam works unmodified, or (b) plumbing an ambient/per-call identity override throughGuestSupply/fleetwire.Supplyso self-hosted supplies over the operator's OWN key (mirroringAmbientSSH: trueon the self-hostedEnroll).Ruling: option (b). Add
GuestSupply.SeedAmbient(fleetwire.Supply drivesssh/scpwith no-i, so it resolves the operator's ambient key — the same posturesshOptsalready grants an empty identity for the own-VPS carrier, DDR 0154). The self-hosted compose sequences supply right aftercomposeSelfHostedGateway, beforeapplyControlPlane— the same order own-VPS uses (install-activate → supply → deploy).Why it's a two-way door. (a) revertible by a later commit (pure Go, no infra); (b) provable by a new seam test (
SeedAmbientbuilds a remote target with no-i) + a fake-GuestSupplyfounding test + the next self-hosted drive reachingdeploy-takeover(the live proof); (c) NOT on the one-way-door list — it does not widen security posture: supply rides the operator's own ambient key, exactly as the self-hostedEnrollalready does, adding no key to any box. Option (a) is the wider one (it would append a founding-minted guest-trust key to the operator's box'sauthorized_keys), which is why (b) is preferred here — it keeps the self-hosted box trusting only its own scraped root keys (#414).Proves it:
TestSelfHosted_DeploySeedsControlPlaneBinaryOverAmbientSSH,TestSupply_SeedAmbient*, and Table C's new self-hosted row indocs/vm-full-install-divergence.md.close-report for #631 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope