I want to use kata shimv2 in /etc/crio/crio.conf as one of the runtimes. Anyone know the syntax I should be using for the runtime_path? The runtime_path specified in this example gave a "usage" error.
[crio.runtime.runtimes.kata] runtime_path = "/opt/kata/bin/containerd-shim-kata-v2" runtime_type = "oci" runtime_root = "/run/kata-runtime"
Thanks, A
Hi,
On Thursday, October 31, 2019 4:22:57 PM CET Al Lau wrote:
I want to use kata shimv2 in /etc/crio/crio.conf as one of the runtimes. Anyone know the syntax I should be using for the runtime_path? The runtime_path specified in this example gave a "usage" error.
[crio.runtime.runtimes.kata] runtime_path = "/opt/kata/bin/containerd-shim-kata-v2" runtime_type = "oci"
AFAIK this needs to be "vm" instead of "oci". Otherwise I think the config is ok.
runtime_root = "/run/kata-runtime"
Hi Ralf, Thank You for your response.
I have these lines in the /etc/crio/crio.conf file.
[crio.runtime.runtimes.kata] runtime_path = "/opt/kata/bin/containerd-shim-kata-v2" runtime_type = "vm" runtime_root = "/run/kata-runtime"
I'm getting this gRPC error.
"runtime "/opt/kata/bin/containerd.shim.kata.v2" binary not installed "containerd-shim-kata-v2": file does not exist]"
This error message said it is looking for runtime "/opt/kata /bin/containerd.shim.kata.v2.
I also tried with a soft symlink containerd.shim.kata.v2 -> containerd-shim-kata-v2 in /opt/kata/bin directory and still see the same issue.
In my environment, I used the kata-deploy method to install kata into the /opt/kata directory.
# ls -l /opt/kata/bin/ total 95448 -rwxr-xr-x 1 root root 28095712 Sep 17 22:00 *containerd-shim-kata-v2* -rwxr-xr-x 1 root root 3707352 Sep 17 22:16 firecracker -rwxr-xr-x 1 root root 3289832 Sep 17 22:16 jailer -rwxr-xr-x 1 root root 14410 Sep 17 22:00 kata-collect-data.sh -rwxr-xr-x 1 root root 121 Sep 17 22:01 kata-fc -rwxr-xr-x 1 root root 123 Sep 17 22:01 kata-nemu -rwxr-xr-x 1 root root 123 Sep 17 22:01 kata-qemu -rwxr-xr-x 1 root root 35464000 Sep 17 22:00 kata-runtime -rwxr-xr-x 1 root root 13101424 Sep 17 22:15 nemu-system-x86_64 -rwxr-xr-x 1 root root 13442928 Sep 17 22:09 qemu-system-x86_64 -rwxr-xr-x 1 root root 590464 May 22 00:03 virtiofsd-x86_64
Thanks, Al
On Wed, Nov 6, 2019 at 9:11 AM Ralf Haferkamp rhafer@suse.com wrote:
Hi,
On Thursday, October 31, 2019 4:22:57 PM CET Al Lau wrote:
I want to use kata shimv2 in /etc/crio/crio.conf as one of the runtimes. Anyone know the syntax I should be using for the runtime_path? The runtime_path specified in this example gave a "usage" error.
[crio.runtime.runtimes.kata] runtime_path = "/opt/kata/bin/containerd-shim-kata-v2" runtime_type = "oci"
AFAIK this needs to be "vm" instead of "oci". Otherwise I think the config is ok.
runtime_root = "/run/kata-runtime"
-- regards, Ralf
kata-dev mailing list kata-dev@lists.katacontainers.io http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev
participants (2)
-
Al Lau
-
Ralf Haferkamp