You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a host reboot, the active nspawn worker (kube1) did not start, and the node stayed NotReady for three
days. The agent service started normally and kept logging decision=ReportSucceeded reason="goal state is applied" the whole time, without restarting the worker or reporting a problem.
Environment
AKS Flex Node v0.3.0 (upgraded from v0.2.0), unbounded v0.21.0 → v0.23.0, AKS 1.37.0
On RHEL the systemd preset leaves machines.target disabled, so it is never reached at boot and the worker
doesn't start (machinectl list → No machines). Ubuntu enables machines.target by default, which is
probably why this doesn't show up there.
Workaround: systemctl enable machines.target, then systemctl start systemd-nspawn@kube1.service.
Agent behavior
daemon-state.json showed "activeMachine": "kube1" while kube1 wasn't running, yet the daemon reported the
goal state as applied every reconcile. Pods on the node stayed Terminating and the node NotReady until the
worker was started manually.
Requests
Enable machines.target during bootstrap (or start the active worker from the agent on startup), and add a
preflight check for it.
Have the daemon verify that the active machine is actually running, and restart it or surface a failure
(node condition, event, or machine status) instead of reporting success.
Activity