ERROR: Job failed: prepare environment: waiting for pod running: pulling image "docker.domain.com/external/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-######": image pull failed: failed to pull and unpack image "docker.domain.com/external/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-######": failed to extract layer sha256:<digest>: failed to unmount /var/lib/containerd/tmpmounts/containerd-mount15044####: failed to unmount target /var/lib/containerd/tmpmounts/containerd-mount15044####: device or resource busy: unknownDeployments fail only when scheduled on one specific worker node.
Image pull starts successfully but fails during layer extraction or unpacking.
Stale temporary mounts remain under /var/lib/containerd/tmpmounts/.
Cordoning the affected node allows deployments to succeed on alternate nodes.
vSphere Kubernetes Release
The containerd runtime is unable to clean up temporary mounts created under /var/lib/containerd/tmpmounts/ during image layer extraction when the unmount operation fails with a device or resource busy error.
Log into the affected worker node via SSH.
Verify whether stale containerd temporary mounts exist on the node:
mount | grep containerd/tmpmounts
findmnt | grep containerd/tmpmounts
cat /proc/self/mountinfo | grep containerd/tmpmounts
Check whether active processes or containerd are holding the temporary mount open:
lsof +D /var/lib/containerd/tmpmounts 2>/dev/null
fuser -vm /var/lib/containerd/tmpmounts
Cordon the impacted worker node:
kubectl cordon <node-name>
Drain active workloads from the node:
kubectl drain <node-name> --ignore-daemonsets --delete-emptydir-data
Restart containerd and kubelet services on the affected node:
systemctl restart containerd
systemctl restart kubelet
Confirm that stale temporary mounts have been removed:
mount | grep containerd/tmpmounts
Test manual image extraction:
crictl pull <image-name>
Once the pull succeeds and no stale mounts remain, uncordon the worker node:
kubectl uncordon <node-name>
/var/lib/containerd/tmpmounts/ after image pull failure indicates that cleanup did not complete successfully. For example, stale mounts may appear similar to:/var/lib/containerd/tmpmounts/containerd-mount18313####/var/lib/containerd/tmpmounts/containerd-mount112892####containerd created the temporary mount during image unpack but failed to remove it afterward.journalctl -u containerd -n 200 --no-pagerjournalctl -u kubelet -n 200 --no-pagerdf -hdf -idmesg -T | egrep -i "containerd|overlay|ext4|xfs|I/O|error"ps -ef | grep containerdstale container runtime state on the worker node
interrupted image extraction
filesystem or overlay mount issues
third-party host software interacting with container runtime temporary mount paths