<div dir="ltr">Hi Ralf,<div>Thank You for your response.</div><div><br></div><div>I have these lines in the /etc/crio/crio.conf file.</div><div><br></div><div><font face="monospace">[crio.runtime.runtimes.<span class="gmail-il">kata</span>]<br>runtime_path = "/opt/<span class="gmail-il">kata</span>/bin/containerd-shim-<span class="gmail-il">kata</span>-v2"<br>runtime_type = "vm"</font><br></div><div><span style="font-family:monospace">runtime_root = "/run/</span><span class="gmail-il" style="font-family:monospace">kata</span><span style="font-family:monospace">-runtime"</span> <br></div><div><div><font face="monospace"><br></font></div><div><font face="monospace">I'm getting this gRPC error.</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">"runtime "/opt/<span class="gmail-il">kata</span>/bin/containerd.shim.<span class="gmail-il">kata</span>.v2" binary not installed "containerd-shim-<span class="gmail-il">kata</span>-v2": file does not exist]"</font><br></div><div><br></div><div><div>This error message said it is looking for runtime "/opt/<span class="gmail-il">kata</span>/bin/containerd.shim.<span class="gmail-il">kata</span>.v2. </div><div><br></div><div>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.</div><div><br></div><div>In my environment, I used the <span class="gmail-il">kata</span>-deploy method to install <span class="gmail-il">kata</span> into the /opt/<span class="gmail-il">kata</span> directory. <br></div></div><div><br></div><div><font face="monospace"># ls -l /opt/<span class="gmail-il">kata</span>/bin/<br>total 95448<br>-rwxr-xr-x 1 root root 28095712 Sep 17 22:00 <b>containerd-shim-<span class="gmail-il">kata</span>-v2</b><br>-rwxr-xr-x 1 root root 3707352 Sep 17 22:16 firecracker<br>-rwxr-xr-x 1 root root 3289832 Sep 17 22:16 jailer<br>-rwxr-xr-x 1 root root 14410 Sep 17 22:00 <span class="gmail-il">kata</span>-collect-data.sh<br>-rwxr-xr-x 1 root root 121 Sep 17 22:01 <span class="gmail-il">kata</span>-fc<br>-rwxr-xr-x 1 root root 123 Sep 17 22:01 <span class="gmail-il">kata</span>-nemu<br>-rwxr-xr-x 1 root root 123 Sep 17 22:01 <span class="gmail-il">kata</span>-qemu<br>-rwxr-xr-x 1 root root 35464000 Sep 17 22:00 <span class="gmail-il">kata</span>-runtime<br>-rwxr-xr-x 1 root root 13101424 Sep 17 22:15 nemu-system-x86_64<br>-rwxr-xr-x 1 root root 13442928 Sep 17 22:09 qemu-system-x86_64<br>-rwxr-xr-x 1 root root 590464 May 22 00:03 virtiofsd-x86_64</font></div></div><div><br></div><div>Thanks,</div><div>Al</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 6, 2019 at 9:11 AM Ralf Haferkamp <<a href="mailto:rhafer@suse.com">rhafer@suse.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On Thursday, October 31, 2019 4:22:57 PM CET Al Lau wrote:<br>
> I want to use kata shimv2 in /etc/crio/crio.conf as one of the runtimes.<br>
> Anyone know the syntax I should be using for the runtime_path? The<br>
> runtime_path specified in this example gave a "usage" error.<br>
> <br>
> [crio.runtime.runtimes.kata]<br>
> runtime_path = "/opt/kata/bin/containerd-shim-kata-v2"<br>
> runtime_type = "oci"<br>
<br>
AFAIK this needs to be "vm" instead of "oci". Otherwise I think the config<br>
is ok.<br>
<br>
> runtime_root = "/run/kata-runtime"<br>
> <br>
<br>
<br>
-- <br>
regards,<br>
Ralf<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
kata-dev mailing list<br>
<a href="mailto:kata-dev@lists.katacontainers.io" target="_blank">kata-dev@lists.katacontainers.io</a><br>
<a href="http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev" rel="noreferrer" target="_blank">http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev</a><br>
</blockquote></div>