consent: agent enables sshd unit — Ubuntu 24.04 names it ssh, enroll exits 1 #917
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.
Blocks
Reference
Matou/idss#917
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?
What failed
Leg
consent— the only red. Fromartifacts/verdict.json:Five legs green through
agent-install; the terminal join on the droplet exited 1 at 18:56:39, 11s after the drive started.Evidence
The fatal line, from
artifacts/legs.json(identical inartifacts/consent-transcript.txtand the Playwrighterror-context.md):Consent itself succeeded — everything up to the trust step is clean:
and the operator UI had already taken the node (page snapshot in
error-context.md):✓ node-req-0001 connected. 2 vCPU · 4 GB · 76 GB — meets the gateway minimum.SSH was already up on that box.
logs/droplet-units.txt:logs/droplet-stall.txt:and
logs/droplet-do-forensics.txtnames the image and confirms reachability:So the daemon was running under systemd and answering. Only the unit name was wrong: Debian/Ubuntu ship
ssh.service;sshd.serviceexists only as an alias, andsystemctl enable --now sshdfails exactly as quoted.Secondary and non-fatal — before the agent created
/run/idss, two relay forwards failed (logs/droplet-journal.txt:1116,:1138):resolved four seconds later at
:1153—idss-agent[3878]: msg="join socket listening" path=/run/idss/agent.sock. Not the cause.Suspected layer
Product — the agent's trust step (
agent/internal/trust). Not harness: the leg record, screenshot and transcript are all correct and complete. Not infra:systemctl --failedindroplet-units.txtis empty, ping is 0% loss, disk 3% used, and the only DO action on droplet 595687337 is thecreate.This is NOT the drive's known frontier — and it is already fixed
The KNOWN own-VPS pairing frontier was never reached.
legs.jsoncarries"skip": 0and no skip reasons at all — the drive died atconsent, well before pairing could be exercised. So this red is a distinct, earlier defect.It is, however, already closed on
main. The drive ran at"commit": "e8a0ac6aa6c7607bc0afbbbf2fe62ca2dc57a12b"; the very next commit is:git show --stat 838d8c44→agent/internal/trust/trust.go(+38/-8) andtrust_test.go(+26). It names this exact drive (185504Z) and this exact error string.What plugging it needs
No new product change is indicated. Re-drive at
838d8c44or later and confirmconsentflips green, which should push the frontier forward to the known pairing red.If a re-drive still reds here, the fallback in
trust.Upis not covering the socket-activated case: on Ubuntu 24.04ssh.serviceis pulled in byssh.socket, soenable --now sshcan still be the wrong lever even after the rename fallback. The durable form is the one theStatehalf of that commit already uses — assert something is answering on the mesh rather than asserting a named unit is enabled.Sources used / absent
No live-box section was appended to this prompt, so this diagnosis is from the harvested logs alone; I did not touch the droplet.
Absent by design or environment, and not used:
logs/broker-journal.txt—ssh: connect to host 100.98.48.68 port 22: Connection timed out; the harvest self-documents as off-mesh (ADR 0208, #681) and the verdict does not depend on it.artifacts/journey.json—{"rows": null, "fault": null}: the drive never reached the founding rows.logs/state-logs.log(ENOENT onstate/logs),logs/qemu.log(spawn qemu-system-x86_64 ENOENT, matchinghost.json), and the wholeguest-*.logset (Failed to connect to bus: No medium found) — expected empties for a droplet target rather than the local-VM one.drive
20260827T185504Zred atconsent:the terminal join exited 1 --- transcript --- Warning: Permanently added '170.64.164.98' (ED25519) to the list of known hosts. idss-agent unknown · joining How should this machine contribute? [1] Fulevidence:
/home/dev/swarm/Matou/idss/test-results/drive-idip/20260827T185504Zon 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 — closing. This is NOT a consent defect. It is a preflight staleness park that the reporter mis-attributed to the previous drive's leg red.
The executor log for this cycle shows what actually happened:
The drive never ran. It parked at preflight on exit 3 because #915's fix (
6fc7fba1) is agent-affecting and had not been published yet. An exit-3 park writes no run directory, so the reporter fell back to the newest existing one —20260827T185504Z, from 18:56Z — and re-filed that run'sconsentred as if it were fresh.The sshd defect this ticket names is fixed (
838d8c44) and is in the served artifact:git merge-base --is-ancestor 838d8c44 dcab019c→ YES.This is the fourth ticket for the same phantom — #912, #913, #916 and now this one — and I closed the first three as duplicates of a fixed defect, which treated the symptom. The generator is the reporter's exit-3 handling, filed separately as a machinery defect.
#600 already specifies the intended behaviour and it is not happening: "On staleness: park loudly, don't drive — exit the preflight with a distinct verdict … so the reporter files/updates ONE staleness ticket instead of a misleading leg-red ticket." A misleading leg-red ticket is exactly what it filed.
No action needed on the underlying staleness either —
publishfor6fc7fba1succeeded (run 28785) and theidss-agentpackage minted at 03:25:31Z, soidss-reseed.timeradvances the served pin on its next 5-minute tick and the next drive runs current bits.#788 is unblocked by this closure.
This run (swarm 13007) claimed #917 from the ready queue but took no action: the issue is already closed by Ben's ADR-0174 ruling above — this is a phantom ticket (the drive parked at preflight staleness and never ran; the reporter mis-attributed an old run's
consentred). Thesshd→sshfix it names is in838d8c44, confirmed an ancestor oforigin/main(git merge-base --is-ancestor 838d8c44 origin/main→ yes). No product change is warranted; the reporter's speculative socket-activation "durable form" is unproven (no drive ran) and out of scope for a closed phantom — it will file fresh if a real re-drive ever reds on it. Releasing the claim and clearing the staleagent-working/ready-for-agentlabels.