Wednesday, 2019-03-06

*** EmilienM has joined #openstack-mistral00:41
EmilienMhello00:41
EmilienMapetrich, rakhmerov, d0ugal: can you folks take a look at https://bugs.launchpad.net/mistral/+bug/1818757 ?00:42
openstackLaunchpad bug 1818757 in tripleo "Mistral's eventlet monkeypatching breaks git-python" [Critical,Triaged]00:42
*** mmethot has joined #openstack-mistral01:15
rakhmerovEmilienM: ok04:29
*** gkadam has quit IRC06:13
*** akovi has joined #openstack-mistral06:48
*** quiquell|off is now known as quiquell06:53
*** pgaxatte has joined #openstack-mistral07:21
apetrichEmilienM, looking07:33
apetrichoh dear eventlet07:33
d0ugalThat will likely be hard to solve07:39
d0ugalso I guess we need a workaround07:40
d0ugalapetrich: How did that code ever work tho?07:40
apetrichd0ugal, I'm still trying to understand07:42
*** quiquell is now known as quiquell|brb07:50
apetrichd0ugal, where is that select.pool coming from?07:57
*** gkadam has joined #openstack-mistral08:14
apetrichd0ugal, in ipython that snipplet is even more annoying08:23
*** quiquell|brb is now known as quiquell08:28
d0ugalapetrich: It is a result of eventlet monkeypatching08:46
d0ugalessentially it seems the git library isn't compatable with the patch08:46
d0ugalSo either it never worked or git/ventlet updated?08:46
d0ugalapetrich: subprocess doesn't work with eventlet08:47
d0ugaland the git lib uses subprocess08:47
apetricheventlet == 0.19.0 works08:51
apetricheventlet 0.20.0 onwards breaks08:51
d0ugalInteresting08:52
d0ugalhttps://github.com/openstack/requirements/blob/master/global-requirements.txt#L58-L5908:52
d0ugal:-D08:52
d0ugal0.24.1 is the latest, damn we are far behind then08:52
apetrichfound this bug https://github.com/eventlet/eventlet/issues/290 that pointed to that version08:52
apetrichthat's a very healthy way of future proofing versions08:53
apetrichso what do we do? add 0.24 to the list?08:56
apetrichthat is a problem https://github.com/openstack/mistral/blob/master/requirements.txt#L1108:58
d0ugalapetrich: add 0.24 to the list of versions not allowed?09:05
d0ugalapetrich: sorry was just having some breakfast09:05
d0ugalapetrich: Remember for tripleo the rpm versions are what count anyway09:06
rakhmerovwoow..09:35
rakhmerovsorry, I missed some of this conversation09:36
rakhmerovso we had an old version of eventlet for a long time and now it is updated and causes issues?09:37
rakhmerovd0ugal, apetrich: ^09:37
apetrichrakhmerov, kind of09:37
rakhmerovmay be if it's only about certain versions we could really exclude them09:37
rakhmerovnot sure though if it's OK from TripleO perspective09:37
apetrichso in brief mistral is using in the requirements 0.209 which is old (uptodate is 0.24.1)09:38
rakhmerovyeah09:38
apetrichbut that causes problems with gitpython that uses subprocess comunicate09:38
rakhmerovhah...09:38
rakhmerovI definitely miss that requirements update bot..09:38
apetrichI got it to work with python 3.6.7 with eventlet 0.19.009:38
rakhmerovI see09:39
apetrichit seems that it is version specific. d0ugal tried with 3.7 and it works09:39
apetrichI saw a comment of something similar that it is not happening on mac. but that is a non issue to us09:39
rakhmerovso does it depend on version of Python also?09:39
rakhmerovdon't get it..09:39
rakhmerovI thought the issue was only in the new version of eventlet, no?09:40
apetricheventlet and python09:42
apetrichI'm still trying to understand what is happening09:43
rakhmerovok09:52
rakhmerovbtw, we need to make a release this week09:53
rakhmerovif we find a solution it'd be good to include it09:53
apetrichaye09:54
*** jlejeune_ has joined #openstack-mistral10:03
d0ugalrakhmerov: Yeah, it is a confusing issue. I'm not really sure I understand it or even understand where the fault it :)10:12
rakhmerovok10:13
d0ugalMeaning I don't know who to blame, but I can't think of any changes we can make it mistral10:13
rakhmerovyeah.. me neither10:14
d0ugalI would be tempted to mark it is invalid on mistral, because I don't think it is a mistral bug10:14
rakhmerovif it's so tricky the only thing that comes to mind is to make some workaround in tripleO (like pinning a version)10:15
rakhmerovyeah10:15
d0ugalYeah10:15
rakhmerovwe can't remove monkey patching obviously10:15
d0ugaland we can't change eventlet or gitpython :)10:15
rakhmerovyep10:16
rakhmerovright10:16
apetrichd0ugal, rakhmerov this works http://paste.openstack.org/show/747330/10:21
apetrichit is not a solution10:21
apetrichbut10:21
apetrichI don't know but10:21
d0ugalapetrich: it might be a solution :)10:21
rakhmerovcan it be made on the TripleO side?10:22
apetrichSure10:22
rakhmerovit'd be kind of weird to see this code in Mistral10:22
d0ugalAgreed, that code would go in tripleo-common10:22
apetrichhttp://git.openstack.org/cgit/openstack/tripleo-common/tree/tripleo_common/utils/config.py#n1510:23
apetrichdo we do a try catch?10:23
apetrichon that import?10:23
d0ugalapetrich: Any idea why that helps?10:23
d0ugalapetrich: The import doesn't fail10:23
apetrichyeah. true10:23
d0ugalI hate monkey patching so much :)10:24
apetrichI don't know why but the subprocess on __init__ from git is not quite working10:24
apetrichsubprocess patching10:24
rakhmerov:)10:24
apetrichit is not using green subprocess as it should due to the massive monkeypatch that we do on the executor10:25
apetrichno idea why though10:25
rakhmerov(smiling on Dougal's feelings about monkey patching)10:25
apetrichso say we all about monkey patching10:25
rakhmerovyeah10:25
rakhmerovit is what it is10:26
apetrichgoing to submit a patch and see how it goes10:26
apetrichd0ugal, ^^10:26
d0ugalSounds good10:26
d0ugalapetrich: any idea why we are not seeing this problem in CI? or is it not covered?10:26
d0ugalWe can probably move to #tripleo now I guess.10:26
apetrichsure10:30
*** smrcascao has quit IRC11:41
EmilienMapetrich d0ugal rakhmerov: thank you very much11:57
apetrichEmilienM, just pushed a patch up12:09
EmilienMapetrich: thanks a ton12:58
apetrichEmilienM, no worries :)12:58
*** pgaxatte has quit IRC13:05
*** pgaxatte has joined #openstack-mistral13:07
*** quiquell is now known as quiquell|lunch13:42
*** quiquell|lunch is now known as quiquell13:55
*** akovi has quit IRC14:07
*** gkadam_ has joined #openstack-mistral14:16
*** smrcascao has joined #openstack-mistral14:17
*** gkadam has quit IRC14:19
*** gkadam__ has joined #openstack-mistral15:00
*** pgaxatte has quit IRC15:02
*** gkadam_ has quit IRC15:03
*** pgaxatte has joined #openstack-mistral15:04
*** quiquell is now known as quiquell|off15:21
apetrichEmilienM, d0ugal still not solved. the error changed. just above this line http://logs.openstack.org/38/641338/2/check/tripleo-ci-centos-7-containers-multinode/63dc73f/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz#_2019-03-06_14_33_0815:29
apetrichgood news is that I can reproduce locally15:47
*** gkadam__ has quit IRC16:42
*** pgaxatte has quit IRC16:51
*** mmethot has quit IRC17:44
*** mmethot has joined #openstack-mistral17:45
*** jtomasek has quit IRC18:06
d0ugalapetrich: Let me know if I can help tomorrow19:46
apetrichd0ugal, I've just posted a change that works19:46
apetrichd0ugal, but it is pretty ugly. I want to see it go through CI and tomorrow we think about it19:47
*** irclogbot_1 has joined #openstack-mistral21:11
*** irclogbot_1 has quit IRC21:28
*** apetrich has quit IRC22:08
*** apetrich has joined #openstack-mistral22:11

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