Monday, 2018-09-10

*** arantuna has quit IRC00:08
openstackgerritYash Gupta proposed openstack/kuryr-kubernetes master: Refactor DriverBase.get_instance()  https://review.openstack.org/59667201:59
openstackgerritYash Gupta proposed openstack/kuryr-kubernetes master: Refactor DriverBase.get_instance()  https://review.openstack.org/59667202:14
openstackgerritYash Gupta proposed openstack/kuryr-kubernetes master: Use same pool_driver for different pod_vif_drivers  https://review.openstack.org/59667302:14
danilhello, folks. Please review patches with SRIOV functionality: https://review.openstack.org/#/c/512280/39 , https://review.openstack.org/#/c/512281/4004:31
*** aperevalov has joined #openstack-kuryr05:10
*** threestrands has joined #openstack-kuryr05:45
*** threestrands has quit IRC05:45
*** threestrands has joined #openstack-kuryr05:45
*** ccamposr has joined #openstack-kuryr07:02
*** threestrands has quit IRC07:25
*** pcaruana has joined #openstack-kuryr07:31
*** dims has quit IRC07:57
*** dims has joined #openstack-kuryr07:57
*** garyloug has joined #openstack-kuryr07:59
*** celebdor has joined #openstack-kuryr08:01
openstackgerritMerged openstack/kuryr master: Use templates for cover and lower-constraints  https://review.openstack.org/60092508:40
celebdoraperevalov: https://review.openstack.org/#/c/600693/108:45
celebdorI made some small suggestion to your patch08:45
celebdorotherwise, it looks good to me08:45
aperevalovcelebdor: thanks!08:46
celebdorthanks to you for the patch08:47
openstackgerritMerged openstack/kuryr-libnetwork master: Use templates for cover and lower-constraints  https://review.openstack.org/60092409:01
openstackgerritAlexey Perevalov proposed openstack/kuryr-kubernetes master: Produce mount volume only if OVS_HOST_PATH is defined  https://review.openstack.org/60069310:24
openstackgerritDaniel Mellado proposed openstack/kuryr-tempest-plugin master: Add Network Policy tests  https://review.openstack.org/58952110:38
aperevalovwe tested containerized cni/controller and didn't find required docker version in docs. Is it 1.13?12:00
celebdoraperevalov: just a sec12:01
celebdoraperevalov: I think it is 1.13.1 nowadays12:02
*** rh-jelabarre has joined #openstack-kuryr12:05
aperevalovcelebdor: thanks! we have 2 installation in one we're using 1.12.6 and in another one 1.13.1.  There is no --env option in 1.12.6 ;) It's better to mention about it in documentation )12:08
celebdoraperevalov: good idea12:20
celebdorthanks12:20
celebdorhow is it in 1.12.6? Just -12:21
celebdor-e ?12:21
* celebdor -> lunch12:21
aperevalovjust error message: flag provided but not defined: --env See 'docker exec --help'.12:26
aperevalovand there is no --env as well as -e12:26
danilhello, folks. Please review patches with SRIOV functionality: https://review.openstack.org/#/c/512280/39 , https://review.openstack.org/#/c/512281/4012:34
*** maysams has joined #openstack-kuryr12:36
openstackgerritMichał Dulko proposed openstack/kuryr-kubernetes master: Clean up watch resources after watcher.stop()  https://review.openstack.org/60014212:51
openstackgerritMichał Dulko proposed openstack/kuryr-kubernetes master: WIP: Add HA gate  https://review.openstack.org/58822312:51
aperevalovjust one more question: I got empty CNI_NETNS in env for my containerized kuryr-cni, looks like it's not normal, and seems it's somewhere in my configiration.12:57
celebdorexec?13:05
celebdoroh, right13:05
celebdorin 13 it was added to exec before only on run13:05
aperevalovcelebdor: CNI_NETNS was empty during docker exec13:07
celebdorhmmm13:07
celebdorthis does sound familiar13:07
celebdorltomasbo: do you remember ^^ happening13:07
ltomasboumm, nop, I don't remember that happening to me...13:12
celebdorltomasbo: do you recall if adding the loopback net conf to /etc/ cni was enough to fix the pods not starting?13:17
celebdorthe host networking pods not starting, I mean13:17
ltomasbocelebdor, it was enough to make it ready13:20
celebdorok13:20
ltomasbobut the pods were not schedule either, due to the missing csr approval (after the timeout)13:20
ltomasbocelebdor, ^^13:20
celebdorltomasbo: but that's because you put the conf file after the timeout13:21
celebdor:P13:21
ltomasboyep13:21
ltomasboxD13:21
openstackgerritMerged openstack/kuryr-tempest-plugin master: Add Network Policy tests  https://review.openstack.org/58952113:22
*** garyloug_ has joined #openstack-kuryr13:31
celebdorltomasbo: https://github.com/celebdor/origin/tree/d_csr13:32
celebdorI believe this should do it13:33
ltomasboumm, it actually could be...13:33
ltomasboI'm stacking at the moment to test another thing, as soon as it finished, I'll give it a try to this one13:34
celebdorvery well13:34
*** garyloug has quit IRC13:34
*** garyloug_ has quit IRC13:35
openstackgerritDaniel Mellado proposed openstack/kuryr-tempest-plugin master: Remove direct calls to os_client for SGs  https://review.openstack.org/59994814:03
aperevalovI subscribed to [Openstack] ML, but I didn't see any cancelation of todays meeting14:06
celebdoraperevalov: openstack-dev?14:22
*** garyloug_ has joined #openstack-kuryr14:27
*** maysams has quit IRC14:46
*** hongbin has joined #openstack-kuryr14:47
celebdoris there any case of https://review.openstack.org/#/c/600142/3/kuryr_kubernetes/watcher.py15:04
celebdorwhere we get to line 148 without the path being in self._watching?15:05
celebdor(original code)15:05
dulekcelebdor: I believe there's a race condition.15:08
dulekcelebdor: I saw that in threaded case sometimes _graceful_watch_retry() gets executed on _stop_watch() and sometimes not.15:09
celebdorI believe there is for cleaning out code, but shouldn't the if be nested?15:09
dulekcelebdor: So I'm clearing it in two places to make sure we're protected in both cases.15:09
dulekcelebdor: And I've deleted the self.remove(path) line - because otherwise we're unable to restart the watcher using .start()15:10
celebdorok15:13
celebdorlet me see about that15:13
celebdordulek: so remove path is never called anymore?15:14
dulekcelebdor: Yup. I doubt it's needed really. See that self._resources is only used in start() and in conditionals in watch() which we always combine with self._running check.15:16
dulekcelebdor: Hm, maybe this thing: https://github.com/openstack/kuryr-kubernetes/blob/6c3a73cc677ca499592de2b4fb5ce4544503c2fd/kuryr_kubernetes/watcher.py#L192-L19315:16
* dulek is super confused about that code.15:17
celebdordulek: IIRC I put that there so that it would quite when there are no more paths15:17
celebdorbeing watched15:17
celebdordulek: don't get me started15:17
dulekcelebdor: :D15:17
celebdorI wish I could move it back to coroutines now that we do py315:17
dulekcelebdor: So basically my issue here is that in threaded case we have multiple _watch() runs in different thread.15:18
dulekthreads.15:18
dulekcelebdor: And my understanding was that the code isn't really caring about that.15:18
dulekcelebdor: I'm at SIG-K8s session and I have hard time doing context switching. Can we try to discuss it on the review?15:19
dulekcelebdor: I'm totally open for any suggestions you may have.15:19
celebdordulek: sure, sorry15:20
celebdorI'll try to think about it some more15:20
dulekcelebdor: Just to recap - my main issue I wanted to fix is to make sure doing Watcher.stop; Watcher.start() doesn't end up with stuff removed from self._resources.15:20
dulekcelebdor: Because that blocked HA leader switching.15:21
celebdordulek: pay attention to the SIG15:21
celebdorwe can sync later15:21
celebdor;-)15:21
dulekcelebdor: And also I feel like GreenThread.stop() doesn't always kill the GT immediately.15:21
dulekcelebdor: Which causes race conditions.15:21
celebdormakes my head hurt15:22
aperevalovcelebdor: no List-Id: The OpenStack General mailing list <openstack.lists.openstack.org>15:46
celebdoraperevalov: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev15:48
aperevalovcelebdor: thanks!!!15:49
celebdor;-)15:49
*** hongbin_ has joined #openstack-kuryr15:55
*** hongbin has quit IRC15:56
openstackgerritMichał Dulko proposed openstack/kuryr-tempest-plugin master: Refactor options definitons  https://review.openstack.org/59041515:59
openstackgerritMichał Dulko proposed openstack/kuryr-tempest-plugin master: A/P HA tests  https://review.openstack.org/59041615:59
dulekHey folks, I'd like to highlight https://review.openstack.org/#/c/590415/ - it's a simple refactoring that gets into merge conflicts all the time.16:00
dulekWould be nice to get some attention there.16:01
celebdordulek: I just +2ed it16:11
* celebdor -> family time16:11
*** ccamposr has quit IRC16:14
*** garyloug_ has quit IRC17:10
dulekcelebdor: Quick question (sorry for the hour) - who's actually running Kuryr-Kubernetes (in production?)? I've joined Ops containers session because I see a question about it in the etherpad.17:21
*** maysams has joined #openstack-kuryr17:31
openstackgerritMichał Dulko proposed openstack/kuryr-tempest-plugin master: Refactor options definitons  https://review.openstack.org/59041517:39
openstackgerritMichał Dulko proposed openstack/kuryr-tempest-plugin master: A/P HA tests  https://review.openstack.org/59041617:39
*** hongbin_ has quit IRC18:10
*** pcaruana has quit IRC20:08
*** celebdor has quit IRC20:53
*** rh-jelabarre has quit IRC21:12
*** hongbin has joined #openstack-kuryr21:53
*** takamatsu has quit IRC22:23
*** hongbin has quit IRC22:25
*** pmannidi has joined #openstack-kuryr23:33

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