swarm host fence: runner service unit is outside user-1500.slice (D3 gap) + verify reboot ordering #467

Closed
opened 2026-08-12 14:44:08 +00:00 by ben · 8 comments
Owner

From the 2026-08-12 final whole-branch review of the multi-host swarm arc (spec docs/superpowers/specs/2026-08-11-multihost-swarm-design.md, finding I-1) — fleet repo (matou-distributed-servers), one elitebook-03 host visit.

Problem: roles/swarm_runner/templates/forgejo-runner-swarm.service.j2 is a system unit with User=swarm — its cgroup is system.slice/forgejo-runner-swarm.service, NOT user-1500.slice. The D3 fence drop-in only covers what runs under user@1500.service (rootless dockerd + all containers — the dominant load). Host-mode job steps (git clone/fetch, host-side pnpm install, the node orchestrator, run-swarm.sh) run unfenced as children of the runner daemon. D3's contract ("the etcd voter always wins") currently holds by workload shape, not mechanism, for the host-side half. The fence template's own comment also wrongly claims the runner is covered.

Fix: add resource directives to the service unit itself (CPUWeight=40, IOWeight=40, MemoryMax=2G — host-side steps need far less than the containers), or mint a swarm.slice carrying the D3 values and put both halves under it. Fix the fence-template comment. Apply at a quiet moment — the unit change needs the manual restart the role already warns about (and see the restart-guard ticket: check for running ci/seam jobs first).

Bundle in the same host visit (Task 2 deferred note): reboot-time ordering of forgejo-runner-swarm vs the user-scoped rootless docker.service is unverified (host was up 31d during provisioning). Verify at next elitebook-03 reboot; if the socket races, consider Wants=user@1500.service in the unit. Also low-priority from the same review: get_url for the pinned forgejo-runner binary lacks a checksum (supply-chain + kills the spurious changed on re-runs).

From the 2026-08-12 final whole-branch review of the multi-host swarm arc (spec docs/superpowers/specs/2026-08-11-multihost-swarm-design.md, finding I-1) — fleet repo (matou-distributed-servers), one elitebook-03 host visit. **Problem:** `roles/swarm_runner/templates/forgejo-runner-swarm.service.j2` is a *system* unit with `User=swarm` — its cgroup is `system.slice/forgejo-runner-swarm.service`, NOT `user-1500.slice`. The D3 fence drop-in only covers what runs under `user@1500.service` (rootless dockerd + all containers — the dominant load). Host-mode job steps (git clone/fetch, host-side pnpm install, the node orchestrator, run-swarm.sh) run unfenced as children of the runner daemon. D3's contract ("the etcd voter always wins") currently holds by workload shape, not mechanism, for the host-side half. The fence template's own comment also wrongly claims the runner is covered. **Fix:** add resource directives to the service unit itself (`CPUWeight=40`, `IOWeight=40`, `MemoryMax=2G` — host-side steps need far less than the containers), or mint a `swarm.slice` carrying the D3 values and put both halves under it. Fix the fence-template comment. Apply at a quiet moment — the unit change needs the manual restart the role already warns about (and see the restart-guard ticket: check for running ci/seam jobs first). **Bundle in the same host visit (Task 2 deferred note):** reboot-time ordering of `forgejo-runner-swarm` vs the user-scoped rootless `docker.service` is unverified (host was up 31d during provisioning). Verify at next elitebook-03 reboot; if the socket races, consider `Wants=user@1500.service` in the unit. Also low-priority from the same review: `get_url` for the pinned forgejo-runner binary lacks a checksum (supply-chain + kills the spurious changed on re-runs).
Author
Owner

This was generated by AI during triage.

Triage: added the missing category label. This is a defect report (host-side swarm-runner steps run outside the D3 cgroup fence, contradicting the fence template's own comment) — labelled bug. ready-for-human was already correctly applied (protected-path host change requiring a manual restart at a quiet moment); left as-is.

> *This was generated by AI during triage.* **Triage:** added the missing category label. This is a defect report (host-side swarm-runner steps run outside the D3 cgroup fence, contradicting the fence template's own comment) — labelled `bug`. `ready-for-human` was already correctly applied (protected-path host change requiring a manual restart at a quiet moment); left as-is.
Author
Owner

Ben's ruling 2026-08-13 (session walk): DEFER to one planned elitebook-03 visit. Bundle for that visit:

  1. Fence the runner service unit itself — CPUWeight=40 / IOWeight=40 / MemoryMax=2G directives on forgejo-runner-swarm.service (or mint a swarm.slice covering both halves) — fleet repo roles/swarm_runner.
  2. Fix the fence-template comment that wrongly claims the runner is covered.
  3. Restart using the NEW guard: flock /tmp/matou-swarm.lock -c 'bash .forgejo/runner/wait-runner-quiet.sh && sudo systemctl restart forgejo-runner-swarm' (#469, landed 7c2fea7).
  4. Point the fleet role's "unit changed — restart manually" handler text at the runbook section.
  5. Verify reboot ordering of forgejo-runner-swarm vs the user-scoped rootless docker.service; add Wants=user@1500.service if the socket races.
  6. Add the checksum to the pinned forgejo-runner get_url.
**Ben's ruling 2026-08-13 (session walk): DEFER to one planned elitebook-03 visit.** Bundle for that visit: 1. Fence the runner service unit itself — `CPUWeight=40` / `IOWeight=40` / `MemoryMax=2G` directives on `forgejo-runner-swarm.service` (or mint a `swarm.slice` covering both halves) — fleet repo `roles/swarm_runner`. 2. Fix the fence-template comment that wrongly claims the runner is covered. 3. Restart using the NEW guard: `flock /tmp/matou-swarm.lock -c 'bash .forgejo/runner/wait-runner-quiet.sh && sudo systemctl restart forgejo-runner-swarm'` (#469, landed `7c2fea7`). 4. Point the fleet role's "unit changed — restart manually" handler text at the runbook section. 5. Verify reboot ordering of `forgejo-runner-swarm` vs the user-scoped rootless `docker.service`; add `Wants=user@1500.service` if the socket races. 6. Add the checksum to the pinned forgejo-runner `get_url`.
Author
Owner

Relabelled ready-for-session under ADR 0174: the ansible edit and quiet-moment apply run through the established host doors; the unit change is revertible. The reboot-ordering verification waits for elitebook-03's next natural reboot regardless of who holds the ticket.

Relabelled `ready-for-session` under ADR 0174: the ansible edit and quiet-moment apply run through the established host doors; the unit change is revertible. The reboot-ordering verification waits for elitebook-03's next natural reboot regardless of who holds the ticket.
Author
Owner

Cannot complete — missing artifact + missing door, both verified.

Checked this session's standing before touching anything:

  1. The fleet-repo artifact doesn't exist here. roles/swarm_runner/templates/forgejo-runner-swarm.service.j2 (and the whole roles/swarm_runner/ tree) is absent from every branch of both local fleet checkouts:

    • /home/dev/matou/matou-distributed-servers (origin gitlab.com/matou-collective/matou-distributed-servers) — fetched all 10 branches fresh (up to date), git grep -l swarm_runner on each: zero hits. roles/ has no swarm_runner dir on main or any other branch.
    • /home/dev/matou/matou-distributed-servers-dev — same check, same result.

    This repo's own docs/superpowers/plans/2026-08-11-multihost-swarm.md (the implementation plan for this exact arc) pins its "fleet" working copy to /home/benz/Documents/1.projects/matou-distributed-servers — a path on a different machine than this session's checkout. Elitebook-03 clearly is running the role (GOTCHAS #19/#20 and STATUS both cite it live in the pool since 2026-08-12), so the ansible was applied somewhere — but the commits that constitute roles/swarm_runner/* never reached the shared origin this session (or any session on this workstation) can read. I can't safely author that role tree from scratch against a ticket that assumes it already exists and just needs a two-line resource-directive patch — that's a materially bigger, unreviewed change than this ticket, and I'd be guessing at what's actually deployed on the host instead of reading it.

  2. Elitebook-03 isn't reachable from this session's mesh at all. Ansible/plan pin its Netbird IP at 100.98.240.186 (confirmed against inventory/host_vars/elitebook-distributed-server-03.yml in the fleet repo, same IP). This session's host identifies itself on Netbird as matou-dev-server-01 (netbird status), with peers matou-dev-server-02 (connected), matou-dev-server-03 (idle, IP 100.83.53.88 — a different host, confusingly similar name), and cherese-macbook-main (idle). No peer at 100.98.240.186 exists in this mesh. ssh ian@100.98.240.186 → "Network is unreachable"; the bare hostname elitebook-03 doesn't resolve. swarm-atlas.md names the runner-pool hosts as matou-workstation + elitebook-03 — this session isn't running on the former (or if it is, its OS/mesh identity has drifted from that name) and has no path to the latter.

What I could confirm without host access: the runner-restart quiet-guard from #469 (.forgejo/runner/wait-runner-quiet.sh, 7c2fea7) exists in this repo and is ready to use once someone with the door applies the role change.

Net: nothing here is a judgement call — it's two missing prerequisites (the git artifact, and network reachability to the host) that no amount of care on this ticket's actual ask can work around. Per the session-runner protocol I'm leaving this ready-for-session rather than fabricating a fix or relabelling — but flagging that the real blocker looks bigger than this ticket: either the swarm_runner role's commits need to be located and pushed to gitlab.com/matou-collective/matou-distributed-servers, or a session actually running on matou-workstation (with elitebook-03 mesh reachability) needs to pick this up. A human may want to check which before the next automated attempt burns another cycle on the same wall.

**Cannot complete — missing artifact + missing door, both verified.** Checked this session's standing before touching anything: 1. **The fleet-repo artifact doesn't exist here.** `roles/swarm_runner/templates/forgejo-runner-swarm.service.j2` (and the whole `roles/swarm_runner/` tree) is absent from every branch of both local fleet checkouts: - `/home/dev/matou/matou-distributed-servers` (origin `gitlab.com/matou-collective/matou-distributed-servers`) — fetched all 10 branches fresh (`up to date`), `git grep -l swarm_runner` on each: zero hits. `roles/` has no `swarm_runner` dir on `main` or any other branch. - `/home/dev/matou/matou-distributed-servers-dev` — same check, same result. This repo's own `docs/superpowers/plans/2026-08-11-multihost-swarm.md` (the implementation plan for this exact arc) pins its "fleet" working copy to `/home/benz/Documents/1.projects/matou-distributed-servers` — a path on a different machine than this session's checkout. Elitebook-03 clearly *is* running the role (GOTCHAS #19/#20 and STATUS both cite it live in the pool since 2026-08-12), so the ansible was applied somewhere — but the commits that constitute `roles/swarm_runner/*` never reached the shared origin this session (or any session on this workstation) can read. I can't safely author that role tree from scratch against a ticket that assumes it already exists and just needs a two-line resource-directive patch — that's a materially bigger, unreviewed change than this ticket, and I'd be guessing at what's actually deployed on the host instead of reading it. 2. **Elitebook-03 isn't reachable from this session's mesh at all.** Ansible/plan pin its Netbird IP at `100.98.240.186` (confirmed against `inventory/host_vars/elitebook-distributed-server-03.yml` in the fleet repo, same IP). This session's host identifies itself on Netbird as `matou-dev-server-01` (`netbird status`), with peers `matou-dev-server-02` (connected), `matou-dev-server-03` (idle, IP `100.83.53.88` — a *different* host, confusingly similar name), and `cherese-macbook-main` (idle). No peer at `100.98.240.186` exists in this mesh. `ssh ian@100.98.240.186` → "Network is unreachable"; the bare hostname `elitebook-03` doesn't resolve. `swarm-atlas.md` names the runner-pool hosts as `matou-workstation` + `elitebook-03` — this session isn't running on the former (or if it is, its OS/mesh identity has drifted from that name) and has no path to the latter. What I *could* confirm without host access: the runner-restart quiet-guard from #469 (`.forgejo/runner/wait-runner-quiet.sh`, `7c2fea7`) exists in this repo and is ready to use once someone with the door applies the role change. Net: nothing here is a judgement call — it's two missing prerequisites (the git artifact, and network reachability to the host) that no amount of care on this ticket's actual ask can work around. Per the session-runner protocol I'm leaving this `ready-for-session` rather than fabricating a fix or relabelling — but flagging that the real blocker looks bigger than this ticket: either the `swarm_runner` role's commits need to be located and pushed to `gitlab.com/matou-collective/matou-distributed-servers`, or a session actually running on `matou-workstation` (with elitebook-03 mesh reachability) needs to pick this up. A human may want to check which before the next automated attempt burns another cycle on the same wall.
Author
Owner

Ruled by agent under ADR 0174 — veto anytime. Second session, same wall — escalating.

Independently re-ran the same checks the 2026-08-15T03:35:55Z comment above documented, before touching anything:

  • roles/swarm_runner/ (incl. templates/forgejo-runner-swarm.service.j2) is absent from every branch of both local fleet checkouts — matou-distributed-servers (fresh git fetch --all --tags, origin gitlab.com/matou-collective/matou-distributed-servers, HEAD e96ab68 dated 2026-08-04 — before the 2026-08-11 swarm-pool design and the 2026-08-12 elitebook-03 cutover this ticket is about) and matou-distributed-servers-dev. git log --all --oneline | grep -i swarm on both: no swarm_runner commit exists in either repo's full reflog/branch set.
  • This session's netbird status --detail shows the identical peer set as the prior attempt: self = matou-dev-server-01, peers matou-dev-server-02 (connected), matou-dev-server-03 (idle, 100.83.53.88 — a different host, confusable name), cherese-macbook-main (idle). No peer at elitebook-03's mesh IP (100.98.240.186, confirmed against inventory/host_vars/elitebook-distributed-server-03.yml). Direct ssh ian@100.98.240.186 and the LAN fallback 192.168.1.122 both connection-timeout — no route, not an auth problem.

Both prerequisites this ticket needs — the fleet-repo artifact to edit, and a network path to elitebook-03 to apply/verify it — are missing from this session's standing exactly as the prior session found. Nothing changed between attempts because the gap isn't in this ticket's ask; it's upstream of it (the swarm_runner role's commits never reached the shared gitlab.com/matou-collective/matou-distributed-servers origin any workstation session can read, and this particular session isn't mesh-peered with elitebook-03).

Per the session-runner protocol this is attempt 2 on an identical, unchanged blocker — routing to a human now rather than spending a third cycle re-confirming the same wall.

Why human

Two things only a human can resolve, in either order:

  1. Locate + push the missing commits. Someone (likely Ben, per the plan doc's /home/benz/Documents/1.projects/matou-distributed-servers path) needs to find where roles/swarm_runner/* actually lives and push it to the shared fleet origin so any session can read and edit it.
  2. Confirm which host/session actually has an elitebook-03 door. swarm-atlas.md names matou-workstation + elitebook-03 as the pool; this session's mesh identity (matou-dev-server-01) isn't peered with elitebook-03 at all. A human needs to say whether a session on the real matou-workstation mesh identity should pick this up, or whether elitebook-03 needs adding as a peer here.

Once both are true, the actual ticket ask (resource-directive patch + comment fix + reboot-ordering check + checksum) is a small, mechanical, two-way-door change — no further judgement call needed.

**Ruled by agent under ADR 0174 — veto anytime.** Second session, same wall — escalating. Independently re-ran the same checks the 2026-08-15T03:35:55Z comment above documented, before touching anything: - `roles/swarm_runner/` (incl. `templates/forgejo-runner-swarm.service.j2`) is absent from every branch of both local fleet checkouts — `matou-distributed-servers` (fresh `git fetch --all --tags`, origin `gitlab.com/matou-collective/matou-distributed-servers`, HEAD `e96ab68` dated 2026-08-04 — *before* the 2026-08-11 swarm-pool design and the 2026-08-12 elitebook-03 cutover this ticket is about) and `matou-distributed-servers-dev`. `git log --all --oneline | grep -i swarm` on both: no `swarm_runner` commit exists in either repo's full reflog/branch set. - This session's `netbird status --detail` shows the identical peer set as the prior attempt: self = `matou-dev-server-01`, peers `matou-dev-server-02` (connected), `matou-dev-server-03` (idle, `100.83.53.88` — a different host, confusable name), `cherese-macbook-main` (idle). No peer at elitebook-03's mesh IP (`100.98.240.186`, confirmed against `inventory/host_vars/elitebook-distributed-server-03.yml`). Direct `ssh ian@100.98.240.186` and the LAN fallback `192.168.1.122` both connection-timeout — no route, not an auth problem. Both prerequisites this ticket needs — the fleet-repo artifact to edit, and a network path to elitebook-03 to apply/verify it — are missing from this session's standing exactly as the prior session found. Nothing changed between attempts because the gap isn't in this ticket's ask; it's upstream of it (the `swarm_runner` role's commits never reached the shared `gitlab.com/matou-collective/matou-distributed-servers` origin any workstation session can read, and this particular session isn't mesh-peered with elitebook-03). Per the session-runner protocol this is attempt 2 on an identical, unchanged blocker — routing to a human now rather than spending a third cycle re-confirming the same wall. ## Why human Two things only a human can resolve, in either order: 1. **Locate + push the missing commits.** Someone (likely Ben, per the plan doc's `/home/benz/Documents/1.projects/matou-distributed-servers` path) needs to find where `roles/swarm_runner/*` actually lives and push it to the shared fleet origin so any session can read and edit it. 2. **Confirm which host/session actually has an elitebook-03 door.** `swarm-atlas.md` names `matou-workstation` + `elitebook-03` as the pool; this session's mesh identity (`matou-dev-server-01`) isn't peered with elitebook-03 at all. A human needs to say whether a session on the real `matou-workstation` mesh identity should pick this up, or whether elitebook-03 needs adding as a peer here. Once both are true, the actual ticket ask (resource-directive patch + comment fix + reboot-ordering check + checksum) is a small, mechanical, two-way-door change — no further judgement call needed.
Author
Owner

Findings 2026-08-15 (agent, from Ben's laptop) — both ## Why human questions answered:

  1. elitebook-03 is NOT offline. Up 34 days, forgejo-runner-swarm.service active. The workstation cannot reach it because of a mesh split: the workstation is now enrolled as matou-dev-server-01 on the 100.83.x Netbird network (peers: matou-dev-server-02/03, cherese-macbook — no elitebooks), while elitebook-03 (elitebook-distributed-server-03, 100.98.240.186) lives in the 100.98.x network. Ben's laptop (benz-hp, 100.98.85.251) still has that route — ssh ian@100.98.240.186 works from there today.

  2. The swarm_runner role commits are found: they sit UNPUSHED on Ben's laptop in ~/Documents/1.projects/matou-distributed-servers (commits 8ed8dde role 2/2, ded19a1 drift-loudening, plus ~10 newer whiteboard/routing commits ahead of gitlab:matou-collective/matou-distributed-servers). They never reached the shared origin, which is why no workstation checkout could see them.

Unblock path: push the fleet repo from the laptop, then work this ticket from a session with the 100.98 mesh route (Ben's laptop today; or re-add the workstation to the 100.98 network as a second Netbird profile). No hands/power needed.

Findings 2026-08-15 (agent, from Ben's laptop) — both `## Why human` questions answered: 1. **elitebook-03 is NOT offline.** Up 34 days, `forgejo-runner-swarm.service` active. The workstation cannot reach it because of a **mesh split**: the workstation is now enrolled as `matou-dev-server-01` on the 100.83.x Netbird network (peers: matou-dev-server-02/03, cherese-macbook — no elitebooks), while elitebook-03 (`elitebook-distributed-server-03`, 100.98.240.186) lives in the 100.98.x network. Ben's laptop (`benz-hp`, 100.98.85.251) still has that route — `ssh ian@100.98.240.186` works from there today. 2. **The `swarm_runner` role commits are found**: they sit UNPUSHED on Ben's laptop in `~/Documents/1.projects/matou-distributed-servers` (commits `8ed8dde` role 2/2, `ded19a1` drift-loudening, plus ~10 newer whiteboard/routing commits ahead of `gitlab:matou-collective/matou-distributed-servers`). They never reached the shared origin, which is why no workstation checkout could see them. **Unblock path:** push the fleet repo from the laptop, then work this ticket from a session with the 100.98 mesh route (Ben's laptop today; or re-add the workstation to the 100.98 network as a second Netbird profile). No hands/power needed.
Author
Owner

Progress 2026-08-15 (agent, ADR 0174 — veto anytime). Config-as-code is DONE and pushed to the fleet repo; the live apply is staged awaiting Ben's root door (classifier blocks remote sudo writes).

Landed in matou-distributed-servers (9f1d196, after syncing the repo — the role's commits had been sitting unpushed on Ben's laptop, now merged with gitlab's 7 newer MRs as 38b3648):

  • runner-service-fence.conf.j2 + install task: a drop-in on forgejo-runner-swarm.service with CPUWeight=40 IOWeight=40 MemoryHigh=2G MemoryMax=3G and After=docker.service/Wants=docker.service (post-rootful-cutover ordering). Deviation from the ticket's MemoryMax=2G: the unit's observed steady state mid-run is ~1.1G, so a hard 2G cap risked systemd OOM-killing a live pnpm install spike — 2G is now the throttle (MemoryHigh), 3G the kill.
  • Fence-template comment fixed: it no longer claims the runner (or, post-cutover, the containers) is covered by user-1500.slice.
  • get_url checksum: swarm_runner_sha256 pinned — verified identical upstream and on the live host (0cc96886…).

Reboot ordering (bundle item): post-cutover the relevant dependency is the SYSTEM docker daemon, now explicit in the drop-in; the old After=user@1500.service question is moot (rootless daemon retired). Live reboot verification still rides the next natural elitebook-03 reboot.

New finding → #568: the cutover moved job containers OUT of the fenced user slice — sandcastle containers are now cgroup siblings of postgres-ha-etcd at equal weight. The container-half fence (docker run flags in protected run-swarm.sh) is its own ticket.

Remaining for the live apply: the drop-in is staged at /tmp/50-swarm-fence.conf on elitebook-03; Ben runs the install + a set-property --runtime (applies to the RUNNING unit without restarting — a sandcastle job was in flight the whole visit, and the unit deliberately never auto-restarts).

Progress 2026-08-15 (agent, ADR 0174 — veto anytime). Config-as-code is DONE and pushed to the fleet repo; the live apply is staged awaiting Ben's root door (classifier blocks remote sudo writes). **Landed in `matou-distributed-servers` (`9f1d196`, after syncing the repo — the role's commits had been sitting unpushed on Ben's laptop, now merged with gitlab's 7 newer MRs as `38b3648`):** - `runner-service-fence.conf.j2` + install task: a drop-in on `forgejo-runner-swarm.service` with `CPUWeight=40 IOWeight=40 MemoryHigh=2G MemoryMax=3G` and `After=docker.service`/`Wants=docker.service` (post-rootful-cutover ordering). **Deviation from the ticket's `MemoryMax=2G`:** the unit's observed steady state mid-run is ~1.1G, so a hard 2G cap risked systemd OOM-killing a live `pnpm install` spike — 2G is now the throttle (`MemoryHigh`), 3G the kill. - Fence-template comment fixed: it no longer claims the runner (or, post-cutover, the containers) is covered by `user-1500.slice`. - `get_url` checksum: `swarm_runner_sha256` pinned — verified identical upstream and on the live host (`0cc96886…`). **Reboot ordering (bundle item):** post-cutover the relevant dependency is the SYSTEM docker daemon, now explicit in the drop-in; the old `After=user@1500.service` question is moot (rootless daemon retired). Live reboot verification still rides the next natural elitebook-03 reboot. **New finding → #568:** the cutover moved job containers OUT of the fenced user slice — sandcastle containers are now cgroup siblings of `postgres-ha-etcd` at equal weight. The container-half fence (docker run flags in protected `run-swarm.sh`) is its own ticket. **Remaining for the live apply:** the drop-in is staged at `/tmp/50-swarm-fence.conf` on elitebook-03; Ben runs the install + a `set-property --runtime` (applies to the RUNNING unit without restarting — a sandcastle job was in flight the whole visit, and the unit deliberately never auto-restarts).
Author
Owner

Close-report (agent under ADR 0174 — veto anytime)

D3 fence on the runner unit: LIVE and kernel-verified on elitebook-03, with the in-flight sandcastle job untouched (unit active, ~1.0G, no restart):

cpu.weight:40
io.weight:default 40
memory.high:2147483648   # 2G throttle
memory.max:3221225472    # 3G kill (deviation from the 2G in-body value — rationale in the prior comment)

Applied by Ben via the root door: persistent drop-in /etc/systemd/system/forgejo-runner-swarm.service.d/50-swarm-fence.conf (survives reboot) + set-property --runtime (covers the running unit until then).

Config-as-code: matou-distributed-servers 9f1d196 — fence template + task, truthful user-slice-fence comment (it no longer claims the runner is covered), get_url sha256 pin (verified upstream = live host). The role's previously-unpushed commits are also now on gitlab/main.

Bundle items: reboot ordering — the post-cutover dependency (After=docker.service/Wants=docker.service) is now explicit in the drop-in; the old user@1500.service race is moot (rootless daemon retired). Live verification rides the next natural elitebook-03 reboot, per the ticket's own deferral. Binary checksum — done, above.

Out of scope, filed: #568 — the rootful cutover left job containers as cgroup siblings of the etcd voter at equal weight; the container-half fence (protected run-swarm.sh) continues there.

## Close-report (agent under ADR 0174 — veto anytime) **D3 fence on the runner unit: LIVE and kernel-verified** on elitebook-03, with the in-flight sandcastle job untouched (unit `active`, ~1.0G, no restart): ``` cpu.weight:40 io.weight:default 40 memory.high:2147483648 # 2G throttle memory.max:3221225472 # 3G kill (deviation from the 2G in-body value — rationale in the prior comment) ``` Applied by Ben via the root door: persistent drop-in `/etc/systemd/system/forgejo-runner-swarm.service.d/50-swarm-fence.conf` (survives reboot) + `set-property --runtime` (covers the running unit until then). **Config-as-code:** `matou-distributed-servers` `9f1d196` — fence template + task, truthful user-slice-fence comment (it no longer claims the runner is covered), `get_url` sha256 pin (verified upstream = live host). The role's previously-unpushed commits are also now on `gitlab/main`. **Bundle items:** reboot ordering — the post-cutover dependency (`After=docker.service`/`Wants=docker.service`) is now explicit in the drop-in; the old `user@1500.service` race is moot (rootless daemon retired). Live verification rides the next natural elitebook-03 reboot, per the ticket's own deferral. Binary checksum — done, above. **Out of scope, filed:** #568 — the rootful cutover left job containers as cgroup siblings of the etcd voter at equal weight; the container-half fence (protected `run-swarm.sh`) continues there.
ben closed this issue 2026-08-15 05:43:49 +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.

Dependencies

No dependencies set.

Reference
Matou/idss#467
No description provided.