Monday, 2020-02-24

*** dklyle has joined #kata-dev00:24
*** sameo has joined #kata-dev06:20
*** lpetrut has joined #kata-dev07:09
*** lpetrut has quit IRC07:10
*** lpetrut has joined #kata-dev07:11
*** sgarzare has joined #kata-dev07:49
*** pcaruana has joined #kata-dev08:20
*** jodh has joined #kata-dev08:31
*** sgarzare has quit IRC08:34
*** sgarzare has joined #kata-dev08:36
*** gwhaley has joined #kata-dev09:15
*** gwhaley has quit IRC12:02
*** pcaruana has quit IRC12:28
*** pcaruana has joined #kata-dev12:42
*** fuentess has joined #kata-dev13:18
*** gwhaley has joined #kata-dev13:25
*** devimc has joined #kata-dev13:40
*** canyounot has joined #kata-dev13:57
*** crobinso has joined #kata-dev14:43
*** lpetrut has quit IRC15:20
kata-irc-bot<eric.ernst> Were you able to launch a spot based VM, @salvador.fuentes ?16:17
kata-irc-bot<salvador.fuentes> @eric.ernst let me check, I think I did, but now I am in doubt16:24
*** devimc has quit IRC16:29
*** devimc has joined #kata-dev16:30
kata-irc-bot<salvador.fuentes> @eric.ernst you're right... I couldn't using the kata-containers account16:31
kata-irc-bot<eric.ernst> Okay. I think we need to request a quota for our account, then.16:35
kata-irc-bot<eric.ernst> I think this would reduce our CI cost pressure considerably. Usually ~80% discount.16:36
kata-irc-bot<salvador.fuentes> yeah, would that be Michael Kelly?16:36
kata-irc-bot<eric.ernst> We can crypto mine w all the savings.16:36
kata-irc-bot<salvador.fuentes> hahaha16:37
kata-irc-bot<eric.ernst> I.... think so.16:37
kata-irc-bot<eric.ernst> I don’t have his email anymore. :)16:37
kata-irc-bot<salvador.fuentes> I have it, I'll send him an email... anyway we need that they add spot support to the jenkins plugin... hopefully soon16:37
kata-irc-bot<eric.ernst> Ok. Sure.16:40
*** devimc has quit IRC17:01
*** pcaruana has quit IRC17:11
*** devimc has joined #kata-dev17:13
kata-irc-bot<graham.whaley> hi @bergwolf @julio.montes et. al. - I have some simple questions I wonder if you can help me with - I'm not sure we document the....17:24
kata-irc-bot<graham.whaley> q1. how can I tell if I am running shimv2 and not shim(v1) ?17:24
kata-irc-bot<graham.whaley> q2. does shimv2 only work with containerd, and not cri-o?17:25
kata-irc-bot<graham.whaley> thx!17:25
*** sgarzare has quit IRC17:25
kata-irc-bot<archana.m.shinde> @graham.whaley shimv2 does work with crio2, but we have a few gaps with restarting containers17:25
*** pcaruana has joined #kata-dev17:26
kata-irc-bot<archana.m.shinde> we dont have CI for it yet17:26
kata-irc-bot<archana.m.shinde> for shimv2, you should be able to see it in the `ps |grep shim` output17:26
kata-irc-bot<graham.whaley> I see 4 'kata-shim's when I am running 2 single container pods - they are called `kata-shim` though. will they be called `shimv2` if in shimv2 mode?17:27
kata-irc-bot<graham.whaley> this is with cri-o as well I think...17:28
kata-irc-bot<graham.whaley> ah, I have two `kata-proxy` running, which means I guess not shimv2?17:29
kata-irc-bot<archana.m.shinde> I believe it is `containerd-shim-kata-v2`17:29
kata-irc-bot<archana.m.shinde> thats the binary17:29
kata-irc-bot<archana.m.shinde> if you are running shimv2, you should not see any `kata-shim` and `kata-proxy` processes17:30
kata-irc-bot<graham.whaley> ack. thanks @archana.m.shinde I'll flip my install to containerd tomorrow hopefully, and see how that looks.17:30
kata-irc-bot<archana.m.shinde> ok17:30
kata-irc-bot<archana.m.shinde> had a brief look at your fluentd doc today17:31
kata-irc-bot<archana.m.shinde> it looks good @graham.whaley17:31
kata-irc-bot<archana.m.shinde> I am glad we had this figured out17:31
kata-irc-bot<graham.whaley> thx. we'll have to see how robust it is. I really should run up a local soak. it is also the driver for me looking at shimv2, to see how/where it's logs go (if anywhere). iirc, we may have just had some doc updates to say you have to enable containerd debug to get them - I want to see if we get anything as is, and they are flippable to json. I'll see what I find. we have gaps - but the runtime/JSON/fluentd is probably the most17:32
kata-irc-botimportant big first step.17:32
*** jodh has quit IRC18:02
*** gwhaley has quit IRC18:02
*** igordc has joined #kata-dev18:36
*** pcaruana has quit IRC19:29
crobinsofidencio: you said there's a PR pending to finish kata-runtime cgroupv2 work. got a link? or is it merged?19:33
kata-irc-bot<archana.m.shinde> crobinso: I think this was the one https://github.com/kata-containers/runtime/pull/244119:34
kata-irc-bot<archana.m.shinde> Thats been merged19:35
kata-irc-bot<eric.ernst> @julio.montes ^^19:35
fidenciocrobinso: exactly!19:36
crobinsothanks19:36
fidenciocrobinso: you'll need that one for runtime (so, cgroups working on the host), and use a new enough agent (1.11.0-alpha0) with an up-to-date libcontainer in order to have it working on the guest side19:37
*** igordc has quit IRC19:58
devimccrobinso: you need to enable sandbox_cgroup_only20:07
crobinsodevimc: okay thanks. I'm not attempting to try it right now, but I will sometime this week20:08
devimccrobinso: ok, thx20:09
devimccrobinso: I'm going to close https://github.com/kata-containers/runtime/issues/2107 , feel free to reopen it20:10
crobinsodevimc: please do!20:10
*** devimc has quit IRC20:14
*** devimc has joined #kata-dev20:19
fidenciodevimc: thanks a ton for working on that!20:19
devimcfidencio: yw :)20:20
fidenciodevimc: before replying to your issue on gitlab ...21:08
devimcfidencio: gitlab?21:08
fidenciodevimc: github, sorry, I'm used to gitlab more :-)21:08
devimchaha21:08
devimcok21:08
fidenciodevimc: what are the distros officially support to run as the guest?21:09
devimcfidencio: we ship an two images,one with clearlinux and other with alpine21:09
fidencioboth support cgroupsv2?21:09
devimcnop21:10
fidenciodevimc: I can image forcing that change causing issues21:10
fidenciodevimc: on centos7, for instace21:10
devimceven with a recent kernel?21:10
fidenciodevimc: I do think so, but I'll double check21:11
fidenciodevimc: so, I would *not* enforce the change to cgroupsv2 and leave that up to the distros (with some documentation on how to enable that, in case the distros want to)21:11
fidencioI'll also add this info to the github issue, but does this make sense?21:11
devimcfidencio: yeah, please21:12
fidenciodevimc: thanks for the feedback21:12
devimcfidencio: I just raised an issue, because I'm documenting the cgroup v2 implementation21:12
devimcfidencio: this issues will be part of the `limitations` section21:16
fidenciodevimc: aha, cool.21:17
devimc*issue21:25
fidencioI dropped my thoughts there, thanks for cc'ing me in the issue21:26
*** igordc has joined #kata-dev21:30
devimcfidencio: thanks for the feedback,21:31
fidencioanytime!21:33
fidenciodevimc: JFYI, when using f31+ kernel, we're already taking advantage of cgroupsv2 in the guest21:36
fidenciodevimc: I've tested that with 1.11.0-alpha0 agent21:36
fidenciodevimc: but on Fedora we're using systemd and system.unified_cgroup_hierarch=1 is the default21:37
devimcfidencio: yeah, I'll include that in the document, thx21:38
*** canyounot has quit IRC21:48
*** fuentess has quit IRC22:06
*** devimc has quit IRC22:14
*** crobinso has quit IRC23:46
*** igordc has quit IRC23:58

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!