Description
Starting with v2.2.3, rootless containerd in CRI mode fails to extract layers.
This is a regression in 660de19 "Tweak mount info for overlayfs in case of parallel unpack"
Steps to reproduce the issue
dockerd-rootless-setuptool.sh install
make
cat <<'EOF' | docker build -t tmp --build-context local=. -
FROM kindest/node:v1.35.1
COPY --from=local bin/containerd* /usr/local/bin/
EOF
kind create cluster --image=tmp
docker exec kind-control-plane journalctl -f
Describe the results you received and expected
Received:
[...]
May 12 16:57:23 kind-control-plane kubelet[257]: failed to extract layer (application/vnd.docker.image.rootfs
.diff.tar sha256:6f1cdceb6a3146f0ccb986521156bef8a422cdbb0863396f7f751f575ba308f4) to overlayfs as "extract-920875437
-7QPF sha256:31e64620332e54e3e4fb246d8325ed2c9f1c2cc64a95f0bb23b4b7e82834c95a": failed to mount /var/lib/containerd/t
mpmounts/containerd-mount2180142388: mount source: "overlay", target: "/var/lib/containerd/tmpmounts/containerd-mount
2180142388", fstype: overlay, flags: 0, data: "upperdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/sn
apshots/279/fs", err: invalid argument
[...]
Expected: no error
What version of containerd are you using?
v2.2.3
Any other relevant information
Found in:
Show configuration if it is related to CRI plugin.
No response
Description
Starting with v2.2.3, rootless containerd in CRI mode fails to extract layers.
This is a regression in 660de19 "Tweak mount info for overlayfs in case of parallel unpack"
Steps to reproduce the issue
Describe the results you received and expected
Received:
Expected: no error
What version of containerd are you using?
v2.2.3
Any other relevant information
Found in:
Show configuration if it is related to CRI plugin.
No response