Tuesday, 2018-01-30

*** liujiong has joined #kata-general01:28
*** liujiong has quit IRC01:36
*** liujiong has joined #kata-general01:36
*** sjas_ has joined #kata-general01:46
*** liujiong has quit IRC01:48
*** sjas has quit IRC01:49
*** liujiong has joined #kata-general01:49
kata-dev-irc-bot<me1960> @samuel.ortiz Thanks for writing it up. I tried it step by step and I think there are some steps need to be added for setting it up from scratch. How can I submit PR to the wiki?06:35
*** jodh has joined #kata-general07:23
*** jodh has joined #kata-general07:23
kata-dev-irc-bot<mayank.kumar> Does anyone knows if we can play with KataContainers on GCE ?07:42
kata-dev-irc-bot<samuel.ortiz> @mayank.kumar We have not tried yet, but you should be able to run them on GCE, since they enabled nested virtualization fairly recently: https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances09:01
kata-dev-irc-bot<samuel.ortiz> @me1960 All github wiki are source controlled: https://help.github.com/articles/adding-and-editing-wiki-pages-locally/ You could clone locally, fix and either send a PR or a patch to the mailing list. Eventually these pages will go into the main Kata repos (not wikis) as regular documentation.09:03
*** gwhaley has joined #kata-general09:04
kata-dev-irc-bot<mayank.kumar> thanks @samuel.ortiz will give it a try. Does installing clear containers on Centos require a sudoer ? I am trying to do a POC, but our corporate machines dont allow that so thinking of doing it on GCE09:07
kata-dev-irc-bot<samuel.ortiz> @mayank.kumar You're building from source?09:07
kata-dev-irc-bot<mayank.kumar> i was trying to follow the instructions which say so, is there another method for Centos ?09:09
kata-dev-irc-bot<samuel.ortiz> @mayank.kumar You mean those ones: https://github.com/clearcontainers/runtime/blob/master/docs/centos-installation-guide.md ?09:09
kata-dev-irc-bot<mayank.kumar> yep09:10
kata-dev-irc-bot<samuel.ortiz> Yes, you will need sudo from there as it's running a bunch of yum installs.09:12
kata-dev-irc-bot<samuel.ortiz> @mayank.kumar We have setup scripta for Azure, if you fancy playing with that instead.09:12
kata-dev-irc-bot<samuel.ortiz> @mayank.kumar https://github.com/clearcontainers/tests/tree/master/Azure09:13
kata-dev-irc-bot<mayank.kumar> i have a GCE account, so i prefer that, but if that doesnt work, in worst case move to azure09:13
kata-dev-irc-bot<mayank.kumar> :slightly_smiling_face:09:13
kata-dev-irc-bot<samuel.ortiz> @mayank.kumar Ok. You could look at https://github.com/clearcontainers/tests/blob/master/Azure/cloud-init.txt to get an idea of what we do on an Azure VM to set things up.09:14
kata-dev-irc-bot<samuel.ortiz> @mayank.kumar Sorry but I have to go offline for a couple of hours now, bbl.09:15
kata-dev-irc-bot<mayank.kumar> thanks @samuel.ortiz, is `cc-runtime` is the only binary required for clear containers ? Is it possible to build it outside of centos and copy it ?09:17
kata-dev-irc-bot<mayank.kumar> sorry for the naive questions ?09:17
kata-dev-irc-bot<xu> File uploaded https://katacontainers.slack.com/files/U88GB9U8P/F903H1J6L/kata_containers_kubecon_presentation_-_no_animations_-_google_slides_2018-01-30_17-18-45.png / https://slack-files.com/T86U7NQTT-F903H1J6L-ff9ee8237f09:19
kata-dev-irc-bot<xu> there will be runtime, shim, and proxy, 3 binary files on host, and agent in guest os. where the runtime could be cc-runtime or runv.09:21
kata-dev-irc-bot<mayank.kumar> thanks @xu . Basically my question is if i have a host on which i am not a sudoer. can i build this out side for CentoOS and copy the binaries and make it work ?09:23
kata-dev-irc-bot<xu> Here is some you may need: - permission to run qemu - adjust configuration (or, maybe code), to avoid create state files and sockets under `/var/` - the binaries and guest image or kernel/initramfs - and maybe more…. I think it’s possible but not an easy job.09:27
gwhaleyI will also note - if you are not a sudoer, you may not be able to add the runtime to the docker config either. Running the runtime 'by hand' may be possible, but that is another harder step for you to take and09:40
gwhaleyyou would need I think to run docker to generate an image to then get the runtime to load. We used to be able to do this a few generations of runtime ago, and here09:40
gwhaleyis the reference: https://github.com/intel/cc-oci-runtime/blob/master/README-original.rst#running-stand-alone09:40
gwhaleybut, I don't think anybody has run any recent runtime 'by hand' for quite some time now09:40
*** liujiong has quit IRC10:08
kata-dev-irc-bot<james.o.hunt> @mayank.kumar - actually, there is a newer version of that document here and `cc-runtime` can still be run stand-alone (I just checked :): https://github.com/clearcontainers/runtime/wiki/Running-standalone11:16
gwhaleythanks @james.o.hunt - was not sure if there was a more recent version :-)11:36
kata-dev-irc-bot<gene> Hi, I’ve successfully built and run kata containers However, I found that the network interface in the containers is down. Any ideas on possible reasons?11:52
*** gwhaley has quit IRC12:05
*** gwhaley has joined #kata-general13:17
*** sjas_ is now known as sjas14:02
kata-dev-irc-bot<eric.ernst> Hey @gene - I believe there's still missing support in the agent itself for setting this up, as some of the GRPC protocol was still under discussion, IIRC16:22
kata-dev-irc-bot<daniel.finneran> Pretty sure i’ve not missed a step out from the install guide however, i don’t appear to have the qemu-lite `docker: Error response from daemon: oci runtime error: /usr/share/defaults/kata-containers/configuration.toml: file /usr/bin/qemu-lite-system-x86_64 does not exist.`17:53
kata-dev-irc-bot<james.o.hunt> @daniel.finneran - Sorry about that. Doc updated: https://github.com/kata-containers/documentation/wiki/Developer-Guide#assumptions. As you can probably guess, the doc started life assuming the system had Clear Containers installed ;)17:58
*** jodh has quit IRC18:02
kata-dev-irc-bot<daniel.finneran> Ah OK, I was confused by the third requirement. I assumed that that step was optional if you followed the “Build and install a Kata Container runtime” step and went for the `runtime=cc` option.18:04
kata-dev-irc-bot<daniel.finneran> .. OK.. that is cool.18:16
*** kata-dev-irc-bot has quit IRC18:38
*** kata-dev-irc-bot has joined #kata-general18:38
*** gwhaley has quit IRC20:34

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