failed to create containerd task: memory.memsw.limit_in_bytes: no such file or directory: unknown #8855
Description
Description
Jul 20 17:59:23 ip-10-0-69-209 containerd[1091]: time="2023-07-20T17:59:23.417625059Z" level=error msg="StartContainer for "eed3e4d317cb342f1a515f21f79999cc22356be63f872937fbbbe55b946dc268" failed" error="failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: open /sys/fs/cgroup/memory/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod396e1a1a_f897_420f_ad59_f9de8b9d52a1.slice/cri-containerd-eed3e4d317cb342f1a515f21f79999cc22356be63f872937fbbbe55b946dc268.scope/memory.memsw.limit_in_bytes: no such file or directory: unknown"
Steps to reproduce the issue
This failed the kube CI in https://storage.googleapis.com/kubernetes-jenkins/logs/periodic-cluster-api-provider-aws-e2e-conformance-with-k8s-ci-artifacts/1682082450357882880/artifacts/clusters/bootstrap/instances/conformance-wkh5oq/conformance-gx29np-md-0-pt5gl/containerd.log.
Describe the results you received and expected
I see #7828 is a similar issue and asked to upgrade containerd to v1.6.21 from v1.6.8. But, the issue is still not fixed. #7828 is fixed in v1.6.14.
BTW, there are some swap related changes in kubernetes.
- Add full cgroup v2 swap support with automatically calculated swap limit for LimitedSwap and Burstable QoS Pods kubernetes/kubernetes#118764
- Add swap to stats to Summary API and Prometheus endpoints (
/stats/summary
and/metrics/resource
) kubernetes/kubernetes#118865
What version of containerd are you using?
v1.6.21
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response
Activity