Thursday, 2020-08-06

*** vgoyal has quit IRC01:28
*** khyr0n_ has quit IRC02:05
*** khyr0n has joined #kata-dev02:15
*** bpradipt has joined #kata-dev05:08
*** dklyle has quit IRC06:39
*** jodh has joined #kata-dev06:47
*** fgiudici has joined #kata-dev07:04
*** sgarzare has joined #kata-dev07:04
*** davidgiluk has joined #kata-dev08:04
*** sgarzare_ has joined #kata-dev10:40
*** sgarzare has quit IRC10:42
*** sgarzare__ has joined #kata-dev11:58
*** sgarzare_ has quit IRC12:00
*** devimc has joined #kata-dev12:31
*** crobinso has joined #kata-dev12:50
*** devimc has quit IRC13:22
*** devimc has joined #kata-dev13:24
*** sgarzare_ has joined #kata-dev13:58
*** amorenoz has quit IRC13:59
*** amorenoz has joined #kata-dev13:59
*** sgarzare__ has quit IRC14:00
*** sgarzare_ has quit IRC14:21
*** sgarzare_ has joined #kata-dev14:21
*** sgarzare_ has quit IRC14:42
*** sgarzare_ has joined #kata-dev14:43
kata-irc-bot1<jose.carlos.venegas.m> Hey folks, question, do you know if is possible to install podman and docker in the same box?14:48
kata-irc-bot1<jose.carlos.venegas.m> some of our jobs build assets in docker, and the podman job does not have it14:48
kata-irc-bot1<jose.carlos.venegas.m> @archana.m.shinde @fidencio ^14:48
*** dklyle has joined #kata-dev14:51
*** sgarzare_ has quit IRC15:04
*** sgarzare_ has joined #kata-dev15:05
*** amorenoz has quit IRC15:10
kata-irc-bot1<jose.carlos.venegas.m> I think podman cli has docker compatibility, I can try to use variable to just call docker or podman15:21
kata-irc-bot1<jose.carlos.venegas.m> but keep the other commands15:21
kata-irc-bot1<jose.carlos.venegas.m> `docker build`  , `docker run ...`15:21
kata-irc-bot1<afrosi057> yes, it's possible. You might have a conflict with cgroup v1 against v2, but this depends which distro and kernel param you're using. Be aware that docker and podman stored the images in 2 different paths. So, docker cannot see the images stored by docker15:22
kata-irc-bot1<jose.carlos.venegas.m> @afrosi057, I see, well I  think I can give it a try and see if podman work  as expected with the docker builds we have15:23
kata-irc-bot1<afrosi057> check also which runtime podman is using. I guess the latest versions are using crun and not runc15:24
kata-irc-bot1<jose.carlos.venegas.m> @afrosi057 from functional usage, do you expect I could find some issues?15:25
kata-irc-bot1<afrosi057> in the past I had some image format conflict and you need to specify the format15:25
kata-irc-bot1<afrosi057> but it really depends how your images are built15:26
kata-irc-bot1<afrosi057> the easiest way it's to try15:26
kata-irc-bot1<afrosi057> :slightly_smiling_face:15:26
kata-irc-bot1<jose.carlos.venegas.m> yeah :slightly_smiling_face: thanks15:28
kata-irc-bot1<afrosi057> if you don't want to push your images to a registry and you have the image locally. You can try with save/load  command15:29
kata-irc-bot1<jose.carlos.venegas.m> this is what the script does: ```sudo "${DOCKER_CLI}" build -t "${docker_image}" "${script_dir}"  sudo "${DOCKER_CLI}" run```15:33
kata-irc-bot1<jose.carlos.venegas.m> an script to build `cloud-hypervisor`15:33
kata-irc-bot1<jose.carlos.venegas.m> the dockerfile will build an image with rust, and the the run just do `cargo build`  to build the runtime, it nothing fancy I hope I work without any problem15:34
*** sgarzare_ has quit IRC15:46
*** sgarzare has joined #kata-dev15:47
*** sgarzare_ has joined #kata-dev15:58
*** sgarzare has quit IRC16:01
*** sgarzare_ has quit IRC16:08
*** sgarzare_ has joined #kata-dev16:08
*** jodh has quit IRC17:02
kata-irc-bot1<fidencio> Alice was faster to answer :-)17:10
kata-irc-bot1<eric.ernst> :wave @jose.carlos.venegas.m17:49
kata-irc-bot1<jose.carlos.venegas.m> @eric.ernst hey!17:50
kata-irc-bot1<eric.ernst> I was taking a look @ https://github.com/kata-containers/documentation/blob/master/use-cases/Nvidia-GPU-passthrough-and-Kata.md17:50
kata-irc-bot1<eric.ernst> Guide is pretty helpful, but AFAIU the actual insmod/depmod part won't necessarily work since its a RO fs?17:50
kata-irc-bot1Action: jose.carlos.venegas.m looks17:58
*** fgiudici has quit IRC17:58
kata-irc-bot1Action: jose.carlos.venegas.m waits 2 to get a job running in kata CI18:35
kata-irc-bot1<jose.carlos.venegas.m> @gabriela.cervantes.te I see only one VM is running at the same time of ubuntu18:36
kata-irc-bot1<jose.carlos.venegas.m> do you know if we can increase the amount of concurrent jobs ?18:36
*** bpradipt has quit IRC19:04
kata-irc-bot1<gabriela.cervantes.te> @jose.carlos.venegas.m I am not sure but let me see19:15
kata-irc-bot1<gabriela.cervantes.te> regarding the SLES issue that is mainly because of https://github.com/kata-containers/ci/issues/30819:16
kata-irc-bot1<jose.carlos.venegas.m> @gabriela.cervantes.te I got something similiar but for cache jobs19:16
kata-irc-bot1<jose.carlos.venegas.m> https://github.com/kata-containers/ci/issues/31519:16
kata-irc-bot1<jose.carlos.venegas.m> but seems that is vexxhost19:16
kata-irc-bot1<gabriela.cervantes.te> ok thanks19:17
kata-irc-bot1<gabriela.cervantes.te> let me see19:17
*** davidgiluk has quit IRC19:31
*** Yarboa has quit IRC20:06
*** devimc has quit IRC21:04
kata-irc-bot1<eric.ernst> :thread: on Nvidia GPU support in Kata. :this-is-fine:21:15
kata-irc-bot1<eric.ernst> We had a good starting point with Jimmy Xu's PR to documentation: https://github.com/kata-containers/documentation/blob/master/use-cases/Nvidia-GPU-passthrough-and-Kata.md21:15
kata-irc-bot1<eric.ernst> This is a great start, but I think there are still a lot of non-trivial items that need to get done to facilitate actually using GPU w/ Kata. 1. User needs to actually build the Nvidia .kos  against the Kata kernel, and add them to the rootfs. 2. User needs to make sure these .kos are modprobed. You can explore doing this with console access for testing, but I think overall this should probably be done with a prestart hook.  We21:19
kata-irc-bot1should provide guidance on this. 3. We switched to a RO rootfs a couple of months ago: https://github.com/kata-containers/runtime/pull/2713. This will make the pre-start hook much more challenging, since it assumes RW access.21:19
kata-irc-bot1<eric.ernst> and, (4) - we should provide details on how to use this with a device plugin, e2e in k8s.  From discussions/reading, it looks like the KubeVirt Nvidia Device Plugin is the way to go (AFAICT, same as the standard nvidia device plugin, but working with vfio bound devices instead of nvidia bound devices).21:20
kata-irc-bot1<eric.ernst> I'm curious if folks who are using Kata + GPU have resolved #3 above already (work around RO rootfs).21:21
kata-irc-bot1<eric.ernst> or if this is a regression since folks put up initial docs21:21
kata-irc-bot1<eric.ernst> @bergwolf @fupan @archana.m.shinde ^21:21
*** dklyle has quit IRC22:04
*** dklyle has joined #kata-dev22:09
*** crobinso has quit IRC22:37
*** dklyle has quit IRC23:20
*** dklyle has joined #kata-dev23:20
kata-irc-bot1<eric.ernst> 5. I think prestart hooks are broken now that /run/kata-containers/shared/containers/**/config.json is read only.  Hooks rely on being able to adjust config.json23:43

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