homelab-codex-ws/hosts
oskar 11f3f808e6 fix(vps): M1 mitigation — NODE_TYPE=lte_node disables unfiltered prune
node-agent calls docker containers.prune() with no filters every
CHECK_INTERVAL (60 s on VPS). The Docker API removes EVERY non-running
container regardless of RestartPolicy or compose labels — this destroyed
ollama@solaria on 2026-07-30 (19 s after an operator `docker stop`).

On VPS the blast radius is worse: humanai-mailer and humanai-landing have
no compose definition in this repo (recreated by hand from `docker inspect`),
so a pruned container there is an irreversible loss of the only config source.

self.node_type is read only by run_safe_cleanup() (node_agent.py:648,654) and
two log lines (250, 1103). Verified additionally for VPS: the control-plane
filesystem rotation and health probe in run_once() are gated on
`node_name == VPS_NODE_NAME`, not node_type — so they keep running. Monitoring,
event shipping and action dispatch are likewise unaffected.

Temporary — remove once R1 (explicit-enumeration prune) is deployed.
Refs docs/incidents/2026-07-30-ollama-solaria-vanish.md §7 M1.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 16:20:02 +02:00
..
chelsty-ha feat(hosts): add os_hostname field to all host.yaml files 2026-06-24 22:24:34 +02:00
chelsty-infra feat(hosts): add os_hostname field to all host.yaml files 2026-06-24 22:24:34 +02:00
lustro feat(hosts): reconcile desired state with reality on vps, piha, saturn, lustro 2026-07-30 15:36:23 +02:00
piha feat(narty27): statyczny hosting viz.html na PIHA (nginx + named volume) 2026-07-31 16:38:55 +02:00
saturn feat(hosts): reconcile desired state with reality on vps, piha, saturn, lustro 2026-07-30 15:36:23 +02:00
solaria mitigation(solaria): M1 — NODE_TYPE=lte_node wyłącza prune node-agenta 2026-08-04 14:49:22 +02:00
vps fix(vps): M1 mitigation — NODE_TYPE=lte_node disables unfiltered prune 2026-08-04 16:20:02 +02:00