Fix kea CrashLoopBackOff: render socket paths under /var/run/kea #3
Reference in New Issue
Block a user
Delete Branch "benvin/fix-runstatedir-path"
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?
kea-0/kea-1 crash-loop on startup (deployed via argocd-apps dhcp-system). kea 2.6.5 restricts control/HA unix socket paths to its compiled runstatedir and rejects any other path by exact string match, even though /var/run symlinks to /run:
The operator rendered all sockets under /run/kea, so both kea-dhcp4 and kea-ctrl-agent fail config load.
RunDirat/var/run/keaso every derived config/socket path matches kea's permitted directory./var/run/keain the kea workload image.Needs a v0.1.1 release afterwards so argocd-apps can bump the operator image.
https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
Kea 2.6.5 restricts control/HA unix socket paths to its compiled runstatedir and rejects any other path by exact string match ("invalid path specified: '/run/kea', supported path is '/var/run/kea'"), even though /var/run is a symlink to /run. The operator rendered sockets under /run/kea, so kea-dhcp4 and kea-ctrl-agent crash-looped on startup. - Point RunDir at /var/run/kea so all derived config/socket paths match. - Pre-create /var/run/kea in the kea image. - Assert rendered socket paths live under /var/run/kea. Claude-Session: https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT