Tuesday, 2018-12-04

*** sameo has joined #kata-dev00:01
*** sameo has quit IRC01:05
*** eernst has joined #kata-dev03:11
*** eernst has quit IRC03:12
*** dklyle has joined #kata-dev03:23
*** david-lyle has quit IRC03:25
*** stackedsax has quit IRC04:11
*** stackedsax has joined #kata-dev05:48
*** stackedsax has quit IRC08:07
*** jodh has joined #kata-dev08:35
*** gwhaley has joined #kata-dev09:03
*** sameo has joined #kata-dev09:26
*** sameo has quit IRC10:04
*** sameo has joined #kata-dev10:18
*** zerocoolback has joined #kata-dev11:15
*** zerocoolback has quit IRC11:20
*** sameo has quit IRC11:34
*** gwhaley has quit IRC12:03
*** shrasool has joined #kata-dev12:29
*** shrasool has quit IRC12:47
*** shrasool has joined #kata-dev12:52
*** sameo has joined #kata-dev13:19
*** sameo has quit IRC13:19
*** sameo has joined #kata-dev13:20
*** gwhaley has joined #kata-dev13:23
*** shrasool has quit IRC13:31
*** irclogbot_0 has quit IRC14:15
*** irclogbot_0 has joined #kata-dev14:53
*** shrasool has joined #kata-dev15:50
*** sameo has quit IRC15:56
*** shrasool has quit IRC16:02
*** jodh has quit IRC16:07
*** shrasool has joined #kata-dev16:19
*** shrasool has quit IRC17:02
*** shrasool has joined #kata-dev17:03
*** shrasool has quit IRC17:17
*** shrasool has joined #kata-dev17:32
*** sameo has joined #kata-dev17:54
*** gwhaley has quit IRC17:58
*** shrasool has quit IRC18:26
*** shrasool has joined #kata-dev18:27
*** shrasool has quit IRC19:55
*** stackedsax has joined #kata-dev20:17
*** shrasool has joined #kata-dev20:55
*** sameo has quit IRC21:23
kata-irc-bot<joshua.reese> is there anyone that could point me in the direction of where sandbox teardown occurs? specifically, i'm running into an issue where CNI teardown is executed after all containers are destroyed, but before the sandbox is destroyed. this is an issue in the particular setup we have where we are leveraging sriov-cni which attempts to decommission the VF, but is unable to locate it as it's still bound to the vfio driver by kata. i'm21:30
kata-irc-botwilling to dig in to this, but can also share some logs if someone wants to jump in. any help is appreciated.21:30
*** shrasool has quit IRC21:38
kata-irc-bot<jose.carlos.venegas.m> @jainprasuk1996: you may be interested in https://github.com/kata-containers/runtime/blob/master/virtcontainers/sandbox.go#L153421:38
kata-irc-bot<jose.carlos.venegas.m> does it expect do it before the sandbox is destroyed??21:42
kata-irc-bot<joshua.reese> that's what it's doing right now, i would expect it to wait until the sandbox is destroyed before executing the CNI deletions21:43
kata-irc-bot<jose.carlos.venegas.m> yeah meke sense21:46
kata-irc-bot<jose.carlos.venegas.m> probably a race condition, where CNI deletion is run but VM is still running / turning off21:47
kata-irc-bot<jose.carlos.venegas.m> are you using cri-o + kuberentes ? or only cri-o ? or continerd?21:48
kata-irc-bot<jose.carlos.venegas.m> @archana.m.shinde: could know more about it21:49
kata-irc-bot<joshua.reese> cri-o + kubernetes21:50
*** shrasool has joined #kata-dev22:02
kata-irc-bot<archana.m.shinde> @joshua.reese The network should be teared down while the sandbox is being deleted22:14
kata-irc-bot<archana.m.shinde> iirc the function is removeNetwork22:14
kata-irc-bot<archana.m.shinde> unless something has changed that recently22:15
kata-irc-bot<archana.m.shinde> taking a look22:15
kata-irc-bot<archana.m.shinde> https://github.com/kata-containers/runtime/blob/0911331974fbb82b75d0ecbe21d4eac292cfd5cd/virtcontainers/sandbox.go#L156222:17
kata-irc-bot<joshua.reese> @archana.m.shinde from the logs, the cni work completes before the `Stopping VM` message there. also, the kata-runtime and crio logs don't interleave, what i see is a few seconds of logs from kata-runtime when tearing down the containers, then logs from crio (the cni specifically) trying to tear down the network, then logs from kata-runtime tearing down the sandbox22:31
*** shrasool has quit IRC22:46
kata-irc-bot<archana.m.shinde> @joshua.reese we take down the network while the sandbox is being deleted, crio should call CNI cleanup after the sandbox has been deleted22:58
kata-irc-bot<archana.m.shinde> so not sure why you are seeing that order22:58
kata-irc-bot<joshua.reese> so this may be a bug in crio?22:58
kata-irc-bot<archana.m.shinde> not sure, will have to dig a little into this22:59
kata-irc-bot<archana.m.shinde> but have you tried this with containerd?22:59
kata-irc-bot<joshua.reese> i have not22:59
kata-irc-bot<archana.m.shinde> might be worth trying that out to confirm if this is a kata issue23:02
kata-irc-bot<archana.m.shinde> you tried this with sriov-cni plugin?23:03
kata-irc-bot<joshua.reese> correct - via multus23:05
kata-irc-bot<joshua.reese> i'll see if i can get a test with containerd23:05
kata-irc-bot<archana.m.shinde> ok let me know how it goes23:05
kata-irc-bot<joshua.reese> will do, thanks for assisting23:06
*** shrasool has joined #kata-dev23:29
*** shrasool has quit IRC23:30

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