Skip to content

failed to create containerd task: memory.memsw.limit_in_bytes: no such file or directory: unknown #8855

Closed
@pacoxu

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.

https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/periodic-cluster-api-provider-aws-e2e-conformance-with-k8s-ci-artifacts/1682082450357882880

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.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions