Thursday, 2018-07-26

*** LinuxMe has joined #kata-general00:44
*** LinuxMe has quit IRC00:48
*** dlw has joined #kata-general01:41
*** LinuxMe_ has joined #kata-general02:09
*** openstack has joined #kata-general02:51
*** ChanServ sets mode: +o openstack02:51
*** LinuxMe_ has quit IRC03:25
*** lpetrut has joined #kata-general03:53
*** lpetrut has quit IRC04:03
*** LinuxMe has joined #kata-general04:37
*** LinuxMe has quit IRC04:42
*** sjas_ has joined #kata-general04:58
*** sjas has quit IRC05:01
*** LinuxMe has joined #kata-general06:39
*** LinuxMe has quit IRC06:43
*** jodh has joined #kata-general07:04
*** jodh has joined #kata-general07:04
*** LinuxMe has joined #kata-general07:27
*** LinuxMe has quit IRC07:31
*** dlw1 has joined #kata-general07:34
*** dlw has quit IRC07:36
*** dlw1 is now known as dlw07:36
*** dlw has quit IRC07:53
*** dlw has joined #kata-general07:54
*** gwhaley has joined #kata-general07:54
*** LinuxMe has joined #kata-general08:03
*** LinuxMe has quit IRC08:08
*** libregeekingkid has quit IRC10:33
*** dlw has quit IRC10:45
*** gwhaley has quit IRC11:05
*** dlw has joined #kata-general11:23
*** libregeekingkid has joined #kata-general11:24
*** dlw has quit IRC11:32
*** sjas_ is now known as sjas11:33
*** LinuxMe has joined #kata-general12:05
*** gwhaley has joined #kata-general12:07
*** LinuxMe has quit IRC12:09
*** dlw has joined #kata-general12:17
*** dlw has quit IRC12:22
*** dlw has joined #kata-general12:29
*** LinuxMe has joined #kata-general13:26
*** dlw has quit IRC13:27
*** dlw has joined #kata-general13:27
*** dlw has quit IRC13:58
*** annabelleB has joined #kata-general14:10
*** annabelleB has quit IRC14:20
*** annabelleB has joined #kata-general14:38
*** dlw has joined #kata-general14:44
*** gema has quit IRC14:44
*** annabelleB has quit IRC15:36
*** annabelleB has joined #kata-general15:44
*** dlw has quit IRC16:32
*** jodh has quit IRC17:10
*** annabelleB has quit IRC17:15
*** LinuxMe has quit IRC17:15
*** LinuxMe_ has joined #kata-general17:18
*** gwhaley has quit IRC17:25
*** annabelleB has joined #kata-general17:25
*** fiddletwix has quit IRC17:26
*** libregeekingkid has quit IRC18:04
*** libregeekingkid has joined #kata-general18:06
*** annabelleB has quit IRC19:27
*** LinuxMe_ has quit IRC19:27
*** LinuxMe has joined #kata-general19:31
*** LinuxMe has quit IRC19:43
*** annabelleB has joined #kata-general20:43
*** LinuxMe has joined #kata-general20:57
*** LinuxMe has quit IRC21:08
kata-irc-bot<kyusuf> Hi all, could you help me about how can I use kata for create a network interface in docker from vhost-user sock file path?21:21
kata-irc-bot<eric.ernst> Hey @kyusuf21:22
kata-irc-bot<eric.ernst> So, today we do some silly magic, but are working how to set this up in a sustainable/scalable way21:22
kata-irc-bot<eric.ernst> What's on the other side of the socket?21:23
kata-irc-bot<kyusuf> Or, how can I pass required qemu parameters to kata21:23
kata-irc-bot<eric.ernst> this dpdk?  OVS? VPP?21:23
kata-irc-bot<eric.ernst> other?21:23
kata-irc-bot<kyusuf> Vpp virtualinterface socket file21:23
kata-irc-bot<eric.ernst> cool.21:24
kata-irc-bot<eric.ernst> So, if you 're on docker, we did create a CNM plugin for vpp21:24
kata-irc-bot<eric.ernst> I have a stale documentation PR you can check out : https://github.com/egernst/documentation/blob/6b63590c879c92b9c45524dbe4202fd57d72a5f1/use-cases/using-vpp-and-kata.md21:24
kata-irc-bot<eric.ernst> That assumes you're using a plugin though: see https://github.com/clearcontainers/vpp21:25
kata-irc-bot<eric.ernst> @archana.m.shinde ^ heads up21:25
kata-irc-bot<eric.ernst> s/Clear Containers / Kata Containers in that vpp cnm plugin repo :slightly_smiling_face:21:25
kata-irc-bot<eric.ernst> basically, CNM never tells the runtime much, it just puts it in the namespace for you.21:26
kata-irc-bot<eric.ernst> So, what we do in this scenario is look for a 'dummy interface'21:26
kata-irc-bot<eric.ernst> if we find a dummy interface with a particular ip address, we search for a vhu socket in a particular path.21:26
kata-irc-bot<eric.ernst> and then pass it into qemu.21:26
kata-irc-bot<kyusuf> @eric.ernst I will try it :+1:  thanks21:26
kata-irc-bot<eric.ernst> n/m.  have fun!21:27
kata-irc-bot<eric.ernst> Location of the logic I just decsribed in the runtime: https://github.com/kata-containers/runtime/blob/4f1519ec646c594821d41a83d793b4e8c41c7d61/virtcontainers/network.go#L125421:28
kata-irc-bot<kyusuf> @eric.ernst all the day, I was looking at your codes and tried to understand ;) now I started to understand21:32
*** dlw has joined #kata-general21:36
kata-irc-bot<eric.ernst> its.... not very clear what we're doing there.21:36
kata-irc-bot<eric.ernst> its just to get it to work with CNM.21:37
kata-irc-bot<eric.ernst> Getting a more native solution is on the to do list.21:37
kata-irc-bot<kyusuf> I am just wondering that is there any way about passing any required parameter to qemu while using kata-runtime? I mean while using docker run21:42
kata-irc-bot<archana.m.shinde> @kyusuf What kind of parameter are you looking at passing21:51
kata-irc-bot<archana.m.shinde> Right now we have mechanism to just append to the kernel command line21:51
*** dlw has quit IRC21:53
kata-irc-bot<kyusuf> Such as adding new devices (maybe for SSL accelerators...) , yes  in configuration.toml we can decide kernel parameters, cpu, ram22:16
*** leadfoot has quit IRC22:27
*** annabelleB has quit IRC22:55
kata-irc-bot<archana.m.shinde> @kyusuf No we dont support adding parameters to the qemu command line, and we dont intend to22:58
kata-irc-bot<archana.m.shinde> You can pass devices such as accelerators with device passthrough22:59
kata-irc-bot<archana.m.shinde> You can take a look at this : https://github.com/kata-containers/runtime/tree/master/virtcontainers#how-to-pass-a-device-using-vfio-passthrough23:00

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