Welcome to the Linux Foundation Forum!

simple-gvisor Pod runsc systemd cgroup

Hi,
the pod in the gvisor class (runsc handler) giving this error:

8m14s Warning FailedCreatePodSandBox pod/simple-gvisor (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: OCI runtime create failed: creating container: configuring cgroup: open /sys/fs/cgroup/cpuset/kubepods-besteffort-podc831f70d_7dfb_4aa1_98bd_1fd26d84d093.slice:cri-containerd:a253c9bd043c124c5a9f5b2875e348bb9b35384f36391acda59c2412400366bc/cpuset.cpus: no such file or directory: unknown
3m14s Normal SandboxChanged pod/simple-gvisor Pod sandbox changed, it will be killed and re-created.

steps to solve this problem:
I have reconfigured the /etc/containerd/config.toml to include this lines:
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runsc]
runtime_type = "io.containerd.runsc.v1"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runsc.options]
SystemdCgroup = true

I restarted the containerd daemon and service but still, the problem was not solved.

can someone maybe help with that?
Thanks a lot

Comments

Categories

Upcoming Training