Full install on a Wi-Fi-only device is offered as "Most reliable" and then loses the box at kexec: the installer has no wireless link and the baked networkd config matches a Wi-Fi MAC — gate wireless-only hosts out of Full install at consent and befo… #2041
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#2041
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 (Whakatōhea Demo, device
Delilah= node-req-0006, 2026-10-03 16:16–16:33Z)Full-install Set up (backup copies + Genealogy) on a correctly enrolled device (mesh 100.83.245.38, root SSH from the gateway proven). The run reached the takeover's kexec phase, the box rebooted into the installer — and nothing ever came back:
The gateway's
netbird-managementjournal shows no peer registration in the window (the installer is supposed to rejoin the mesh as a new peer with its node-scoped key, #1068), and the device's own peer went toConnectingand stayed there. The box is now headless in the Iwi office, running the RAM installer with no network — recoverable only by hands (power-cycle boots the untouched Ubuntu; no disk work ran).Cause
Delilah's only link is a USB WiFi adapter (
wlx00e02df33c46, 192.168.60.81/24); the wired porteno1is DOWN. The enrolment probe (internal/hostprobeNetwork) records the default-route NIC by MAC with no notion of link type, the spec gate (internal/join/gate.go: spec-gate / virt-unavailable / arch-unsupported) never looks at it, and the P2-S3 menu offered Full install as "Most reliable". The takeover then:target_lost;renderNetworkd,enrollment.go:642) for the WiFi NIC's MAC — a wireless interface networkd cannot bring up → an offline NixOS box.So a WiFi-only host can never complete a full install, and the product let the device owner consent to wiping it anyway. The fault is silent on the gateway (just a lost target) and silent on the device (no screen, no network).
Fix (proposed — two-way door, ADR 0174)
NetworkFactsgainsWireless bool(from/sys/class/net/<iface>/wirelessoriw dev) for the default-route NIC, plus the list of wired NICs with carrier. Read-only, honest-empty when unreadable (ADR 0100).RejectWirelessOnly): headline "This machine is on Wi-Fi only", Need = "a wired network connection the installer and the installed system can use without credentials", Got = "Wi-Fi () · wired port has no cable", Remedy = "plug in an Ethernet cable and choose Full install again, or choose VM mode" — code survives. VM mode stays offered (the guest rides the host's networking). Same rule in the app doorway (app.go) and the terminal (cli.go).Deploy/takeover refuses to start a takeover for a device whose recorded network facts are wireless-only (facts can change between consent and Set up — re-probe is the agent's; the control plane checks the last facts it holds) with the same words, before kexec — never a lost target.Recovery on the demo (needs hands at the office)
Power-cycle Delilah → it boots the untouched Ubuntu 26.04 (netbird reconnects to the community mesh,
idss-agent.servicereturns). Plug in Ethernet toeno1before any further Set up. The fleet row node-req-0006 is still enrolled; the failed run's recovery mode isrescue.Related
#2038, #2039, #2040 (same device, same day), #1013, #1068, ADR 0024, ADR 0209, ADR 0100,
internal/hostprobe/prober.go,internal/join/gate.go,internal/join/cli.go,internal/provision/takeover.go,internal/clan/enrollment.go(renderNetworkd). GOTCHAS #392.swarm-claim host=matou-dev-server-01 run=38663
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #2041 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope