Wednesday, 2018-01-17

*** yamamoto has joined #openstack-kuryr00:08
*** hongbin has quit IRC00:48
*** kiennt26 has joined #openstack-kuryr01:12
*** hongbin has joined #openstack-kuryr02:24
*** janonymous has joined #openstack-kuryr03:24
*** caowei has joined #openstack-kuryr03:46
*** caowei has quit IRC04:25
*** caowei has joined #openstack-kuryr04:25
*** caowei has quit IRC04:55
*** yboaron has joined #openstack-kuryr05:03
*** hongbin has quit IRC05:09
*** hongbin has joined #openstack-kuryr05:12
*** sylviamittal has joined #openstack-kuryr05:12
sylviamittalapuimedo : Hi, I am new here and  want to contribute. So, can you help me where to start with keeping in mind the tentative projects for Outreachy Round 16. Thanks!05:17
*** hongbin has quit IRC05:30
*** sylviamittal has quit IRC05:31
*** caowei has joined #openstack-kuryr05:34
*** caowei has quit IRC05:59
*** caowei has joined #openstack-kuryr06:01
*** caowei has quit IRC06:03
*** pmannidi has quit IRC06:16
*** janki has joined #openstack-kuryr06:20
*** gcheresh has joined #openstack-kuryr06:27
*** caowei has joined #openstack-kuryr06:32
*** pmannidi has joined #openstack-kuryr06:33
*** pmannidi has quit IRC06:38
*** pmannidi has joined #openstack-kuryr06:50
*** caowei has quit IRC07:17
*** threestrands_ has quit IRC07:20
*** caowei has joined #openstack-kuryr07:21
*** caowei has quit IRC07:25
*** pcaruana has joined #openstack-kuryr07:48
*** pcaruana has quit IRC07:55
*** pcaruana has joined #openstack-kuryr07:55
*** caowei has joined #openstack-kuryr08:28
*** juriarte has joined #openstack-kuryr08:35
*** caowei has quit IRC08:39
*** pmannidi has quit IRC08:41
*** caowei has joined #openstack-kuryr08:50
dulekapuimedo: Is there a reason to do `COPY /opt/kuryr-kubernetes .` before all the yum operations?08:53
dulekapuimedo: That way every rebuild with minor code change triggers yum install, which takes a lot of time.08:53
apuimedodulek: link to github08:54
dulekapuimedo: I'm talking about cni and controller Dockerfiles.08:54
apuimedoplease?08:54
apuimedo:P08:54
dulekapuimedo: https://github.com/openstack/kuryr-kubernetes/blob/master/controller.Dockerfile#L408:54
dulekapuimedo: I might not be aware of some Dockerfile writing good practice, so that's why I'm asking.08:55
apuimedodulek: swap it08:55
apuimedoit's not good08:55
dulekapuimedo: Okay, thanks!08:56
apuimedothanks to you for noticing. It escaped me in the original review08:56
*** danil has joined #openstack-kuryr08:56
dulekapuimedo: It's hard not to notice if you're debugging code by building containers. :)08:56
apuimedodulek: Well, I used to try it disabling caching08:57
apuimedoso it made no difference to me08:57
dulekapuimedo: Okay, so here's a fun issue I've hit with containerized mode, privsep and venv.09:05
apuimedodulek: oh. I love those09:05
apuimedocome at me09:06
dulekapuimedo: Addressing your comment about "ovs_mod.linux_net.privsep.priv_context.Method.FORK" being impossible to inject, I've removed it and just installed sudo on the container.09:06
apuimedodulek: I guess that didn't work :P09:06
dulekapuimedo: Now os-vif runs `sudo privsep-helper`. Which is fine normally.09:06
*** openstackgerrit has joined #openstack-kuryr09:06
openstackgerritDeepak Mourya proposed openstack/fuxi master: trivial: Fix the misspelling of "default"  https://review.openstack.org/53166209:06
dulekapuimedo: But when kuryr-daemon is run from a venv, running sudo changes PYTHONPATH.09:07
apuimedoof course09:07
apuimedo:-)09:07
dulekapuimedo: So `privsep-helper` is run from the system Python environment. Where it's missing.09:07
apuimedothat's a very funny issue09:07
dulekapuimedo: I can try to make sudo pass PYTHONPATH, but that would be a system-specific thing.09:08
apuimedoif it used full path this would not happen09:08
dulekapuimedo: I can *probably* change `sudo` to `sudo -E` by using https://github.com/openstack/oslo.privsep/blob/master/oslo_privsep/priv_context.py#L51-L5809:09
dulekapuimedo: I can also get back to installing kuryr-kubernetes on the system in the container and run it from there.09:10
apuimedotry the config way09:10
apuimedoand fallback to installing kuryr-k8s on the system if that does not help09:10
dulekapuimedo: Oh, I can also just install oslo.privsep on the system. But that feels like a hack to me.09:11
apuimedodulek: agreed09:11
dulekapuimedo: Okay, let's see how those configs work… :)09:12
apuimedo;-)09:12
*** caowei has quit IRC09:20
*** caowei has joined #openstack-kuryr09:21
*** garyloug has joined #openstack-kuryr09:31
*** yamamoto has quit IRC09:49
*** yamamoto has joined #openstack-kuryr09:57
*** caowei has quit IRC10:01
*** yamamoto has quit IRC10:31
*** yamamoto has joined #openstack-kuryr10:31
*** yamamoto has quit IRC10:31
*** dims has quit IRC10:57
*** dims has joined #openstack-kuryr10:58
*** yboaron_ has joined #openstack-kuryr11:00
*** yboaron has quit IRC11:03
dulekapuimedo:     [vif_plug_ovs_privileged]11:05
dulek    helper_command = privsep-helper11:05
dulek    [vif_plug_linux_bridge_privileged]11:05
dulek    helper_command = privsep-helper11:05
dulekapuimedo: :)11:05
apuimedodulek: did it work?11:07
dulekapuimedo: Yes. So now it just runs "privsep-helper", without sudo or anything. :)11:08
dulekapuimedo: Just the config section name suck.11:08
apuimedoyup11:09
*** janki has quit IRC11:13
*** yamamoto has joined #openstack-kuryr11:32
*** yamamoto has quit IRC11:32
*** yamamoto has joined #openstack-kuryr11:32
*** yboaron_ has quit IRC11:52
danilhello, folks. Please, if you have an access to sriov devises, check my patches: (https://review.openstack.org/#/q/topic:bp/kuryr-kubernetes-sriov-support-refactor+(status:open+OR+status:merged)). If you need any instruction to setup installation, please, ping me11:57
apuimedodanil: I don't think I'll be able to test in the next week and a half12:01
apuimedobut I'll try to get somebody to it12:01
*** maysamacedos has joined #openstack-kuryr12:16
irenabdanil,  zuul does not pass on your patches12:44
*** kiennt26_ has joined #openstack-kuryr12:48
*** janki has joined #openstack-kuryr12:54
*** yboaron_ has joined #openstack-kuryr12:55
*** danil has quit IRC12:58
*** danil has joined #openstack-kuryr12:58
*** pmannidi has joined #openstack-kuryr13:04
*** janonymous has quit IRC13:13
*** kiennt26 has quit IRC13:30
*** danil has quit IRC13:34
dulekapuimedo: From ttx ML post:13:35
dulekNB: We are still working on the room / day / track assignment based on13:35
dulekeach team's requirements and hope to be able to publish a strawman13:35
dulekproposal by the end of the week.13:35
dulekapuimedo: Do we have some requirements already?13:35
*** kiennt26_ has quit IRC13:46
*** pmannidi has quit IRC13:46
*** maysamacedos has quit IRC13:53
*** maysamacedos has joined #openstack-kuryr13:54
apuimedodulek: I don't remember14:01
apuimedowill have to send14:01
*** aojea_ has joined #openstack-kuryr14:02
*** kiennt26 has joined #openstack-kuryr14:16
*** kaliya has joined #openstack-kuryr14:17
*** yboaron_ has quit IRC14:51
*** gianpietro has joined #openstack-kuryr15:08
*** hongbin has joined #openstack-kuryr15:29
*** yamamoto has quit IRC15:31
*** maysamacedos has quit IRC15:36
*** lihi has quit IRC15:42
*** lihi has joined #openstack-kuryr15:43
*** maysamacedos has joined #openstack-kuryr15:44
*** yamamoto has joined #openstack-kuryr15:46
*** gcheresh has quit IRC15:51
*** yamamoto has quit IRC15:51
*** kiennt26 has quit IRC15:56
*** premsankar has joined #openstack-kuryr15:59
*** gianpietro has quit IRC16:00
*** gianpietro has joined #openstack-kuryr16:00
*** gianpietro has quit IRC16:02
*** yamamoto has joined #openstack-kuryr16:04
*** gianpietro has joined #openstack-kuryr16:04
*** lihi has quit IRC16:04
*** yamamoto has quit IRC16:08
*** lihi has joined #openstack-kuryr16:08
*** atoth has joined #openstack-kuryr16:08
*** apuimedo has quit IRC16:08
openstackgerritMichał Dulko proposed openstack/kuryr-kubernetes master: Use virtualenv to build kuryr-cni Docker image  https://review.openstack.org/53425316:11
openstackgerritMichał Dulko proposed openstack/kuryr-kubernetes master: Add experimental containerized jobs  https://review.openstack.org/53482716:11
*** janki has quit IRC16:12
*** apuimedo has joined #openstack-kuryr16:12
*** aojea_ has quit IRC16:17
*** aojea_ has joined #openstack-kuryr16:17
*** aojea_ has quit IRC16:22
*** gianpietro has quit IRC16:38
*** gianpietro has joined #openstack-kuryr16:38
*** gianpietro has quit IRC16:43
*** gianpietro has joined #openstack-kuryr16:44
*** pcaruana has quit IRC16:46
*** yamamoto has joined #openstack-kuryr17:08
*** yamamoto has quit IRC17:17
*** maysamacedos has quit IRC17:49
*** aojea has joined #openstack-kuryr17:50
*** maysamacedos has joined #openstack-kuryr17:51
*** aojea_ has joined #openstack-kuryr17:55
*** aojea has quit IRC17:58
*** aojea has joined #openstack-kuryr18:01
*** gianpietro has quit IRC18:02
*** gianpietro has joined #openstack-kuryr18:03
*** aojea_ has quit IRC18:03
dulekFYI - we have os-vif 1.9.0 released, no more workarounds should be needed.18:04
*** aojea_ has joined #openstack-kuryr18:05
*** gianpietro has quit IRC18:08
*** aojea has quit IRC18:08
*** aojea has joined #openstack-kuryr18:11
*** aojea_ has quit IRC18:13
apuimedodulek: I thought Christmas was last month18:14
*** aojea_ has joined #openstack-kuryr18:15
*** aojea has quit IRC18:19
*** aojea has joined #openstack-kuryr18:21
*** dulek_mobile has joined #openstack-kuryr18:21
dulekapuimedo: It's for Chinese New Year maybe?18:22
*** aojea_ has quit IRC18:23
*** aojea_ has joined #openstack-kuryr18:25
*** aojea has quit IRC18:28
apuimedo:-)18:30
*** aojea has joined #openstack-kuryr18:31
*** aojea_ has quit IRC18:34
*** kaliya has quit IRC18:34
*** aojea has quit IRC18:39
*** yboaron_ has joined #openstack-kuryr18:55
*** atoth has quit IRC19:12
*** gianpietro has joined #openstack-kuryr19:13
*** gianpietro has quit IRC19:17
*** juriarte has quit IRC19:55
*** gianpietro has joined #openstack-kuryr20:33
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr-libnetwork master: Updated from global requirements  https://review.openstack.org/52374020:38
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr-kubernetes master: Updated from global requirements  https://review.openstack.org/50978120:38
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr-tempest-plugin master: Updated from global requirements  https://review.openstack.org/53068820:38
*** garyloug has quit IRC20:46
*** gianpietro has quit IRC20:46
*** gianpietro has joined #openstack-kuryr20:46
*** gianpietro has quit IRC20:46
*** gianpietro has joined #openstack-kuryr20:47
*** dulek_mobile_ has joined #openstack-kuryr20:57
apuimedomaysamacedos: do you have some environment with the health manager running?20:58
maysamacedosyes20:58
*** aojea has joined #openstack-kuryr21:00
apuimedois it internet reachable?21:00
*** dulek_mobile has quit IRC21:00
*** phuoc has quit IRC21:00
*** phuoc has joined #openstack-kuryr21:01
apuimedomaysamacedos: just posted the review21:02
apuimedolet me know what you think about the suggestion21:02
maysamacedosI'm running with vagrant, probably would need to configure something21:02
apuimedomaysamacedos: ah, no worries. I'll trigger it in my machine then21:03
*** aojea_ has joined #openstack-kuryr21:05
*** aojea has quit IRC21:08
*** aojea has joined #openstack-kuryr21:09
*** dulek_mobile_ has quit IRC21:13
*** aojea_ has quit IRC21:13
*** aojea_ has joined #openstack-kuryr21:15
*** aojea has quit IRC21:18
*** aojea has joined #openstack-kuryr21:21
*** aojea_ has quit IRC21:23
*** aojea_ has joined #openstack-kuryr21:25
*** aojea has quit IRC21:28
*** aojea has joined #openstack-kuryr21:30
*** aojea_ has quit IRC21:33
*** aojea_ has joined #openstack-kuryr21:35
maysamacedosapuimedo: ping21:37
*** aojea has quit IRC21:38
*** aojea has joined #openstack-kuryr21:41
*** threestrands_ has joined #openstack-kuryr21:44
*** aojea_ has quit IRC21:44
*** threestrands_ has quit IRC21:45
*** threestrands_ has joined #openstack-kuryr21:45
*** threestrands_ has quit IRC21:45
*** threestrands_ has joined #openstack-kuryr21:45
*** aojea_ has joined #openstack-kuryr21:45
*** aojea has quit IRC21:48
apuimedomaysamacedos: pong21:50
maysamacedosapuimedo: I was trying to figure out a more proper way to relate the manager with the watcher and pipeline/retry, since they have a directly relation with the manager when probably should be the other way around. What do you think?21:55
apuimedommm21:56
apuimedomaysamacedos: you mean that the manager should hold references to the watcher/pipeline/retry instead?21:58
maysamacedosyep21:58
apuimedoas a model it does sound better21:58
apuimedothe challenge is though, how does the manager use the reference to get the health?21:59
apuimedoIn time A a handler has an exception21:59
apuimedoin time A' the manager receives a GET for the /alive enpoint21:59
apuimedomaysamacedos: can you propose some interaction through the references?22:00
apuimedothat the manager would hold22:00
apuimedo?22:00
maysamacedosI thought about adding a reference in each instance of watcher/handler indicating whether its healthy or not22:01
maysamacedosthe manager will have a reference to this intances22:01
maysamacedosand then load when the probe calls22:02
maysamacedoseach time the probe calls*22:02
maysamacedosfor the time, I think it could be set in the probe a smaller interval of checks22:03
apuimedomaysamacedos: you mean that teh manager would be polling the instances?22:04
maysamacedosapuimedo: the only trick part would be for the pipeline/retry22:04
maysamacedosapuimedo: yes22:04
*** gianpietro has quit IRC22:04
maysamacedosit initiates with references to the instances that it should check22:05
maysamacedosand then check the existente reference of health in each instance22:06
apuimedoif we want to poll, what's the point of doing it with more frequency?22:06
apuimedoit should just be done when we receive the GET22:06
apuimedoshouldn't it?22:06
maysamacedosyes22:07
maysamacedosI though it would be good to recover faster, but It might not makee a big difference22:07
*** gianpietro has joined #openstack-kuryr22:07
apuimedothe difference would hardly justify having a thread polling22:08
apuimedo:-)22:08
maysamacedosapuimedo: I will verify if this approach (of adding references to the manager) works as expected22:12
apuimedomaysamacedos: you're going to store the failures in the instances or figure out a way to see if the instances are in order in some other way?22:13
maysamacedosstore the failure in the instances22:13
apuimedomaysamacedos: I wonder if then it makes sense to make the new version depend on the retry patch that you pointed out to me the other day22:15
apuimedo(with limited retries)22:15
maysamacedosapuimedo: Yes, I think it does22:16
maysamacedossince the failure will be only registered when the amount of retries exceeds22:17
maysamacedosregistered I mean by only a variable that points whether its unhealthy22:19
apuimedogood22:20
maysamacedosthis sounds better?22:20
apuimedomaysamacedos: remember to have it with a leading underscore '_'22:20
apuimedo:-)22:20
apuimedoI think it's worthy to have as a separate patch and let all the reviewers weigh in22:21
maysamacedosapuimedo: ok22:24
apuimedothanks maysamacedos :-)22:25
maysamacedosI will open another one when I have this implemented22:25
apuimedoperfect!22:25
maysamacedosapuimedo: thank you22:25
apuimedomaysamacedos: is there anything else I can help with?22:26
maysamacedosapuimedo: nop22:26
maysamacedosthanks again22:26
maysamacedoshave a great night22:26
apuimedoThanks!22:26
apuimedoYou too!22:26
*** gianpietro has quit IRC22:39
*** maysamacedos has quit IRC23:05
*** hongbin has quit IRC23:06
*** maysamacedos has joined #openstack-kuryr23:44
*** pmannidi has joined #openstack-kuryr23:52

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