Thanks,
seems like by default the container engine that you're using tries to assign both nodes (0,1) to the container, unfortunately inside the VM (where the container is created)
there is only one node (0), as a temporal workaround, can you change this behavior? (i.e docker run --cpuset-mems="0" ....)
On Mon, 2019-11-11 at 08:36 -0800, Al Lau wrote:
$ ls -l /sys/devices/system/node
total 0
-r--r--r-- 1 root root 4096 Nov 11 08:32 has_cpu
-r--r--r-- 1 root root 4096 Nov 11 08:32 has_memory
-r--r--r-- 1 root root 4096 Nov 11 08:32 has_normal_memory
drwxr-xr-x 4 root root 0 Nov 8 01:45 node0
drwxr-xr-x 4 root root 0 Nov 8 01:45 node1
-r--r--r-- 1 root root 4096 Nov 11 08:32 online
-r--r--r-- 1 root root 4096 Nov 11 08:32 possible
drwxr-xr-x 2 root root 0 Nov 11 08:32 power
-rw-r--r-- 1 root root 4096 Nov 8 01:45 uevent
$ ls -l /sys/devices/system/node | grep node | wc -l
2
On Mon, 2019-11-11 at 08:23 -0600, Julio Montes wrote:
Hi Al
how many memory nodes have your system? ( ls /sys/devices/system/ | grep node | wc -l )
* ls /sys/devices/system/node | grep node | wc -l
can you change the number of cpuset-mems to 0? for example in docker: docker run --cpuset-mems="0" ....
-
Julio
On Fri, 2019-11-08 at 14:56 -0800, Al Lau wrote:
Hi Julio,
Attached is the configuration.toml file. I hope this is what you are looking. for.
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/containerd-kata.md#configuration
When I attempt to create a kata container, I got this error message. Anyone know how I can resolve this?
kata-runtime : 1.8.2
commit : cdc30296c370414d8ef445abd06378199775d076
OCI specs: 1.0.1-dev
$ 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