Rented gateway's cloud-final still fails on a converge — #893's restartIfChanged ruling did not hold (enroll-activate masked_exit, sig 25304f657c24) #898
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#898
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
20260827T082850Z(--target device, commitee9aef78) red at legstanding, propagated fromenroll-activateafter 247s:That is
cloud-final.servicedying on the rented gateway during activation, then dying identically on systemd's retry 24s later.clanexits 0; the masked_exit detector (correct, untouched) reds the leg.Evidence
artifacts/legs.json— 11 green,enroll-activatered at 247075ms,standingred;enroll-copygreen first (413631ms, 726 store paths landed), so the system reached the box and this is an ACTIVATION-side failure, not a transport one.artifacts/verdict.json—firstRedLeg: standing,commit: ee9aef784971f7760b743ca1e1db2233f5c170bd.logs/founding-state.log—standup.events[]walks clean throughenroll-copy("the system is on the gateway") andenroll-activate("the droplet's resolver is warm — https://git.clan.lol/ reachable over its ssh door (attempt 1/6)"), then the masked_exit.draft.access.ip=134.199.163.163; the gateway isidss-gateway-rehearsal-c-0d69.report/data/c42f2fae41db0f0c7539da4ff3997ae4ae43181e.md(error-context) — the app's own S10 frame carries the same fault line with Retry / Switch-the-Access-option, so this is the product surfacing a real deploy failure, not a Playwright artefact.Suspected layer
internal/clan/vmguest.go:369-393(rentedHostNetworking). #893 (0ebee236) setrestartIfChanged = falseoncloud-init-local,cloud-init,cloud-configandcloud-finalprecisely to keepswitch-to-configurationoff these units on a converge onto an already-initialised droplet. That commit is IN this drive's tree (ee9aef78is a descendant), andcloud-finalstill failed at activation time.So one of:
restartIfChanged = falsestops a RESTART but not a START —switch-to-configurationwill still start a unit the new generation wants that is not currently active. On a converge wherecloud-final.servicehas already run to completion and gone inactive, it gets started fresh and fails. If so the knob is the wrong one and the unit needs to be masked /wantedBy = []/ gated onConditionPathIsSymbolicLink=/var/lib/cloud/instanceon a rented host.cloud-finalis failing for a NEW reason unrelated to #893'sIsADirectoryErroron/var/lib/cloud/instance(itsExecStartruns the user/final scripts — the DO vendor scripts,runcmd, ssh host-key emission — any of which can red under the converged config).rentedHostNetworking()is not on the code path this drive's gateway actually built (check the machine config theenroll-configureleg committed).Only (1) vs (2) is decidable, and it needs the gateway's own journal —
journalctl -u cloud-final -u cloud-config --no-pageron the box, plusls -ld /var/lib/cloud/instance.What plugging it needs
logs/holdsdevice-*.txtonly, andlogs/device-journal.txtis entirely the member deviceclan-lab-rehearsal-26f45ade/134.199.171.52(563 hostname hits; ZERO foridss-gateway-rehearsal-c-0d69). That blindness is fixed in commiteba1cf4212e40127f257fc5acf16d89f4cd2e8dd(oc_device_evidencenow falls back toartifacts/droplet-ip.txt), so the NEXT device drive writeslogs/gateway-journal.txt+gateway-do-forensics.txtoff the failing box. Readcloud-final'sExecStartfailure there before changing any Nix.switch-to-configurationSTARTS (not restarts) these oneshots on a rented converge. Assert it at the existing render seam next toTestRenderGatewayGuest_PublicGatewayKeepsNetworkdAndCloudInit(internal/clan/vmguest_test.go).rentedHostNetworking()— if (1), a stronger gate thanrestartIfChanged:systemd.services.cloud-final.unitConfig.ConditionPathIsSymbolicLink = "/var/lib/cloud/instance"(or equivalent) so an already-initialised droplet never re-runs the final stage, while a genuine first boot still does. Keep #64'snetworking.useNetworkdruling and the cloud-init.networkfiles intact (GOTCHAS #64/#703/#104).go test ./internal/clan— red before, green after — then a--target devicere-drive to proveenroll-activateclears.Note the drive left the gateway
134.199.163.163standing (a device-target red never releases the standing gateway, ADR 0208), so the box is available to inspect directly if it is still inside its lease.drive
20260827T082850Zred atstanding:journey leg "enroll-activate" went red: founding: stand up the rented server: clan: masked_exit on gateway: clan reported success but the log shows a real failure: [gateway] Aug 27 08:43:08 idss-gatewevidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260827T082850Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=elitebook-distributed-server-03 run=12689
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #898 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
20a37a9is not reachable from origin/main (not landed)envelope
close-report for #898 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope