Wednesday, 2017-07-12

*** tonanhngo has joined #openstack-kuryr00:01
*** tonanhngo has quit IRC00:07
*** tonanhngo has joined #openstack-kuryr00:09
*** tonanhngo has quit IRC00:14
*** tonanhngo has joined #openstack-kuryr00:16
*** tonanhngo has quit IRC00:20
*** tonanhngo has joined #openstack-kuryr00:22
*** tonanhngo has quit IRC00:27
*** caowei has joined #openstack-kuryr00:33
*** gouthamr has quit IRC01:06
*** yedongcan has joined #openstack-kuryr01:09
*** hyunsun has joined #openstack-kuryr01:30
*** atoth has quit IRC01:32
*** limao has joined #openstack-kuryr01:39
*** tonanhngo has joined #openstack-kuryr02:01
*** tonanhngo has quit IRC02:06
*** tonanhngo has joined #openstack-kuryr02:06
*** hongbin has joined #openstack-kuryr02:09
*** kiennt has joined #openstack-kuryr02:10
*** tonanhngo has quit IRC02:12
*** gouthamr has joined #openstack-kuryr02:25
*** kiennt has quit IRC02:40
hongbinlimao: hey liping, just let you know that a bug was created for the issue we discussed this morning: https://bugs.launchpad.net/kuryr-libnetwork/+bug/170369803:10
openstackLaunchpad bug 1703698 in kuryr-libnetwork "Couldn't get docker plugin to work" [Undecided,New]03:10
*** aojea has joined #openstack-kuryr03:13
*** aojea has quit IRC03:17
*** yedongcan has quit IRC03:40
*** kiennt has joined #openstack-kuryr03:45
*** gouthamr has quit IRC03:46
*** yboaron_ has joined #openstack-kuryr04:15
*** kiennt has quit IRC04:27
*** yamamoto has joined #openstack-kuryr04:33
*** hongbin has quit IRC04:35
*** pcaruana has joined #openstack-kuryr04:41
*** kiennt has joined #openstack-kuryr04:45
limaohongbin: coped04:52
limaohongbin: copied ... ;-)04:52
*** pcaruana has quit IRC04:58
*** aojea has joined #openstack-kuryr05:26
*** tonanhngo has joined #openstack-kuryr05:28
*** kiennt has quit IRC05:29
*** janki has joined #openstack-kuryr05:40
*** aojea has quit IRC06:07
*** kiennt has joined #openstack-kuryr06:08
*** kiennt_ has joined #openstack-kuryr06:21
*** kiennt has quit IRC06:22
*** yedongcan1 has joined #openstack-kuryr06:23
*** tonanhngo has quit IRC06:28
*** tonanhngo has joined #openstack-kuryr06:32
*** tonanhngo has quit IRC06:34
*** kiennt_ has quit IRC06:43
*** kiennt has joined #openstack-kuryr06:44
*** kiennt has quit IRC06:53
*** kiennt has joined #openstack-kuryr06:55
*** tonanhngo has joined #openstack-kuryr07:03
*** kiennt has quit IRC07:03
*** limao has quit IRC07:05
*** kiennt has joined #openstack-kuryr07:05
*** limao has joined #openstack-kuryr07:05
*** yedongcan has joined #openstack-kuryr07:06
*** yedongcan1 has quit IRC07:08
*** limao has quit IRC07:10
*** tonanhngo has quit IRC07:20
*** kiennt has quit IRC07:22
*** ivc_ has quit IRC07:23
*** aojea has joined #openstack-kuryr07:25
*** kiennt has joined #openstack-kuryr07:25
*** pcaruana has joined #openstack-kuryr07:31
*** egonzalez has joined #openstack-kuryr07:34
*** kzaitsev_ws has joined #openstack-kuryr07:36
*** roeyc has joined #openstack-kuryr07:38
*** pcaruana has quit IRC07:41
*** pcaruana has joined #openstack-kuryr07:45
*** limao has joined #openstack-kuryr07:56
*** gouthamr has joined #openstack-kuryr08:02
*** garyloug has joined #openstack-kuryr08:09
*** gouthamr has quit IRC08:21
*** pcaruana has quit IRC08:33
*** limao has quit IRC08:40
*** limao has joined #openstack-kuryr08:41
*** wangbo has joined #openstack-kuryr08:43
*** limao has quit IRC08:44
*** limao has joined #openstack-kuryr08:44
*** pcaruana has joined #openstack-kuryr08:46
*** limao has quit IRC08:48
*** limao has joined #openstack-kuryr08:48
*** kural has joined #openstack-kuryr08:51
*** limao has quit IRC08:53
dmelladoltomasbo: o/08:54
dmelladoI'm checking the lbaas issue that we were showing and basically this is due that the fake_svc_kuryr has no endpoint08:54
dmelladoand this chunk of code looks for it08:54
dmelladohttps://github.com/openstack/kuryr-kubernetes/blob/master/kuryr_kubernetes/controller/handlers/lbaas.py#L14608:54
dmelladoI'll be trying to put a endpoint for it on the devstack part too and hopefully we'll be able to close this08:55
dmelladoyboaron_: ^^08:55
ltomasbodmellado, o/08:55
dmelladoit could be handy for you too08:55
yboaron_dmellado, OK , I'll check it , 10x08:55
ltomasbodmellado, at a first glance I thought it was related to this patch: https://review.openstack.org/#/c/467241/08:55
ltomasboas it is the one creating them08:56
dmelladoit is08:56
dmellado 50 +kind: Service08:56
dmellado 51 +apiVersion: v108:56
dmellado 52 +metadata:08:56
dmellado 53 +  name: "${fake_svc_name}"                                                                                                                                                                54 +  namespace: kube-system08:56
dmellado 55 +spec:08:56
dmellado 56 +  type: ClusterIP08:56
dmellado 57 +  clusterIP: "${router_ip}"08:56
dmellado 58 +  ports:08:56
dmellado 59 +    - protocol: TCP08:57
dmellado 60 +      port: 8008:57
dmelladoooops thought it would be more compact08:57
dmelladoif you check this part it doesn't create any endpoint08:57
ltomasbodmellado, you had a devstack ready for this, right?08:57
ltomasboperhaps we can remove this or modify it08:57
dmelladoyep, I'll be trying to create the endpoint manually08:57
ltomasboand quickly check08:57
dmelladoand if it fixes it I'll submit a patch08:58
dmelladothat was what I was saying xD08:58
ltomasbogreat!08:58
* dmellado goes first to my 1:1, let's bet on if it'll be moved or not xD08:58
ltomasbo:D08:58
*** tonanhngo has joined #openstack-kuryr09:21
*** limao has joined #openstack-kuryr09:22
*** tonanhngo has quit IRC09:23
*** limao has quit IRC09:23
*** limao has joined #openstack-kuryr09:24
*** limao has quit IRC09:28
*** pcaruana has quit IRC09:32
*** pcaruana has joined #openstack-kuryr09:32
*** limao has joined #openstack-kuryr09:48
*** caowei has quit IRC09:53
*** hyunsun has quit IRC10:08
*** kiennt has quit IRC10:12
*** limao has quit IRC10:19
*** wangbo has quit IRC10:31
irenabdmellado, I also have issues with the fake-service in the nested ...11:10
*** atoth has joined #openstack-kuryr11:18
*** yedongcan has left #openstack-kuryr11:19
dmelladoirenab: also with the endpoint?11:20
irenabdmellado, initially looking for the specific subnet name to allocate VIP from11:30
dmelladoirenab: in my case it seems that the fake svc has no endpoint11:31
dmelladothus kuryr-k8s complains11:31
dmelladoI'm having a look11:31
irenabfor me it seems that devstack ignores the setting in local.conf11:34
irenabdmellado, do you use apuimedo heat patch?11:42
dmelladoirenab: nope, I'm just using a plain 'gate' config11:42
*** wangbo has joined #openstack-kuryr11:51
*** ivc has joined #openstack-kuryr12:05
irenabdmellado, I think now I hit the same problem as you12:23
dmelladoheh, 'awesome', I'm looking into it (multi-tasking as of now)12:23
dmelladowill try to put up a patch later12:23
irenabdmellado, what is supposed to be the proper state?12:26
irenabdo you have some workaround?12:26
dmelladoirenab: I'm trying to work it around by creating an endpoint for that service12:26
irenabI see kuryr-svc-router in the kube-system namspace woth the last IP in the services subnet with no endpoints12:27
dmelladoexactly12:29
irenabI do not see lbaas either12:32
irenabon neutron side12:33
ltomasboirenab, lbaas is created as admin12:37
ltomasboinstead of demo user12:37
*** yedongcan has joined #openstack-kuryr12:37
ltomasbobut it is there (at least in my case)12:37
ltomasboperhaps that is the problem...12:37
irenabltomasbo, I checked for admin :-)12:38
ltomasbonot there either?12:39
ltomasboumm12:39
irenabbut still having the wierd error when trying to create pod: https://pastebin.com/9LiDFyJs12:41
*** yamamoto has quit IRC12:41
irenabI think this is not related to the lbaas issue12:41
ltomasboumm12:43
ltomasbowas it you also sending this error before, right?12:43
ltomasboor someone else shared with me too a few days ago12:43
*** rwallner has joined #openstack-kuryr12:43
*** rwallner has quit IRC12:43
*** rwallner has joined #openstack-kuryr12:44
irenabme12:44
irenabchanged to CentOS, but still have the same issue12:45
irenabit is in the nested  env12:45
irenabdmellado, ltomasbo checking the plugin.sh, seems that neutron side lbaas is not supposed to be present for the fake-router-service12:57
kzaitsev_wsfolks, I'm seeing strange behaviour of neutron. when kuryr-k8s requests a port for the 1st time it gets a port with 'binding failed' in its vif_type13:02
kzaitsev_wshave anyone seen smth like that before?13:02
irenabkzaitsev_ws, BM or nested?13:08
*** yamamoto has joined #openstack-kuryr13:08
*** yamamoto has quit IRC13:13
kzaitsev_wsbm as usual13:19
kzaitsev_wsirenab: looks like my ovs-agent is down. or rather it's up, but neutron thinks it's down13:19
ltomasboumm, that could be related to one of the neutron failures we are seeing somewhere else13:23
*** tonanhngo has joined #openstack-kuryr13:23
ltomasbothe openvswitch dies with a segfault and the neutron-agent fails to restart13:23
ltomasbocan you manually restart both of them?13:24
ltomasbokzaitsev_ws, ^^13:24
*** wangbo has quit IRC13:25
*** tonanhngo has quit IRC13:25
kzaitsev_wsovs looks fine, I believe the problem might be with rabbit13:29
kzaitsev_wsas I see a lot of timeouts in the openvswitch logs13:30
kzaitsev_wsovs itself looks ok btw, but restarting the agent helped13:30
kzaitsev_wsbut13:30
kzaitsev_wsit doesn't report port as active13:30
ltomasboit is connected to the VM/container?13:31
ltomasboperhaps it failed to connect it13:31
ltomasbowe got a similar failure with the kubelet not plugging the container due to missing (not found) namespace13:31
ltomasboand the port remained down13:31
ltomasboeven though the container was up and the ovs has the port connected13:31
* kzaitsev_ws restarting stuff13:32
ltomasbo:D13:34
kzaitsev_ws"Hello, it. Have you tried turning it off and on again?" (c)13:34
ltomasbo:D13:34
ltomasbo(almost) always work!13:35
ltomasbolet us know if that is the case!13:35
*** yboaron_ has quit IRC13:38
*** garyloug has quit IRC13:39
*** garyloug has joined #openstack-kuryr13:39
*** kural_ has joined #openstack-kuryr13:39
*** kural has quit IRC13:43
dmelladolol13:43
dmelladoirenab: oh, hmmm....13:44
kzaitsev_wsugh13:49
kzaitsev_wsok it can be 1.713:49
kzaitsev_wshas anyone tried 1.7 yet? =)13:49
kzaitsev_wsor it can be a problem in my code =/ since the cni is modified. however it used to work just fine on 1.6 and 1.5 branches =/13:50
*** yamamoto has joined #openstack-kuryr13:51
dmelladokzaitsev_ws: what happened?13:56
dmelladoagain binding failed?13:56
kzaitsev_wsnope, that I solved with openvswitch agent restarts13:56
kzaitsev_wsnow the CNI reports nothing to k8s.13:57
kzaitsev_wsit starts watching and immidiately stops13:57
kzaitsev_wswathing api I mean13:58
kzaitsev_wsthat can be caused either by api change in k8s or by my code.13:59
kzaitsev_wsthe code on the minions haven't changed in a while, so I'm calling 1.7 the culprit. but will investigate14:00
kzaitsev_wssidenote: my test cluster didn't feel good so we re-installed it. using kubeadm. and 1.7 is the version it installs14:01
*** janki has quit IRC14:03
*** hongbin has joined #openstack-kuryr14:06
*** kzaitsev_ws has quit IRC14:09
*** kzaitsev_ws has joined #openstack-kuryr14:13
*** zengchen has joined #openstack-kuryr14:18
*** tonanhngo has joined #openstack-kuryr14:20
*** tonanhngo has quit IRC14:21
*** gouthamr has joined #openstack-kuryr14:35
*** roeyc has quit IRC15:12
*** yedongcan has left #openstack-kuryr15:29
kzaitsev_wsomg15:36
kzaitsev_wswell the 1st problem was ovs-agent not working properly but now I've uncovered a bug in my multi-vif implementation in the CNI part %)15:37
kzaitsev_wsit's amazing that I've only hit it now! I should've been hit it day 1.15:39
kzaitsev_wsit also highlights the tests issue =(15:39
*** zengchen has quit IRC15:40
*** aojea has quit IRC15:40
ltomasbowhat problem/error was?15:42
*** yamamoto has quit IRC15:48
kzaitsev_wsltomasbo: before my patches the cni would always expect a single VIF, then if it's inactive it would expect it to become active and only then it would kill the api watcher15:49
*** yamamoto has joined #openstack-kuryr15:49
kzaitsev_wsnow with my patch there may be multiple VIFs, so the logic has to be a bit more complex15:49
kzaitsev_wsfor every API event. if there is at least 1 VIF that is not ready, then we should wait for more events. and only if every VIF turned to ready we can kill the watcher and stop recieving the events15:51
*** yamamoto has quit IRC15:51
ltomasboahh15:52
ltomasboright15:52
kzaitsev_wsnow the problem is — I decided, that it should be perfectly ok to ask for 0 VIFs. like if you're going to request some persistent volume for your pod and would only work with it?15:52
ltomasboso, it stopped watching after the first one15:53
kzaitsev_wsnope =)15:53
kzaitsev_wsbear with me15:53
ltomasbo:D15:53
kzaitsev_wsor rather it depends on what you mean for 'stopped watching after the 1st one' =)15:53
ltomasbo:D15:54
kzaitsev_wsin fact yes. in my current implementation there is no way to decide if the Pod has just been created or that it has requested exactly 0 vifs (somehow, machanism is not in the patch intentionally)15:54
kzaitsev_wsso the watcher stopped after recieving the very 1st pod event =) the pod had no vifs annotation and the CNI thought that it is not requesting anything15:55
kzaitsev_wsso it killed the watcher %)15:56
ltomasboahh15:56
ltomasbook15:56
*** egonzalez has quit IRC15:57
kzaitsev_wsit didn't wait for event with vifs %)15:57
kzaitsev_wsfunny thing is. I should've hit it long ago15:57
ltomasboyep15:57
ltomasbohow do you managed to avoid it?15:57
kzaitsev_wsbut seeminglly kuryr-k8s was super-fast and managed to launch the event with vif *before* cni started to watch for it15:58
kzaitsev_wsI guess...15:58
ltomasbo:D15:58
kzaitsev_wsactually it's possible to differentiate two cases — if there is no vifs key in the annotation — it's a brand new Pod15:59
kzaitsev_wsif it's empty — the Pod is somehow requesting 0 VIFs15:59
kzaitsev_wsbut I'll extract this logic to a separate patch16:00
kzaitsev_wsnot even sure we need this flexibility16:00
*** roeyc has joined #openstack-kuryr16:15
*** openstackgerrit has joined #openstack-kuryr16:20
openstackgerritKirill Zaitsev proposed openstack/kuryr-kubernetes master: Allow passing multiple VIFs to CNI  https://review.openstack.org/47101216:20
*** roeyc has quit IRC16:51
*** yamamoto has joined #openstack-kuryr16:51
*** pcaruana has quit IRC16:56
openstackgerritKirill Zaitsev proposed openstack/kuryr-kubernetes master: Add SR-IOV capabilities to VIF handler  https://review.openstack.org/46245516:56
openstackgerritKirill Zaitsev proposed openstack/kuryr-kubernetes master: Add SR-IOV binding driver to CNI  https://review.openstack.org/46245616:56
*** yamamoto has quit IRC17:02
openstackgerritKirill Zaitsev proposed openstack/kuryr-kubernetes master: [DRAFT] Allow requesting additional VIFs via annotation  https://review.openstack.org/48254417:05
*** aojea has joined #openstack-kuryr17:16
openstackgerritJaivish Kothari(janonymous) proposed openstack/kuryr-kubernetes master: [WIP] CNI Daemon template  https://review.openstack.org/48002817:17
*** aojea has quit IRC17:21
*** tonanhngo has joined #openstack-kuryr17:31
*** tonanhngo has quit IRC17:33
*** tonanhngo has joined #openstack-kuryr17:36
*** aojea has joined #openstack-kuryr17:37
*** aojea has quit IRC17:42
*** yboaron_ has joined #openstack-kuryr17:46
*** kural_ has quit IRC17:57
*** yamamoto has joined #openstack-kuryr18:04
*** kzaitsev_ws has quit IRC18:06
*** yamamoto has quit IRC18:20
*** yamamoto has joined #openstack-kuryr18:21
*** yamamoto has quit IRC18:26
*** atoth has quit IRC18:59
*** aojea has joined #openstack-kuryr19:03
*** yamamoto has joined #openstack-kuryr19:16
*** yamamoto has quit IRC19:54
*** yboaron_ has quit IRC20:42
*** yamamoto has joined #openstack-kuryr20:54
*** yamamoto has quit IRC21:01
*** rwallner has quit IRC21:04
*** aojea has quit IRC21:23
*** aojea has joined #openstack-kuryr21:32
*** aojea has quit IRC21:53
*** mattmceuen has joined #openstack-kuryr21:53
*** yuval has quit IRC22:35
*** yuval has joined #openstack-kuryr22:37
*** limao has joined #openstack-kuryr22:46
*** limao_ has joined #openstack-kuryr22:49
*** limao has quit IRC22:51
*** yamamoto has joined #openstack-kuryr22:52
*** mattmceuen has quit IRC23:00
*** limao_ has quit IRC23:08
*** limao has joined #openstack-kuryr23:09
*** ivc has quit IRC23:10
*** limao has quit IRC23:14
*** ivc has joined #openstack-kuryr23:15
*** tonanhngo has quit IRC23:27
*** tonanhngo has joined #openstack-kuryr23:32
*** garyloug has quit IRC23:35
*** tonanhngo has quit IRC23:37
*** mattmceuen has joined #openstack-kuryr23:39
*** hongbin has quit IRC23:40

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