My environment configured containerd with kata-runtime. I followed the setup instructions on https://github.com/kata-containers/documentation/blob/master/how-to/containe... When I attempt to create a kata container, I got this error message. Anyone know how I can resolve this? rpc error: code = Unknown desc = failed to create containerd task: Could not run process: container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"failed to write 0,1 to cpuset.mems: write /sys/fs/cgroup/cpuset/ k8s.io/f1fdd8d5be9030388e4e04dd7d42df9e77a3d46ecb4922ecb2936bf92f74595d/cpuset.mems: numerical result out of range\"": unknown kata-runtime : 1.8.2 commit : cdc30296c370414d8ef445abd06378199775d076 OCI specs: 1.0.1-dev containerd github.com/containerd/containerd 1.2.4 e6b3f5632f50dbc4e9cb6288d911bf4f5e95b18e $ cat /etc/containerd/config.toml . . . [plugins.cri.containerd.runtimes.kata] runtime_type = "io.containerd.kata.v2" [plugins.cri.containerd.runtimes.kata.options] ConfigPath = "/etc/kata-containers/configuration.toml" [plugins.cri.cni] bin_dir = "/opt/cni/bin" conf_dir = "/etc/cni/net.d" conf_template = "" Thanks, Al
I'd like to see the kata configuration and pod configuration (yaml) running custom kernel? On Fri, 2019-11-08 at 14:05 -0800, Al Lau wrote: My environment configured containerd with kata-runtime. I followed the setup instructions on https://github.com/kata-containers/documentation/blob/master/how-to/containe... When I attempt to create a kata container, I got this error message. Anyone know how I can resolve this? rpc error: code = Unknown desc = failed to create containerd task: Could not run process: container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"failed to write 0,1 to cpuset.mems: write /sys/fs/cgroup/cpuset/k8s.io/f1fdd8d5be9030388e4e04dd7d42df9e77a3d46ecb4922ecb2936bf92f74595d/cpuset.mems<http://k8s.io/f1fdd8d5be9030388e4e04dd7d42df9e77a3d46ecb4922ecb2936bf92f74595d/cpuset.mems>: numerical result out of range\"": unknown kata-runtime : 1.8.2 commit : cdc30296c370414d8ef445abd06378199775d076 OCI specs: 1.0.1-dev containerd github.com/containerd/containerd<http://github.com/containerd/containerd> 1.2.4 e6b3f5632f50dbc4e9cb6288d911bf4f5e95b18e $ cat /etc/containerd/config.toml . . . [plugins.cri.containerd.runtimes.kata] runtime_type = "io.containerd.kata.v2" [plugins.cri.containerd.runtimes.kata.options] ConfigPath = "/etc/kata-containers/configuration.toml" [plugins.cri.cni] bin_dir = "/opt/cni/bin" conf_dir = "/etc/cni/net.d" conf_template = "" Thanks, Al _______________________________________________ kata-dev mailing list <mailto:kata-dev@lists.katacontainers.io> kata-dev@lists.katacontainers.io <http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev> http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev
Hi Julio, I used the kata-deploy https://github.com/kata-containers/packaging/tree/master/kata-deploy to install and configure kata in my environment. I added the kata as plugins.cri in the /etc/containerd/config.toml file. This configuration.toml file is long. Can I email that to you in a separate email? I'm not using Kubernetes. I use the v1alpha2 CRI API to set the "runtime_handler" to" kata" that is defined in /etc/containerd/config.toml file. If this does not make sense to you, please let me know. Thanks, Al On Fri, Nov 8, 2019 at 2:11 PM Montes, Julio <julio.montes@intel.com> wrote:
I'd like to see the kata configuration and pod configuration (yaml)
running custom kernel?
On Fri, 2019-11-08 at 14:05 -0800, Al Lau wrote:
My environment configured containerd with kata-runtime. I followed the setup instructions on https://github.com/kata-containers/documentation/blob/master/how-to/containe...
When I attempt to create a kata container, I got this error message. Anyone know how I can resolve this?
rpc error: code = Unknown desc = failed to create containerd task: Could not run process: container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"failed to write 0,1 to cpuset.mems: write /sys/fs/cgroup/cpuset/ k8s.io/f1fdd8d5be9030388e4e04dd7d42df9e77a3d46ecb4922ecb2936bf92f74595d/cpuset.mems: numerical result out of range\"": unknown
kata-runtime : 1.8.2 commit : cdc30296c370414d8ef445abd06378199775d076 OCI specs: 1.0.1-dev
containerd github.com/containerd/containerd 1.2.4 e6b3f5632f50dbc4e9cb6288d911bf4f5e95b18e
$ cat /etc/containerd/config.toml . . . [plugins.cri.containerd.runtimes.kata] runtime_type = "io.containerd.kata.v2" [plugins.cri.containerd.runtimes.kata.options] ConfigPath = "/etc/kata-containers/configuration.toml" [plugins.cri.cni] bin_dir = "/opt/cni/bin" conf_dir = "/etc/cni/net.d" conf_template = ""
Thanks, Al
_______________________________________________
kata-dev mailing list
kata-dev@lists.katacontainers.io
http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev
This is the v1alpha2's api.proto that describes the RunPodSandboxRequest request message. https://godoc.org/k8s.io/cri-api/pkg/apis/runtime/v1alpha2#RunPodSandboxRequ... Thanks, Al On Fri, Nov 8, 2019 at 2:11 PM Montes, Julio <julio.montes@intel.com> wrote:
I'd like to see the kata configuration and pod configuration (yaml)
running custom kernel?
On Fri, 2019-11-08 at 14:05 -0800, Al Lau wrote:
My environment configured containerd with kata-runtime. I followed the setup instructions on https://github.com/kata-containers/documentation/blob/master/how-to/containe...
When I attempt to create a kata container, I got this error message. Anyone know how I can resolve this?
rpc error: code = Unknown desc = failed to create containerd task: Could not run process: container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"failed to write 0,1 to cpuset.mems: write /sys/fs/cgroup/cpuset/ k8s.io/f1fdd8d5be9030388e4e04dd7d42df9e77a3d46ecb4922ecb2936bf92f74595d/cpuset.mems: numerical result out of range\"": unknown
kata-runtime : 1.8.2 commit : cdc30296c370414d8ef445abd06378199775d076 OCI specs: 1.0.1-dev
containerd github.com/containerd/containerd 1.2.4 e6b3f5632f50dbc4e9cb6288d911bf4f5e95b18e
$ cat /etc/containerd/config.toml . . . [plugins.cri.containerd.runtimes.kata] runtime_type = "io.containerd.kata.v2" [plugins.cri.containerd.runtimes.kata.options] ConfigPath = "/etc/kata-containers/configuration.toml" [plugins.cri.cni] bin_dir = "/opt/cni/bin" conf_dir = "/etc/cni/net.d" conf_template = ""
Thanks, Al
_______________________________________________
kata-dev mailing list
kata-dev@lists.katacontainers.io
http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev
participants (2)
-
Al Lau
-
Montes, Julio