Thursday, 2018-09-06

*** hongbin has joined #openstack-kuryr01:51
*** gkadam has joined #openstack-kuryr03:31
*** hongbin has quit IRC04:01
*** janki has joined #openstack-kuryr04:13
*** yboaron_ has joined #openstack-kuryr04:34
openstackgerritYossi Boaron proposed openstack/kuryr-tempest-plugin master: OCP-Router - add support for OCP routes  https://review.openstack.org/57831004:49
*** itzikb has joined #openstack-kuryr05:17
*** gkadam_ has joined #openstack-kuryr05:41
*** gkadam has quit IRC05:43
*** gkadam__ has joined #openstack-kuryr05:45
*** gkadam_ has quit IRC05:47
*** premsankar has quit IRC06:16
*** pcaruana has joined #openstack-kuryr06:25
openstackgerritDanil Golov proposed openstack/kuryr-kubernetes master: Introduce test case document for SRIOV functionality  https://review.openstack.org/60002206:26
openstackgerritMerged openstack/kuryr-kubernetes master: Ensure ports pool are not duplicated with kuryr-controller HA  https://review.openstack.org/59367906:37
openstackgerritDanil Golov proposed openstack/kuryr-kubernetes master: Introduce test case document for SRIOV functionality  https://review.openstack.org/60002206:54
*** pcaruana has quit IRC07:36
*** pcaruana has joined #openstack-kuryr07:48
*** ccamposr has joined #openstack-kuryr08:04
*** celebdor has joined #openstack-kuryr08:05
*** garyloug has joined #openstack-kuryr08:07
openstackgerritAlexey Perevalov proposed openstack/kuryr-kubernetes master: Spec for vhost-user port type  https://review.openstack.org/57704908:08
openstackgerritAlexey Perevalov proposed openstack/kuryr-kubernetes master: Support DPDK application on bare-metal host  https://review.openstack.org/59673108:09
celebdordulek: it seems like your py3 fix failed the unit tests :-)08:17
dulekcelebdor: Only the Python 3 ones. ;)08:17
dulekcelebdor: Right, we're mocking requests and requests returns different stuff depending on Python version…08:19
celebdordulek: it does?08:19
celebdoryou mean bytes vs str?08:19
dulekcelebdor: Either str or bytes.08:19
dulekYup!08:19
celebdoror any other difference?08:19
celebdorok08:19
celebdorDoes it adhere to the standard that if you give it the argument in bytes it returns bytes08:20
dulekcelebdor: Nah, I think that's it.08:20
celebdorand if you pass it in str it returns str?08:20
celebdorah08:20
dulekcelebdor: Hm, dunno really.08:20
celebdorI'll check08:20
dulekMaybe there's some testing harness in there, so we won't be mocking lib's behavior…08:21
celebdordulek: I think it always returns bytes08:22
dulekcelebdor: Yay, requests-mock is in global requirements.08:22
dulekcelebdor: "AttributeError: 'str' object has no attribute 'decode'"?08:22
celebdorfrom what I can see in my python3 ipython session, I'm always getting bytes08:23
dulekcelebdor: Ah, right. We're mocking this as an str.08:25
celebdor:-)08:27
dulekAwww, I really don't want to do "if six.PY2" in unit tests…08:29
openstackgerritAlexey Perevalov proposed openstack/kuryr-kubernetes master: Spec for vhost-user port type  https://review.openstack.org/57704908:32
danilhello, folks. Please, review - https://review.openstack.org/#/c/591352/908:40
dmelladodanil: sure, added it to my today's review queue08:49
dmelladothanks!08:49
danildmellado: thanks a lot08:49
openstackgerritDaniel Mellado proposed openstack/kuryr-kubernetes master: Implement NP SG create/delete actions  https://review.openstack.org/58354008:52
openstackgerritMichał Dulko proposed openstack/kuryr-kubernetes master: Fix Python 3 compatiblity in K8sClient.watch()  https://review.openstack.org/60011609:39
*** garyloug has quit IRC10:34
*** garyloug has joined #openstack-kuryr10:34
*** garyloug has quit IRC11:23
openstackgerritDanil Golov proposed openstack/kuryr-kubernetes master: Add HOWTO for SRIOV use case  https://review.openstack.org/59412511:31
openstackgerritDanil Golov proposed openstack/kuryr-kubernetes master: Introduce test case document for SRIOV functionality  https://review.openstack.org/60002211:31
*** rh-jelabarre has joined #openstack-kuryr11:38
dulekyboaron_: Can you elaborate on your inline comment in https://review.openstack.org/#/c/600142/1/kuryr_kubernetes/watcher.py ?11:46
dulekyboaron_: I don't think I get it. :)11:46
yboaron_dulek, lemme check it, one sec11:47
yboaron_dulek, If understood correctly, the root cause was that watched path was in 'self._watching' although watcher is not running anymore, and watcher restarts we didn't run it because of the if statement in line#99, is it correct?11:50
yboaron_dulek, I thought maybe we should consider also to 'customize' the if statement at line#99, in addition to the fix that you are suggesting, does it make sense?11:52
dulekyboaron_: Uhm, no. It wasn't restarting due to statement in line 124.11:52
dulekyboaron_: Hm, that might make sense if we can reliably check greenlet status. Lemme check this.11:53
dulekyboaron_: Nope, looks like it's impossible: http://eventlet.net/doc/modules/greenthread.html#eventlet.greenthread.GreenThread11:54
dulekyboaron_: So we're unable to tell if GreenThread is running or not.11:54
dulekyboaron_: Basically what I've fixed in the patch is to clean up after killing a GreenThread.11:54
dulekyboaron_: If the GreenThread will die due to exception - finally clause in _watch() will clean up.11:55
dulekyboaron_: So we should be covered.11:55
yboaron_dulek, so if it's impossible to check thread status, we should stick with this fix. if we could verify also thread status that was more robust11:55
dulekyboaron_: I agree, though I still believe this code needs a rewrite. It's simply awful.11:56
yboaron_dulek, Yep! , 10x!11:56
openstackgerritMerged openstack/kuryr-kubernetes master: Add experimental check for NPWG multi-vif driver  https://review.openstack.org/59306212:05
openstackgerritItzik Brown proposed openstack/kuryr-tempest-plugin master: Check that kuryr-cni runs as a daemon  https://review.openstack.org/59656412:05
openstackgerritMichał Dulko proposed openstack/kuryr-kubernetes master: Clean up watch resources after watcher.stop()  https://review.openstack.org/60014212:12
*** rh-jelabarre has quit IRC12:14
*** yboaron_ has quit IRC12:32
*** yboaron_ has joined #openstack-kuryr12:32
*** yboaron_ has quit IRC13:14
*** yboaron has joined #openstack-kuryr13:15
*** garyloug has joined #openstack-kuryr13:18
openstackgerritItzik Brown proposed openstack/kuryr-tempest-plugin master: Add test_pod_pod_ping_same_node test  https://review.openstack.org/60044313:19
*** garyloug has quit IRC13:23
*** garyloug has joined #openstack-kuryr13:24
*** yboaron_ has joined #openstack-kuryr13:49
*** yboaron has quit IRC13:52
*** rh-jelabarre has joined #openstack-kuryr13:53
openstackgerritItzik Brown proposed openstack/kuryr-tempest-plugin master: Add test_pod_pod_ping_same_node test  https://review.openstack.org/60044313:58
openstackgerritDaniel Mellado proposed openstack/kuryr-kubernetes master: Implement NP SG create/delete actions  https://review.openstack.org/58354014:10
*** itzikb has quit IRC14:29
*** yboaron_ has quit IRC14:43
*** celebdor has quit IRC15:00
*** janki has quit IRC15:04
*** pcaruana has quit IRC15:42
*** pcaruana has joined #openstack-kuryr16:01
*** ccamposr has quit IRC16:51
*** gkadam__ has quit IRC17:09
*** garyloug_ has joined #openstack-kuryr17:16
*** ChanServ sets mode: -rf 17:16
*** garyloug has quit IRC17:17
*** pcaruana has quit IRC17:27
*** irenab has quit IRC17:47
*** irenab has joined #openstack-kuryr17:50
*** pcaruana has joined #openstack-kuryr18:02
*** openstackgerrit has quit IRC18:05
*** pcaruana has quit IRC19:35
*** dims has quit IRC20:55
*** rh-jelabarre has quit IRC21:02
*** dims has joined #openstack-kuryr21:11
*** garyloug_ has quit IRC23:06

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