Monday, 2022-02-21

kata-irc-bot<aik> vitriofsd fails on my host, debugging03:04
kata-irc-bot<aik> ```aik@zz1:~/kata-tmp$ sudo ./virtiofsd --socket-path=./vhostqemu -o source=$(pwd)/virtio-fs/fs -o cache=always virtio_session_mount: Waiting for vhost-user socket connection...                                            virtio_session_mount: Received vhost-user socket connection                                                  virtio_loop: Entry                                                                                          03:13
kata-irc-botfv_panic: libvhost-user: Invalid vring_addr message                                                         ```03:13
kata-irc-bot<aik> @jakob.naucke I am more interested in running kata directly, without ctr06:57
kata-irc-bot<aik> something passes `root=/dev/pmem0p1` to the vm even though the root image is virtio-blk07:12
kata-irc-bot<oshiagupta36> But when I am creating a pod with Kata runtime, its giving me an error `Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: start failed: runtime "io.containerd.kata.v2" binary not installed "containerd-shim-kata-v2": file does not exist: unknown`07:52
kata-irc-bot<fidencio> @oshiagupta36, what's the Kata Deploy version used?07:53
kata-irc-bot<fidencio> Also, what's the containerd version used?07:54
kata-irc-bot<oshiagupta36> Hi @fidencio I am installing stable version of kata-deploy through this https://github.com/kata-containers/kata-containers/blob/main/tools/packaging/kata-deploy/README.md#installing-the-stable-image07:57
kata-irc-bot<fidencio> Right, so it's 2.3.2, and what's the containerd version running on your cluster?07:58
kata-irc-bot<fidencio> Do you have access to the node to do some debugging there?07:59
kata-irc-bot<oshiagupta36> right now I am not having access to the node but containerd version I think was 1.508:01
kata-irc-bot<oshiagupta36> i will check with containerd version one more time08:01
kata-irc-bot<fidencio> I would be interested on the kata-deploy logs to see what may have gone wrong with the installation08:02
kata-irc-bot<fidencio> Once you're able to get that, please, open an issue with all the info so we can take a look at that08:03
kata-irc-bot<oshiagupta36> ok , I will update you in sometime as I have to set up the lab at my end for this08:04
kata-irc-bot<oshiagupta36> https://github.com/kata-containers/kata-containers/issues/3734 opened an issue for the same08:25
kata-irc-bot<fidencio> can you check whether you have `/opt/kata/` content on your node?08:26
kata-irc-bot<oshiagupta36> yes , i have08:28
kata-irc-bot<fidencio> Hmm.08:29
kata-irc-bot<fidencio> Is there any `/usr/local/bin/containerd-shim-kata-v2` or `/usr/bin/containerd-shim-kata-v2` binary present on your node?08:31
kata-irc-bot<oshiagupta36> In `/usr/local/bin`  I have ```containerd-shim-kata-clh-v2  containerd-shim-kata-fc-v2  containerd-shim-kata-qemu-v2```08:33
kata-irc-bot<fidencio> And can you tell me what are the runtime classes that are installed?08:36
kata-irc-bot<fidencio> and also could you do a simple test using `kata-qemu` or `kata-clh` as a runtime class?  That may work the issue around08:37
kata-irc-bot<oshiagupta36> runc was by default and then created a kata runtime class08:38
kata-irc-bot<oshiagupta36> sure, I will try with `kata-qemu` and `kata-clh` and then update you08:39
kata-irc-bot<fidencio> `kubectl get runtimeclasses` tells you all the runtime classes you've deployed08:41
kata-irc-bot<oshiagupta36> trying with `kata-qemu` works08:42
kata-irc-bot<fidencio> Okay, it's a bug on our side, it'll be fixed for the next stable release08:44
kata-irc-bot<fidencio> For now you have a workaround you can use.08:44
kata-irc-bot<oshiagupta36> ok , thank you so much for the help08:44
kata-irc-bot<fidencio> np!08:44
kata-irc-bot<fidencio> https://github.com/kata-containers/kata-containers/pull/3735 should solve the issue.09:06
kata-irc-bot<jakob.naucke> > I am more interested in running kata directly, without ctr I don't think we really support that. I'm aware that the `runc` binary can do this, but we only build the shim (`containerd-shim-kata-v2`, compare `containerd-shim-runc-v2`). > virtiofsd fails on my host, debugging You can, for testing, also configure Kata to use virtio-9p (`configuration.toml`).10:18
kata-irc-bot<feng.wang> @eric.ernst @bergwolf @fidencio Are we having AC meeting tomorrow? Can we discuss vcpu pinning? I created a issue a couple days ago: https://github.com/kata-containers/kata-containers/issues/372620:57
kata-irc-bot<fidencio> I sent an email cancelling the meeting a few hours ago.20:57
kata-irc-bot<feng.wang> Okay. I haven’t received it yet. Then we can discuss this offline.20:58
kata-irc-bot<eric.ernst> I'm okay with reviewing and discussing async (agenda is light tomorrow but i do want to move this forward)20:58
kata-irc-bot<feng.wang> Great. Please comment on the issue :)20:58
kata-irc-bot<fidencio> So, I actually didn't send it yet.20:59
kata-irc-bot<eric.ernst> What's CO?20:59
kata-irc-bot<feng.wang> cluster orchestrator20:59
kata-irc-bot<eric.ernst> Ack! 20:59
kata-irc-bot<fidencio> Up to you guys to have a meeting to discuss that, otherwise I will send it out now.20:59
kata-irc-bot<feng.wang> I’m fine discussing this offline first. 7am meeting is always a bit hard for me :,)21:03
kata-irc-bot<fidencio> ack, then I will send the email now :slightly_smiling_face:21:03
kata-irc-bot<fidencio> I promise to go through that issue first thing in the morning Tomorrow.21:03
kata-irc-bot<feng.wang> Thank yoU!21:04

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!