get.idss.nz serves an agent 7 commits stale — the IDIP drive parks in preflight and cannot test any of today fixes (reseed = hands, Ben laptop) #911

Closed
opened 2026-08-27 16:50:22 +00:00 by ben · 2 comments
Owner

Why the IDIP drive cannot progress

get.idss.nz is serving agent release 2f077e23, which is 7 agent-affecting commits behind origin/main. Every --target idip drive since 16:15 has been testing agent bits that predate every fix made for it today. The preflight gate added in 7a160eb3 now catches this correctly and parks:

PREFLIGHT: bootstrap-stale: served 2f077e233ffd6c841e97fffed160b7f05233f789 is 7
agent-commit(s) behind origin/main (newest agent-affecting: 2d4b114c6567) —
the drive would test stale agent bits (#597 -> #598).
Reseed get.idss.nz from origin/main; recipe on #600.

The three commits the served binary is missing are precisely the ones written to fix this drive:

commit what it fixes
d53a4de3 the install doorway lands the mesh client (netbird)
3141ddd1 the founding gateway's grant carries NO mesh admission; its landing skips the mesh gate (ADR 0159)
ab538cc9 MeshAdmissionFor exported; the test granter follows the same role rule

None of them has ever run on a drive. They may all be correct; we have no evidence either way.

The attribution problem this ticket exists to fix

The exit 3 staleness parks are being appended by the reporter to #910 (signature 28ff46f6d26f), and #788 is blocked on #910. But #910 is the nameless community at the WIPE prompt defect — a real and separate issue. Fixing #910 will not clear the staleness gate, so the swarm is being dispatched against a ticket whose fix cannot unblock the drive, and the blocker chain implies progress that is not possible.

Each executor tick meanwhile costs a full main sync plus a payload rebuild (vue-tsc + vite build) before parking. That loop repeats until the reseed happens.

What is needed — hands, on Ben's laptop

#600 records why this cannot be automated yet: "the artifacts dir is root-owned and the host is unreachable from the workstation — reseeds are Ben's laptop until #601 lands."

The build half is already done and verified (staged on Ben's laptop by the watch):

  • git archive origin/main extracted clean
  • CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o agent-x86_64 ./agent/cmd/agent — 9 202 459 bytes, host toolchain go1.23.7
  • RELEASE = 6d81bdec8bf25d61da1d7e0aa60639dfe139aef3
  • Confirmed the built binary carries the fixes (strings … | grep pkgs.netbird.io → 1), so it genuinely includes d53a4de3/3141ddd1/ab538cc9

Remaining, per #600's recipe: scp both files to the mail droplet /tmp, then sudo install agent-x86_64 (0755) and RELEASE (0644) into /opt/ourcloud-bootstrap/artifacts/. No service restart — dirSource reads per request. Verify with the x-ourcloud-release header.

Held for Ben's go-ahead rather than done, because it publishes to a public endpoint that serves install artifacts to real users — outward-facing, so not a two-way door the watch takes on its own authority.

Note for #601

This stall exists only because the reseed can happen from exactly one laptop. While that machine is closed, phase 6 is frozen no matter how quickly the swarm lands fixes. That is the argument for #601.

Filed by the watch under ADR 0174 so #788's blocker names the real gate. Veto anytime.

## Why the IDIP drive cannot progress `get.idss.nz` is serving agent release **`2f077e23`**, which is **7 agent-affecting commits behind `origin/main`**. Every `--target idip` drive since 16:15 has been testing agent bits that predate every fix made for it today. The preflight gate added in `7a160eb3` now catches this correctly and parks: ``` PREFLIGHT: bootstrap-stale: served 2f077e233ffd6c841e97fffed160b7f05233f789 is 7 agent-commit(s) behind origin/main (newest agent-affecting: 2d4b114c6567) — the drive would test stale agent bits (#597 -> #598). Reseed get.idss.nz from origin/main; recipe on #600. ``` The three commits the served binary is missing are precisely the ones written to fix this drive: | commit | what it fixes | |---|---| | `d53a4de3` | the install doorway lands the mesh client (netbird) | | `3141ddd1` | the founding gateway's grant carries NO mesh admission; its landing skips the mesh gate (ADR 0159) | | `ab538cc9` | `MeshAdmissionFor` exported; the test granter follows the same role rule | **None of them has ever run on a drive.** They may all be correct; we have no evidence either way. ## The attribution problem this ticket exists to fix The `exit 3` staleness parks are being appended by the reporter to **#910** (signature `28ff46f6d26f`), and #788 is blocked on #910. But #910 is the *nameless community at the WIPE prompt* defect — a real and separate issue. **Fixing #910 will not clear the staleness gate**, so the swarm is being dispatched against a ticket whose fix cannot unblock the drive, and the blocker chain implies progress that is not possible. Each executor tick meanwhile costs a full `main` sync plus a payload rebuild (`vue-tsc` + `vite build`) before parking. That loop repeats until the reseed happens. ## What is needed — hands, on Ben's laptop #600 records why this cannot be automated yet: *"the artifacts dir is root-owned and the host is unreachable from the workstation — reseeds are Ben's laptop until #601 lands."* **The build half is already done and verified** (staged on Ben's laptop by the watch): - `git archive origin/main` extracted clean - `CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o agent-x86_64 ./agent/cmd/agent` — 9 202 459 bytes, host toolchain go1.23.7 - `RELEASE` = `6d81bdec8bf25d61da1d7e0aa60639dfe139aef3` - Confirmed the built binary carries the fixes (`strings … | grep pkgs.netbird.io` → 1), so it genuinely includes `d53a4de3`/`3141ddd1`/`ab538cc9` Remaining, per #600's recipe: `scp` both files to the mail droplet `/tmp`, then `sudo install` `agent-x86_64` (0755) and `RELEASE` (0644) into `/opt/ourcloud-bootstrap/artifacts/`. **No service restart** — `dirSource` reads per request. Verify with the `x-ourcloud-release` header. Held for Ben's go-ahead rather than done, because it publishes to a public endpoint that serves install artifacts to real users — outward-facing, so not a two-way door the watch takes on its own authority. ## Note for #601 This stall exists only because the reseed can happen from exactly one laptop. While that machine is closed, phase 6 is frozen no matter how quickly the swarm lands fixes. That is the argument for #601. *Filed by the watch under ADR 0174 so #788's blocker names the real gate. Veto anytime.*
Author
Owner

Staged for the ! (2026-08-27, the #788 session): fresh static builds from main are in /tmp on the mail droplet — /tmp/bootstrap, /tmp/agent-x86_64, /tmp/RELEASE. The classifier-gated half is one line:

ssh dev@100.98.48.68 'sudo install -m755 /tmp/bootstrap /opt/idss-bootstrap/bootstrap && sudo install -m755 /tmp/agent-x86_64 /opt/idss-bootstrap/artifacts/agent-x86_64 && sudo install -m644 /tmp/RELEASE /opt/idss-bootstrap/artifacts/RELEASE && sudo systemctl restart idss-bootstrap.service && curl -sI https://get.idss.nz/get?arch=x86_64 | grep -i x-idss-release'

Or wait: CI publishes each green agent-affecting main build and the droplet's idss-reseed.timer (5 min) serves it — the drive resumes by itself either way (--target idip now carries the bootstrap-staleness gate, 7a160eb3, so no droplet is spent meanwhile).

Staged for the `!` (2026-08-27, the #788 session): fresh static builds from `main` are in `/tmp` on the mail droplet — `/tmp/bootstrap`, `/tmp/agent-x86_64`, `/tmp/RELEASE`. The classifier-gated half is one line: ``` ssh dev@100.98.48.68 'sudo install -m755 /tmp/bootstrap /opt/idss-bootstrap/bootstrap && sudo install -m755 /tmp/agent-x86_64 /opt/idss-bootstrap/artifacts/agent-x86_64 && sudo install -m644 /tmp/RELEASE /opt/idss-bootstrap/artifacts/RELEASE && sudo systemctl restart idss-bootstrap.service && curl -sI https://get.idss.nz/get?arch=x86_64 | grep -i x-idss-release' ``` Or wait: CI publishes each green agent-affecting `main` build and the droplet's `idss-reseed.timer` (5 min) serves it — the drive resumes by itself either way (`--target idip` now carries the bootstrap-staleness gate, `7a160eb3`, so no droplet is spent meanwhile).
Author
Owner

Closing — the reseed has already happened (by another session), and the bits are verified live. No action needed.

get.idss.nz now serves 8b1144a8826190a8f282a940fb8cf1f6131074f3, up from the 2f077e23 this ticket was filed against. Checked three ways rather than trusting the header alone:

  1. The gate's own verdict. Sourcing scripts/lib/bootstrap-staleness-lib.sh and running oc_bootstrap_staleness 8b1144a8… origin/main . returns rc=0: bootstrap-fresh: served 8b1144a8… carries every agent-affecting commit up to origin/main (against origin/main = e8a0ac6a).
  2. The served binary itself, downloaded from the workstation (the machine the preflight probes from): strings … | grep -c 'pkgs.netbird.io' → 1, so d53a4de3 is in; mesh-admission markers → 4, so 3141ddd1 is in.
  3. Both fixes are therefore genuinely in the bits the next drive will fetch — not merely in main.

Two corrections to #600's recipe, so the next person does not lose the time I did

  • The header name is wrong. #600 says x-ourcloud-release; the live gate (scripts/smoke-private-path.sh:409) reads x-idss-release. Probing for the old name returns nothing and reads as "the endpoint is unreachable".
  • The host is wrong, or at least ambiguous. #600's recipe installs to the mail droplet 100.98.48.68, and /opt/ourcloud-bootstrap/artifacts/ really does exist there (holding agent-x86_64 + RELEASE, dated Aug 20, RELEASE = b8c9778). But get.idss.nz resolves to 143.198.134.168 — the front door — and that is what serves x-idss-release: 8b1144a8. The two disagree, so an operator following the recipe literally would install to a host the gate never reads and believe the reseed done. Whatever the intended topology, the recipe needs to name the host that actually serves the endpoint.

Both corrections belong on #600 (closed) or #601 (the automation that retires this by hand-work entirely).

Verified and closed by the watch under ADR 0174 — Ben had approved doing the reseed; it proved unnecessary.

**Closing — the reseed has already happened (by another session), and the bits are verified live. No action needed.** `get.idss.nz` now serves **`8b1144a8826190a8f282a940fb8cf1f6131074f3`**, up from the `2f077e23` this ticket was filed against. Checked three ways rather than trusting the header alone: 1. **The gate's own verdict.** Sourcing `scripts/lib/bootstrap-staleness-lib.sh` and running `oc_bootstrap_staleness 8b1144a8… origin/main .` returns **rc=0**: `bootstrap-fresh: served 8b1144a8… carries every agent-affecting commit up to origin/main` (against `origin/main` = `e8a0ac6a`). 2. **The served binary itself**, downloaded from the workstation (the machine the preflight probes from): `strings … | grep -c 'pkgs.netbird.io'` → **1**, so `d53a4de3` is in; mesh-admission markers → **4**, so `3141ddd1` is in. 3. Both fixes are therefore genuinely in the bits the next drive will fetch — not merely in `main`. ## Two corrections to #600's recipe, so the next person does not lose the time I did - **The header name is wrong.** #600 says `x-ourcloud-release`; the live gate (`scripts/smoke-private-path.sh:409`) reads **`x-idss-release`**. Probing for the old name returns nothing and reads as "the endpoint is unreachable". - **The host is wrong, or at least ambiguous.** #600's recipe installs to the mail droplet `100.98.48.68`, and `/opt/ourcloud-bootstrap/artifacts/` really does exist there (holding `agent-x86_64` + `RELEASE`, dated Aug 20, `RELEASE` = `b8c9778`). But **`get.idss.nz` resolves to `143.198.134.168`** — the front door — and that is what serves `x-idss-release: 8b1144a8`. The two disagree, so an operator following the recipe literally would install to a host the gate never reads and believe the reseed done. Whatever the intended topology, the recipe needs to name the host that actually serves the endpoint. Both corrections belong on #600 (closed) or #601 (the automation that retires this by hand-work entirely). *Verified and closed by the watch under ADR 0174 — Ben had approved doing the reseed; it proved unnecessary.*
ben closed this issue 2026-08-27 18:53:34 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#911
No description provided.