Wednesday, 2020-09-09

*** crobinso has quit IRC00:06
*** egernst has quit IRC00:15
*** egernst_ has joined #kata-dev00:15
*** egernst_ has quit IRC00:18
*** egernst has joined #kata-dev00:19
*** egernst has quit IRC00:22
*** egernst has joined #kata-dev00:22
*** egernst has quit IRC00:28
*** egernst has joined #kata-dev00:28
*** egernst has quit IRC00:52
*** egernst has joined #kata-dev00:53
*** egernst has quit IRC00:57
*** egernst has joined #kata-dev01:16
*** egernst has quit IRC01:21
*** egernst has joined #kata-dev01:53
*** fgiudici has joined #kata-dev03:51
*** egernst_ has joined #kata-dev04:02
*** egernst has quit IRC04:04
*** bpradipt has joined #kata-dev04:32
*** egernst_ has quit IRC05:19
*** pcaruana has joined #kata-dev06:08
*** egernst has joined #kata-dev06:20
*** egernst has quit IRC06:24
*** dklyle has quit IRC06:39
*** sameo has joined #kata-dev06:45
*** sgarzare has joined #kata-dev06:53
*** jodh has joined #kata-dev07:03
*** amorenoz has joined #kata-dev07:33
*** amorenoz_ has joined #kata-dev07:46
*** amorenoz has quit IRC07:48
*** pcaruana has quit IRC07:55
*** davidgiluk has joined #kata-dev08:02
*** pcaruana has joined #kata-dev08:04
kata-irc-bot1<ssheribe> @bergwolf @fidencio Hi, so as discussed yesterday i’ve tried the following in order to get the rust agent to work with crio, I'd appreciate you advise, am i miss something? 1. Extracting the pre-built kata-static-2.0.0-alpah3 2. Pointing configuration.toml to the img+kernel provided in the pre-built tarball 3. Used the toml file (with the required adaptations) that is provided in the tarball (also tried with another one i had08:20
kata-irc-bot1installed) 4. Replaced the kata-runtime with the one provided by the tarball Everything is running under a single-noded cluster thanks to:  https://github.com/bpradipt/infra/tree/master/kubernetes-setup , and I also tried with upstream agent08:20
*** egernst has joined #kata-dev08:20
kata-irc-bot1<bergwolf> > 4. Replaced the kata-runtime with the one provided by the tarball This should be replacing `containerd-shim-kata-v2`08:22
kata-irc-bot1<fidencio> In the step 4, you replace all the runtime binaries or specifically the `kata-runtime` binary?  Mind that with CRI-O we're using `containerd-shim-kata-v2` instead of the `kata-runtime`08:22
kata-irc-bot1<bergwolf> And you need to configure crio to use shimv2 API. I’m not sure how to do it but it should be supported by CRIO08:22
kata-irc-bot1<fidencio> This part is done automatically by the ansible script @ssheribe is using to deploy the single node k8s cluster.08:23
kata-irc-bot1<fidencio> And yes, it's supported (we've been using it extensively with the go agent)08:23
kata-irc-bot1<bergwolf> Then it would be great to drop and replace these static binaries in a working go-agent environment, right?08:24
kata-irc-bot1<ssheribe> I see, is shimv2 should be provided in this tarball as well?08:25
kata-irc-bot1<fidencio> Yes, should be in the same folder as kata-runtime08:25
kata-irc-bot1<ssheribe> ok, lets try08:26
kata-irc-bot1<fidencio> Yep!08:26
*** egernst has quit IRC08:27
kata-irc-bot1<ssheribe> Failed to create pod sandbox: rpc error: code = Unknown desc = CreateContainer failed: EINVAL: Invalid argument: unknown08:31
kata-irc-bot1<fidencio> Can you pastebin the full log?08:31
kata-irc-bot1<ssheribe> just a sec08:34
kata-irc-bot1<ssheribe> https://pastebin.pl/view/fbb7417208:41
kata-irc-bot1<ssheribe> (having troubles to copy the whole collect script)08:42
kata-irc-bot1<fidencio> I wonder whether you may be hitting: https://github.com/kata-containers/kata-containers/issues/33608:47
kata-irc-bot1<ssheribe> sounds the same08:50
kata-irc-bot1<ssheribe> have you tried it with containerd and the same was hapning?08:50
fidencioyep. can you give it a try with container as well?08:57
fidencio*containerd08:59
kata-irc-bot1<ssheribe> Yes, BTW it seems agent logs are not being collected for me as well (but it does seem to be collected in the logs of the reporter), but still i can confirm agent is starting successfully (i tweaked qemu to get its output to a file)09:05
kata-irc-bot1<fidencio> @ssheribe, to give it a try on containerd you can simply: • dnf install containerd • add kata as a the runtime there: https://github.com/kata-containers/documentation/blob/master/how-to/containerd-kata.md#kata-containers-as-a-runtimeclass • systemctl start containerd • Change /var/lib/kubelet/kubeadm-flags.env to use `/run/containerd/containerd.sock` as the container-runtime-endpoint • Restart kubelet By doing those you shoul09:46
kata-irc-bot1to go09:46
kata-irc-bot1<ssheribe> Thanks, was about to ask, I was looking if it was discussed before on the chat :slightly_smiling_face:09:55
*** jodh has quit IRC11:09
*** devimc has joined #kata-dev12:12
fidenciocome one jodh, don' disappear when I need you :-)12:24
*** ailan has joined #kata-dev12:52
*** fuentess has joined #kata-dev13:12
*** fuentess has quit IRC13:12
kata-irc-bot1<ssheribe> @fidencio should i do the cni steps?13:20
kata-irc-bot1<ssheribe> BTW forgot to mention that it does work with containerd's ctr tool13:21
kata-irc-bot1<fidencio> No, everything should already be there13:21
kata-irc-bot1<ssheribe> since i'm getting issues there13:21
kata-irc-bot1<ssheribe> run pod sandbox failed: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_podsandbox1_redhat.test.crio_redhat-test-crio_1(ba27ab78d606e9d8393174802933bfa5f0ef7ab5ed41dad042921b5303fb14fd): failed to set bridge addr: "cni0" already has an IP address different from 172.19.0.1/2413:21
*** fuentess has joined #kata-dev13:44
*** devimc has quit IRC13:47
*** devimc has joined #kata-dev13:47
*** egernst has joined #kata-dev13:52
*** crobinso has joined #kata-dev13:56
*** egernst has quit IRC14:07
*** dklyle has joined #kata-dev14:46
*** egernst has joined #kata-dev15:47
*** egernst has quit IRC15:53
*** egernst has joined #kata-dev15:54
*** fuentess has quit IRC16:00
*** fuentess1 has joined #kata-dev16:00
*** sgarzare has quit IRC16:10
*** egernst has quit IRC16:11
*** egernst has joined #kata-dev16:13
*** egernst has quit IRC16:18
*** fgiudici has quit IRC17:46
*** bpradipt has quit IRC18:49
kata-irc-bot1<sunny> Hi Kata citizens @channel just want to remind everyone that the deadline for signing up teams for the PTG is approaching! The virtual PTG will be held from Monday October 26th to Friday October 30th, 2020. Please complete BOTH the survey AND reserve time in the ethercalc by September 11 at 12am PT (7:00 UTC):  Team Survey: https://openstackfoundation.formstack.com/forms/oct2020_vptg_survey Ethercalc Sign Up:18:57
kata-irc-bot1https://ethercalc.openstack.org/7xp2pcbh1ncb18:57
*** ailan has quit IRC19:06
*** davidgiluk has quit IRC19:14
kata-irc-bot1<fidencio> @salvador.fuentes, @gabriela.cervantes.te, I've realized I don't have the powers to approve (and count as approved) / merge PRs on the tests repo. Are you the ones I could bother about that?19:34
*** fuentess1 has quit IRC20:25
*** fuentess has joined #kata-dev20:26
*** devimc has quit IRC21:04
*** sameo has quit IRC22:32
*** fuentess has quit IRC22:38

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