Wednesday, 2018-09-05

*** rh-jelabarre has quit IRC01:08
*** hongbin_ has joined #openstack-kuryr01:26
*** gkadam has joined #openstack-kuryr03:21
*** hongbin_ has quit IRC03:46
*** gkadam has quit IRC04:10
*** gkadam has joined #openstack-kuryr04:10
*** yboaron_ has joined #openstack-kuryr05:01
*** shachar is now known as snapiri05:16
*** itzikb has joined #openstack-kuryr05:23
*** openstackgerrit has joined #openstack-kuryr06:06
openstackgerritItzik Brown proposed openstack/kuryr-tempest-plugin master: Add test_pod_pod_ping_different_host  https://review.openstack.org/59931406:06
ltomasboyboaron_, regarding the error you mention, I'm not sure, but I know I saw this on the default local.conf at ovn:06:17
ltomasboyboaron_, Specifying Q_AGENT is needed to allow devstack06:18
ltomasbo# to run various "ip link set" and "ovs-vsctl" commands for the provider06:18
ltomasbo# network setup.06:18
ltomasbo#Q_AGENT=openvswitch06:18
ltomasbonot sure if it could be related...06:18
yboaron_ltomasbo, 10x for the info, so the devstack with ovn local.conf , also fails , right?06:19
yboaron_ltomasbo, I just about trying fresh devstack with the ovn local.conf06:19
ltomasboyboaron_, nop, it didn't fail for me06:19
ltomasboyboaron_, only problem was with configuring the octavia healthmanager port06:20
yboaron_ltomasbo, I hacked the octavia plugin.sh, to re-create the default route .. and devstack deployment succeeded06:20
yboaron_ltomasbo, but kuryr-cni is failing06:21
ltomasboyboaron_, I did the same (ip route replace via ...)06:21
ltomasboyboaron_, let me see how it ended up for me...06:21
ltomasbokubectl get pods --all-namespaces06:22
ltomasboNAMESPACE     NAME                                READY     STATUS    RESTARTS   AGE06:22
ltomasbokube-system   kuryr-cni-ds-qhqjj                  1/1       Running   0          14h06:22
ltomasbokube-system   kuryr-controller-7db7c944fb-4vhgk   1/1       Running   0          14h06:22
ltomasboseems to be ok...06:22
yboaron_ltomasbo, can u please try to deploy a pod ?06:23
*** pcaruana has joined #openstack-kuryr06:23
ltomasbotest          demo-5995548848-psz2j               1/1       Running   0          52s       10.0.0.6806:24
ltomasbocurl 10.0.0.68:808006:24
ltomasbodemo-5995548848-psz2j: HELLO! I AM ALIVE!!!06:24
ltomasboseems to work...06:24
openstackgerritYash Gupta proposed openstack/kuryr-kubernetes master: nested_vif - Get trunk port IP from node label  https://review.openstack.org/59993006:24
ltomasboyboaron_, though I'm trying without the ovn-octavia plugin...06:26
yboaron_ltomasbo, I deployed kuryr non-containerized06:27
ltomasboyboaron_, oh, ok. I always use daemon and containerized06:27
ltomasboperhaps it is not plugged on the br-int in the proper way then...06:28
yboaron_ltomasbo, I used daemon and non-containerized, I'll try the containerized ..06:29
ltomasboyboaron_, ok!06:31
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Ensure ports pool are not duplicated with kuryr-controller HA  https://review.openstack.org/59367906:31
yboaron_ltomasbo, 10x! , I"ll try to deploy the containerized, BTW this is the local.conf I used : https://pastebin.com/cFjGPq6H06:38
ltomasbolet me see the differences with mine06:39
ltomasboyboaron_, http://paste.openstack.org/show/729474/06:40
ltomasboyboaron_, first time I see: enable_service disable_service06:41
ltomasboyboaron_, seems to be pretty similar, with a couple of differences06:42
dmelladomorning folks06:42
ltomasboyboaron_, I compiled ovs from source: OVS_HOST_PATH=/usr/local/var/run/openvswitch06:42
ltomasboyboaron_, and add some configuration for the providernet06:43
ltomasboOVN_L3_CREATE_PUBLIC_NETWORK=True06:43
ltomasboPHYSICAL_NETWORK=public06:43
ltomasboQ_USE_PROVIDERNET_FOR_PUBLIC=True06:43
ltomasboFIXED_RANGE=20.0.0.0/2006:43
ltomasboFLOATING_RANGE=172.24.5.0/2406:43
ltomasboNETWORK_GATEWAY=20.0.0.106:43
ltomasboPUBLIC_NETWORK_GATEWAY=172.24.5.106:43
ltomasbo(and did not enable tempest)06:43
ltomasboand by the way, the fixed_range and network gateway are just wrong (don't do anything...)06:44
yboaron_ltomasbo, OK!, thanks for the detailed info, I"ll customize my local.conf and retry06:44
ltomasboyboaron_, hope it helps, not sure what could be. But I know this 3 were needed on our gate to make it work06:45
ltomasbo<ltomasbo> OVN_L3_CREATE_PUBLIC_NETWORK=True06:45
ltomasbo<ltomasbo> PHYSICAL_NETWORK=public06:45
ltomasbo<ltomasbo> Q_USE_PROVIDERNET_FOR_PUBLIC=True06:45
ltomasbothe others I took it for the generated localconf on one of our gates, but I think they are not needed06:46
ltomasbogood morning dmellado!06:46
yboaron_ltomasbo, Yep!, I"ll give it a try06:46
yboaron_dmellado, Morning06:46
dmelladoyboaron_: ltomasbo could you take a look at https://review.openstack.org/#/c/583540/06:53
dmelladoI'd like to get this one merged asap06:53
yboaron_dmellado, sure,06:56
ltomasbodmellado, I'll make some reviews in a few minutes...06:56
dmelladoltomasbo: of course after the coffee07:01
dmelladoxD07:01
ltomasboxD07:01
*** janki has joined #openstack-kuryr07:21
*** celebdor has joined #openstack-kuryr07:29
openstackgerritDaniel Mellado proposed openstack/kuryr-tempest-plugin master: Add Network Policy tests  https://review.openstack.org/58952107:31
*** garyloug has joined #openstack-kuryr07:37
openstackgerritDaniel Mellado proposed openstack/kuryr-tempest-plugin master: Remove direct calls to os_client for SGs  https://review.openstack.org/59994807:40
*** garyloug has quit IRC07:45
*** gkadam_ has joined #openstack-kuryr08:23
*** gkadam has quit IRC08:27
*** ccamposr has joined #openstack-kuryr08:36
*** ccamposr_ has joined #openstack-kuryr08:36
*** ccamposr_ has quit IRC08:37
ltomasbodulek, at https://review.openstack.org/#/c/593679, the pools-octavia failure seemed to be unrelated, now it is passing08:45
*** pcaruana has quit IRC08:50
ltomasbodulek, and regarding your comment here: https://review.openstack.org/#/c/593679/5/kuryr_kubernetes/controller/drivers/vif_pool.py08:57
ltomasbodulek, happy to add the lock, but not sure under what situation may that happen?08:58
ltomasbodulek, specially given the case that if a controller lost the leadership, it will not work if it gets it again (as the watchers will not be restarted)08:59
openstackgerritDaniel Mellado proposed openstack/kuryr-kubernetes master: Implement NP SG create/delete actions  https://review.openstack.org/58354009:11
dulekltomasbo: It's spawning _return_ports_to_pool thread unconditionally, so it's always running.09:29
dulekltomasbo: So IMO we can hit a situation when _trigger_return_to_pool is running and meanwhile in main thread leadership transition occurs.09:30
dulekltomasbo: Am I misunderstanding some logic there? It's a bit complicated with all those threads. :)09:30
ltomasbobut return_ports_to_pool is not related to sync_pools09:31
ltomasbodulek, but yea, it could be some weird behaviour I suppose09:31
dulekltomasbo: It's iterating over self._recyclable_ports, while sync_pools change value of that variable.09:32
dulekltomasbo: I think it's potentially dangerous.09:32
ltomasbodulek, yep, you are right09:32
ltomasbodulek, though there will be nothing on recyclabpe_ports if the controller is not active09:33
ltomasboand sync_pools will not add anything to recyclable_ports09:33
ltomasbobut good to have it anyway to be on the safe side09:34
dulekltomasbo: What if it was active before? We're not cleaning that stuff up in on_revoke_leader.09:34
dulekltomasbo: I may really misunderstand something there - it's complicated as I've said. :)09:34
ltomasbodulek, yep, it is getting complex09:35
ltomasbodulek, I thought about having a empty_pools method for the on_revoke09:36
ltomasbobut then I saw that current code does not allow to become active for a second time09:36
ltomasbodulek: self.watcher = watcher.Watcher(pipeline, self.tg, exit_on_stop=True)09:37
ltomasbodulek, that ^^ makes that ones you execute on_revoke, the watcher is lost09:37
ltomasboyou can not restarted with the self.watcher.start()09:37
dulekltomasbo: Oh crap, I might have missed that.09:37
* dulek looks.09:37
ltomasbodulek, at least, when I was testing this, if I make a few transitions, after a controller that was active, become active again, I didn't see the watching starting on the logs, adn the pods were stack forever09:38
dulekltomasbo: But it haven't stopped the process? sys.exit(1) wasn't triggered? Strange…09:39
ltomasbodulek, perhaps I missed something. I saw the leader elector was working fine09:42
ltomasbobut the watchers were not09:42
*** pcaruana has joined #openstack-kuryr09:58
openstackgerritDaniel Mellado proposed openstack/kuryr-kubernetes master: Implement NP SG create/delete actions  https://review.openstack.org/58354010:28
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Ensure ports pool are not duplicated with kuryr-controller HA  https://review.openstack.org/59367910:33
*** rh-jelabarre has joined #openstack-kuryr11:11
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Ensure ports pool are not duplicated with kuryr-controller HA  https://review.openstack.org/59367911:35
*** garyloug has joined #openstack-kuryr11:52
*** gkadam_ has quit IRC11:54
*** garyloug has quit IRC11:57
dulekdmellado: https://review.openstack.org/#/q/project:openstack/kuryr-kubernetes+topic:python3-first - that looks okay.12:00
dulekdmellado: https://review.openstack.org/#/q/project:openstack/kuryr+topic:python3-first - this needs a few abandons.12:00
dmelladodulek: o/12:00
dmelladohold on, I was referring to our old abandoned repos12:01
dulekdmellado: https://review.openstack.org/#/q/project:openstack/kuryr-libnetwork+topic:python3-first - and this as well.12:01
dmelladosuch as fuxi and so12:01
dulekOh, fuxi.12:01
dmelladowe'd need to address that for those as well12:01
dmelladoyeah, I was wondering whether to address that12:01
dmelladoor drop the project totally12:01
dulekdmellado: Yep, fuxi and fuxi-kubernetes look bad in those listings.12:01
dmelladohttp://lists.openstack.org/pipermail/openstack-dev/2018-September/134239.html12:01
dmelladosee there12:02
dmelladodulek:12:02
celebdorfuxi-kubernetes can be dropped12:02
dmellado| kuryr               |   14 |    24 | migration in progress12:02
celebdorfor fuxi you should check with hongbin12:02
dmelladocelebdor: I fuess fuxi-golang as well12:02
dmellado?12:02
dmelladoI'll assign all those reviews to him12:02
celebdornothin happened on it, did it?12:02
dmelladocelebdor: nothing that I can recall of12:02
celebdorso then...12:02
dmelladoall right12:05
dmelladocelebdor: dulek12:05
dmelladoon kuryr we should be fine12:05
dmelladoI've abandoned all the dups from Filippo12:05
dulekdmellado: Awesome. I don't have any access to repos besides kuryr-kubernetes, so it's hard to help with the rest for me.12:06
dmelladolet's check fuxi/golang and fuxi/kubernetes12:06
dmelladohttps://review.openstack.org/#/q/project:openstack/fuxi-golang+topic:python3-first+status:open12:07
dmelladohttps://review.openstack.org/#/q/project:openstack/kuryr-libnetwork+topic:python3-first12:08
dmelladooh, some more abandons here12:08
dmelladocelebdor: abandon this patch, pls https://review.openstack.org/#/c/595428/12:10
celebdordmellado: done12:13
dmelladoall right12:14
dmelladoI've cleared up almost everything12:15
dmelladoand assigned hongbin to reviewer12:15
dmelladowill be sending an email to the ML and if there's no reply we'll remove those projects from under out umbrella12:15
*** rh-jelabarre has quit IRC12:26
*** rh-jelabarre has joined #openstack-kuryr12:26
openstackgerritDanil Golov proposed openstack/kuryr-kubernetes master: Introduce proper diver mapping in VIF handler  https://review.openstack.org/59135212:28
openstackgerritDanil Golov proposed openstack/kuryr-kubernetes master: Add SR-IOV pod vif driver  https://review.openstack.org/51228012:28
openstackgerritDanil Golov proposed openstack/kuryr-kubernetes master: Add SR-IOV binding driver to CNI  https://review.openstack.org/51228112:28
openstackgerritDanil Golov proposed openstack/kuryr-kubernetes master: Add HOWTO for SRIOV use case  https://review.openstack.org/59412512:28
openstackgerritDanil Golov proposed openstack/kuryr-kubernetes master: Introduce test case document for SRIOV functionality  https://review.openstack.org/60002212:28
openstackgerritDaniel Mellado proposed openstack/kuryr-kubernetes master: Implement NP SG create/delete actions  https://review.openstack.org/58354012:33
danilfolks, please review https://review.openstack.org/59135212:57
*** itzikb has quit IRC13:12
*** janki has quit IRC14:01
*** garyloug has joined #openstack-kuryr14:12
*** garyloug_ has joined #openstack-kuryr14:13
*** garyloug has quit IRC14:17
openstackgerritMerged openstack/kuryr-libnetwork master: Switch to using stestr  https://review.openstack.org/58434714:46
*** yboaron_ has quit IRC15:06
*** takamatsu has quit IRC15:10
*** takamatsu has joined #openstack-kuryr15:12
*** pcaruana has quit IRC15:25
*** itzikb has joined #openstack-kuryr15:39
dulekcelebdor: Seems like you've found first Python 3 incompatibility. Congrats!15:55
dulekcelebdor: http://logs.openstack.org/57/599457/7/experimental/kuryr-kubernetes-tempest-daemon-containerized-octavia-py36/33cc194/controller/logs/kubernetes/pod_logs/kube-system-kuryr-cni-ds-dwrfb.txt.gz#_2018-09-04_15_24_01_88815:55
celebdordulek: I don't know what you think, but I think that right there deserves my patch merging already :-)15:56
dulekcelebdor: Hah, I was thinking to propose the fix first, but you're right.15:57
celebdor:-)15:59
*** garyloug_ has quit IRC16:11
*** premsankar has joined #openstack-kuryr16:11
openstackgerritMichał Dulko proposed openstack/kuryr-kubernetes master: Fix Python 3 compatiblity in K8sClient.watch()  https://review.openstack.org/60011616:20
*** ccamposr has quit IRC16:37
*** itzikb has quit IRC16:42
openstackgerritMerged openstack/kuryr-tempest-plugin master: NPWG multi-vif driver tempest tests  https://review.openstack.org/59064317:09
dulekI'm officially declaring watcher.py spaghetti code. We need to refactor it baaaadly.17:24
dulekJust spent an hour until I've realized that we're doing hard .stop() on a thread, not giving it a chance to clean up.17:24
openstackgerritMichał Dulko proposed openstack/kuryr-kubernetes master: Clean up watch resources after watcher.stop()  https://review.openstack.org/60014217:35
dulekltomasbo: ^17:35
*** yboaron_ has joined #openstack-kuryr17:47
*** pcaruana has joined #openstack-kuryr17:52
*** openstackgerrit has quit IRC18:00
*** yboaron_ has quit IRC18:16
*** yboaron_ has joined #openstack-kuryr18:16
*** openstackgerrit has joined #openstack-kuryr19:08
openstackgerritDaniel Mellado proposed openstack/kuryr-kubernetes master: Implement NP SG create/delete actions  https://review.openstack.org/58354019:08
*** yboaron_ has quit IRC20:00
*** pcaruana has quit IRC20:40
*** celebdor has quit IRC21:14
*** takamatsu has quit IRC21:42
*** rh-jelabarre has quit IRC22:22

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