Tuesday, 2018-03-27

*** zerocoolback has joined #kata-dev00:39
*** yingjun has joined #kata-dev00:58
*** gabyc_ has quit IRC00:58
*** zerocoolback has quit IRC01:08
*** liujiong has joined #kata-dev01:54
*** zerocoolback has joined #kata-dev02:24
*** zerocoolback has quit IRC02:41
*** zerocoolback has joined #kata-dev02:52
*** yingjun has quit IRC02:52
*** yingjun has joined #kata-dev03:25
*** zerocoolback has quit IRC03:27
*** eernst has joined #kata-dev03:32
*** diga has joined #kata-dev03:46
*** yingjun has quit IRC04:11
*** eernst has quit IRC04:24
*** sjas has joined #kata-dev04:29
*** yingjun has joined #kata-dev04:32
*** zerocoolback has joined #kata-dev04:32
*** sjas_ has quit IRC04:33
*** zerocoolback has quit IRC04:41
*** yingjun has quit IRC04:50
*** diga has quit IRC04:56
*** yingjun has joined #kata-dev05:38
*** yingjun has quit IRC06:03
*** yingjun has joined #kata-dev07:16
*** jodh has joined #kata-dev07:20
*** jodh has quit IRC07:20
*** jodh has joined #kata-dev07:20
*** sameo has joined #kata-dev07:25
*** cdent has joined #kata-dev07:29
*** dims_ has joined #kata-dev07:48
*** dims has quit IRC07:49
*** gwhaley has joined #kata-dev07:57
*** yingjun has quit IRC09:42
*** zerocoolback has joined #kata-dev09:53
*** zerocoolback has quit IRC09:55
*** liujiong has quit IRC10:03
*** gwhaley has quit IRC10:53
*** gwhaley has joined #kata-dev10:53
*** gwhaley has quit IRC11:06
*** gwhaley has joined #kata-dev12:22
*** yingjun has joined #kata-dev12:39
*** jodh has quit IRC13:11
*** jodh has joined #kata-dev13:14
*** jodh has quit IRC13:14
*** jodh has joined #kata-dev13:14
*** eernst has joined #kata-dev13:27
*** annabelleB has joined #kata-dev13:44
*** yingjun has quit IRC13:49
*** yingjun has joined #kata-dev13:50
kata-dev-irc-bot<eric.ernst> @zhangwei555 - curious if you have input on https://github.com/kata-containers/runtime/issues/113#issuecomment-37577422513:56
kata-dev-irc-bot<eric.ernst> @jonolson - also curious if you have input on https://github.com/kata-containers/runtime/issues/115#issuecomment-37638538413:56
*** fuentess has joined #kata-dev13:57
kata-dev-irc-bot<zhangwei555> @eric.ernst I will have a look first, got a real busy day:)14:01
*** Margaret_ has joined #kata-dev14:02
kata-dev-irc-bot<eric.ernst> @zhangwei555 I know how it goes, understood14:02
kata-dev-irc-bot<bergwolf> <here> we need one more ACK from docs team to merge the API design doc https://github.com/kata-containers/documentation/pull/27. Anyone can help?14:04
*** cdent has left #kata-dev14:05
kata-dev-irc-bot<eric.ernst> merged!14:06
kata-dev-irc-bot<eric.ernst> @bergwolf did you get a chance to check out the networking hotplug issue we opened?14:08
kata-dev-irc-bot<bergwolf> thanks!14:13
kata-dev-irc-bot<bergwolf> For network config for docker, runv has a dedicated ns watcher. https://github.com/hyperhq/runv/blob/master/cli/network.go#L25114:15
kata-dev-irc-bot<bergwolf> It looks close to what @sebastien.boeuf suggested in https://github.com/containers/virtcontainers/issues/241#issuecomment-37120062214:16
*** mcastelinoo has joined #kata-dev14:17
*** mcastelino has quit IRC14:17
kata-dev-irc-bot<sebastien.boeuf> @bergwolf my understanding from a previous comment from @zhangwei555 was that `runv` was implementing such a thing before but that it was not used anymore.14:18
kata-dev-irc-bot<sebastien.boeuf> @bergwolf anyway, if that's the solution we want to go with, reusing some code from `runv` might be a good idea to speed things up ;)14:18
kata-dev-irc-bot<bergwolf> It was not used by Huawei IIUC. It is in use for runv integrating with docker. Huawei is using `runv network` subcommand that works with their private CNI plugin.14:20
kata-dev-irc-bot<bergwolf> we cannot test Huawei's private code but for docker integration, we did use the standalone ns listener.14:21
kata-dev-irc-bot<eric.ernst> Understood that.  I think as a generic (suboptimal?) solution we need the listener.14:21
kata-dev-irc-bot<eric.ernst> I know that folks from ZTE in particular are interestd in this.  see https://github.com/containers/virtcontainers/issues/24114:22
kata-dev-irc-bot<sebastien.boeuf> Yes the listener is (I think) the only option14:23
kata-dev-irc-bot<bergwolf> docker network config is based on iptables. Maybe we should consider to do the same for kata (as runv did) -- `iptables-save` in the netns, `iptables-restore` in the guest.14:24
kata-dev-irc-bot<bergwolf> parsing iptables rules on our own is quite error prone14:25
kata-dev-irc-bot<eric.ernst> This is statically done on init?  Or does the listener monitor the tables?14:27
kata-dev-irc-bot<eric.ernst> (ie, if interfaces are added later; do you just re-execute -save and -restore?)14:29
kata-dev-irc-bot<bergwolf> It's done for every new container14:33
kata-dev-irc-bot<eric.ernst> How'd that work if user added a network to a running container?14:34
kata-dev-irc-bot<eric.ernst> Or is that just a limitation?14:35
kata-dev-irc-bot<bergwolf> I don't think that would work for hotplug new interface without creating new container.14:35
kata-dev-irc-bot<eric.ernst> docker network connect , right?14:36
*** mcastelinoo has quit IRC14:36
kata-dev-irc-bot<eric.ernst> This is something we never supported in CC before; instead we'd just do it with runc containers and then steal the runc placeholders' network.14:37
kata-dev-irc-bot<eric.ernst> But, I think this is one of the scenarios that should be handled (ie, not just hotplugging network for performance optimization of boot time, but also being able to hot plug network interfaces?)14:38
kata-dev-irc-bot<eric.ernst> WDYT?14:38
kata-dev-irc-bot<eric.ernst> (side thread- @salvador.fuentes any luck with k8s testing?)14:39
kata-dev-irc-bot<salvador.fuentes> @eric.ernst Im working with @sebastien.boeuf on this, yesterday we could launch the dns pod, so I think we are close on having k8s working14:41
kata-dev-irc-bot<bergwolf> `docker network connect` looks to be a combination of several subcomands of `runv network`. we should be able to support it with the kata library network hotplug APIs, right?14:43
*** sameo has quit IRC14:50
kata-dev-irc-bot<eric.ernst> Yeah.  One more general question; with the API extensions documentation (finally, newly) merged, what are next steps for implementation?14:51
kata-dev-irc-bot<eric.ernst> ie, who's working on which portion?14:51
kata-dev-irc-bot<eric.ernst> I think we're starting to get a respectable backlog for this.14:51
kata-dev-irc-bot<bergwolf> Yeah, I think all these APIs are open for contributors as of now. I am planing on taking the built-in shim/proxy support part first. Not sure about others though. Maybe we should have a doc somewhere to list the backlogs and who is working on what part of it?15:00
kata-dev-irc-bot<eric.ernst> Yes.  I have a document like this that I have been using internally.15:00
kata-dev-irc-bot<eric.ernst> Perhaps I can scrub and make it externally available.  I want to make sure that we are aligned.15:01
kata-dev-irc-bot<bergwolf> yup, that would be really helpful15:01
kata-dev-irc-bot<sebastien.boeuf> +115:05
*** devimc has joined #kata-dev15:07
kata-dev-irc-bot<eric.ernst> @bergwolf do you have a reference impl for network ns listener that runv used before for testing with docker?15:15
kata-dev-irc-bot<eric.ernst> This may be a starting point for what we'd want on kata.15:16
kata-dev-irc-bot<bergwolf> @eric.ernst https://github.com/hyperhq/runv/blob/master/cli/network.go#L31815:19
kata-dev-irc-bot<eric.ernst> thx.15:20
*** devimc has quit IRC15:22
*** devimc has joined #kata-dev15:32
*** yingjun has quit IRC15:53
*** mcastelino has joined #kata-dev16:00
kata-dev-irc-bot<zhangwei555> I like the idea, it sounds workable :) I don’t have better suggestion for docker libnetwork support. A minor problem is this could require lots of annoying things to handle :)16:13
*** sameo has joined #kata-dev16:15
*** gwhaley has quit IRC16:25
*** jodh has quit IRC17:03
*** gwhaley has joined #kata-dev17:13
*** sameo has quit IRC18:02
*** annabelleB has quit IRC18:25
*** annabelleB has joined #kata-dev18:25
*** jlbutler has joined #kata-dev18:46
*** gwhaley has quit IRC19:31
*** jlbutler has quit IRC20:22
*** devimc_ has joined #kata-dev20:23
*** eernst has quit IRC20:23
*** eernst has joined #kata-dev20:23
*** devimc_ has quit IRC20:24
*** devimc_ has joined #kata-dev20:25
*** devimc has quit IRC20:26
*** eernst_ has joined #kata-dev20:26
*** eernst has quit IRC20:27
*** eernst_ has quit IRC20:31
*** eernst has joined #kata-dev20:40
*** eernst has quit IRC20:41
*** eernst has joined #kata-dev20:41
*** eernst_ has joined #kata-dev20:43
*** eernst has quit IRC20:43
*** eernst has joined #kata-dev20:48
*** eernst_ has quit IRC20:48
*** eernst has quit IRC20:49
*** eernst has joined #kata-dev20:49
*** eernst has quit IRC20:50
*** eernst has joined #kata-dev20:50
*** eernst has quit IRC20:51
*** eernst has joined #kata-dev20:51
*** eernst has quit IRC20:53
*** eernst has joined #kata-dev20:53
*** oikiki has joined #kata-dev21:42
*** annabelleB has quit IRC22:25
*** annabelleB has joined #kata-dev22:28
*** eernst has quit IRC22:33
*** eernst has joined #kata-dev22:33
*** eernst has quit IRC22:38
*** annabelleB has quit IRC22:40
*** eernst has joined #kata-dev22:40
*** eernst has quit IRC22:41
*** eernst has joined #kata-dev22:41
*** eernst has quit IRC22:43
*** sjas has quit IRC22:51
*** eernst has joined #kata-dev22:54
*** eernst has quit IRC22:59
*** eernst has joined #kata-dev23:00
*** eernst has quit IRC23:05
*** eernst has joined #kata-dev23:06
*** eernst has quit IRC23:10
*** eernst has joined #kata-dev23:12
*** eernst has quit IRC23:15
*** devimc_ has quit IRC23:16
*** eernst has joined #kata-dev23:19
*** eernst has quit IRC23:23
*** mcastelinoo has joined #kata-dev23:24
*** eernst has joined #kata-dev23:24
*** eernst has quit IRC23:25
*** eernst has joined #kata-dev23:26
*** mcastelino has quit IRC23:27
*** eernst_ has joined #kata-dev23:28
*** eernst has quit IRC23:28
*** eernst_ has quit IRC23:31
*** eernst has joined #kata-dev23:31
kata-dev-irc-bot<tallclair> Can anyone recommend some learning resources (books, articles, etc) to dive deeper into the design, architecture, and mechanisms of VMs (especially KVM, QEMU, and VMX)? I'm finding that low-level technical documentation in the area is surprisingly scarce...23:32
*** mcastelinoo has quit IRC23:32
*** eernst has quit IRC23:36

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