swarm_runner: the nightly prune targets the system docker daemon, not the dead rootless socket (idss #2076) #26
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/matou-distributed-servers!26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/swarm-prune-system-socket"
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?
Fixes the prune half of Matou/idss#2076.
/etc/cron.d/swarm-prunehardcodesDOCKER_HOST=unix:///run/user/{{ swarm_runner_uid }}/docker.sock. Since the 2026-08-12 rootful cutover that socket doesn't exist — the role's ownrunner-service-fence.conf.j2already says jobs use the SYSTEM daemon — so every nightly prune fails to connect and reclaims 0B (/home/swarm/prune.logon elitebook-03 is allfailed to connect … /run/user/1500/docker.sock). elitebook-03's/reached 100% and every job there died at Set up job with ENOSPC.The swarm user is in the
dockergroup (docker system dfworks as swarm on elitebook-03 via the default socket: 26.8 GB images, 18.5 GB reclaimable; 14.3 GB build cache), so droppingDOCKER_HOSTpoints the prune at the jobs' daemon.Needs a play run with become on elitebook-03 to take effect. That run will also apply the runner-unit memory fence this role already carries on main (6G/8G, #20) — elitebook-03 is still on 2G/3G, i.e. it has not had this role applied since that PR.
Not syntax-checked with ansible-playbook here (no vault password in the worktree); the YAML parses.
🤖 Generated with Claude Code
/is 100% full (0 bytes free) because /etc/cron.d/swarm-prune still points at the rootless docker socket — every task landing on its runner dies in 1-3s at Set up job, includingswarm-pool triage/resume-asks #2076/is 100% full (0 bytes free) because /etc/cron.d/swarm-prune still points at the rootless docker socket — every task landing on its runner dies in 1-3s at Set up job, includingswarm-pool triage/resume-asks #2076