Kind 0.20.0 pod create error with 0.20.0 node images #3309
Description
What happened:
Just upgraded to kind 0.20.0. If I specify any of the node images that are listed in the release (e.g. kindest/node:v1.22.17@sha256:f5b2e5698c6c9d6d0adc419c0deae21a425c07d81bbf3b6a6834042f25d4fba2
or kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
) one of my pods (the only statefulset fwiw), fails to create with the following error:
Failed to pull image "xxx": rpc error: code = Unknown desc = failed to pull and unpack image "xxx": failed to extract layer sha256:yyy: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount2288311390: failed to convert whiteout file "var/cache/apt/.wh.archives": unlinkat /var/lib/containerd/tmpmounts/containerd-mount2288311390/var/cache/apt/archives: input/output error: unknown
Interestingly if I switch the node image to one specified in the kind 0.19.0 release while still running kind 0.20.0 (for example kindest/node:v1.22.17@sha256:9af784f45a584f6b28bce2af84c494d947a05bd709151466489008f80a9ce9d5
or kindest/node:v1.27.1@sha256:b7d12ed662b873bd8510879c1846e87c7e676a79fefc93e17b2a52989d3ff42b
), it works.
What you expected to happen: Pods run without error
How to reproduce it (as minimally and precisely as possible):
kind create cluster --image=<image mentioned above>
helm install my-app
Anything else we need to know?: Running on rootless podman via systemd user scope
Environment:
- kind version: (use
kind version
):kind v0.20.0 go1.20.4 linux/amd64
- Runtime info: (use
docker info
orpodman info
):
host:
arch: amd64
buildahVersion: 1.29.0
cgroupControllers:
- cpuset
- cpu
- io
- memory
- pids
cgroupManager: systemd
cgroupVersion: v2
conmon:
package: conmon-2.1.6-1.module+el8.8.0+1265+fa25dd7a.x86_64
path: /usr/bin/conmon
version: 'conmon version 2.1.6, commit: a88a21e8953a6243d5f369f61a342bcaf0630aa1'
cpuUtilization:
idlePercent: 87.51
systemPercent: 2.75
userPercent: 9.75
cpus: 12
distribution:
distribution: '"rocky"'
version: "8.8"
eventLogger: file
hostname: x
idMappings:
gidmap:
- container_id: 0
host_id: 1000
size: 1
- container_id: 1
host_id: 100000
size: 65536
uidmap:
- container_id: 0
host_id: 1000
size: 1
- container_id: 1
host_id: 100000
size: 65536
kernel: 4.18.0-477.15.1.el8_8.x86_64
linkmode: dynamic
logDriver: k8s-file
memFree: 377614336
memTotal: 33449598976
networkBackend: cni
ociRuntime:
name: runc
package: runc-1.1.4-1.module+el8.8.0+1265+fa25dd7a.x86_64
path: /usr/bin/runc
version: |-
runc version 1.1.4
spec: 1.0.2-dev
go: go1.19.4
libseccomp: 2.5.2
os: linux
remoteSocket:
exists: true
path: /run/user/1000/podman/podman.sock
security:
apparmorEnabled: false
capabilities: CAP_SYS_CHROOT,CAP_NET_RAW,CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID
rootless: true
seccompEnabled: true
seccompProfilePath: /usr/share/containers/seccomp.json
selinuxEnabled: true
serviceIsRemote: false
slirp4netns:
executable: /usr/bin/slirp4netns
package: slirp4netns-1.2.0-2.module+el8.8.0+1265+fa25dd7a.x86_64
version: |-
slirp4netns version 1.2.0
commit: 656041d45cfca7a4176f6b7eed9e4fe6c11e8383
libslirp: 4.4.0
SLIRP_CONFIG_VERSION_MAX: 3
libseccomp: 2.5.2
swapFree: 16638275584
swapTotal: 16793989120
uptime: 2h 39m 21.00s (Approximately 0.08 days)
plugins:
authorization: null
log:
- k8s-file
- none
- passthrough
- journald
network:
- bridge
- macvlan
- ipvlan
volume:
- local
registries:
search:
- registry.access.redhat.com
- registry.redhat.io
- docker.io
store:
configFile: /home/x/.config/containers/storage.conf
containerStore:
number: 3
paused: 0
running: 2
stopped: 1
graphDriverName: overlay
graphOptions: {}
graphRoot: /home/x/.local/share/containers/storage
graphRootAllocated: 407822663680
graphRootUsed: 137751646208
graphStatus:
Backing Filesystem: xfs
Native Overlay Diff: "true"
Supports d_type: "true"
Using metacopy: "false"
imageCopyTmpDir: /home/x/tmp
imageStore:
number: 172
runRoot: /run/user/1000/containers
transientStore: false
volumePath: /home/x/.local/share/containers/storage/volumes
version:
APIVersion: 4.4.1
Built: 1687991933
BuiltTime: Wed Jun 28 18:38:53 2023
GitCommit: ""
GoVersion: go1.19.9
Os: linux
OsArch: linux/amd64
Version: 4.4.1
- OS (e.g. from
/etc/os-release
):
NAME="Rocky Linux"
VERSION="8.8 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.8 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2029-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8"
ROCKY_SUPPORT_PRODUCT_VERSION="8.8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.8
- Kubernetes version: (use
kubectl version
):
Client Version: v1.24.3
Kustomize Version: v4.5.4
Server Version: v1.22.17
- Any proxies or other special environment settings?:
Kind config:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
# don't pass through host search paths
dnsSearch: []