In a kubernetes cluster the calico pod on the worker node is stuck in state “Init: 0/2” when added to the cluster.
On the control node, however, the calico node pod stays in running state.
The cluster runs on Microk8s v1.31/stable on top of Ubuntu Server 24.04 on both the control node and the worker node.
In the kubernetes dashboard i can see the following error in the failing calico pod:
(combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: failed to mount rootfs component &{overlay overlay [workdir=/var/snap/microk8s/common/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/237259/work upperdir=/var/snap/microk8s/common/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/237259/fs lowerdir=/var/snap/microk8s/common/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1/fs]}: invalid argument: unknown
Why can’t the calico pod be initialised on the worker node?
Can someone please suggest some possible reason for the problem?
Is something missing in the configuration?
Thx for the question.
Calico is the CNI used in microk8s.
As you can see below the calico pod on the worker node is stuck in init state. The question is why.
Hi, sorry for the long delay, finally got time to check this out.
I looked at the link you suggested but it doesn’t look like the same problem.
Do you mean I should switch the CNI to docker?
dmesg on the worker node contains:
↔
[ 591.782426] overlayfs: upper fs missing required features.
[ 606.778133] overlayfs: upper fs does not support tmpfile.
[ 606.785279] overlayfs: upper fs does not support RENAME_WHITEOUT.
[ 606.785311] overlayfs: failed to set xattr on upper
[ 606.785319] overlayfs: …falling back to redirect_dir=nofollow.
[ 606.785325] overlayfs: …falling back to uuid=null.
[ 606.785332] overlayfs: …falling back to xino=off.
[ 606.785338] overlayfs: upper fs missing required features.
[ 617.781824] overlayfs: upper fs does not support tmpfile.
[ 617.789312] overlayfs: upper fs does not support RENAME_WHITEOUT.
[ 617.789347] overlayfs: failed to set xattr on upper
[ 617.789355] overlayfs: …falling back to redirect_dir=nofollow.
[ 617.789363] overlayfs: …falling back to uuid=null.
[ 617.789371] overlayfs: …falling back to xino=off.
[ 617.789378] overlayfs: upper fs missing required features.
[ 631.771703] overlayfs: upper fs does not support tmpfile.
The worker node boots of TFTP/NFS. Is it possible to configure the required features?