Wednesday, 2019-12-04

openstackgerritMichael Johnson proposed openstack/diskimage-builder master: Set correct python version for non-chroot scripts  https://review.opendev.org/69721101:02
*** erolg has quit IRC03:40
*** dasp has quit IRC04:41
*** dasp has joined #openstack-dib04:41
openstackgerritMichael Johnson proposed openstack/diskimage-builder master: Set correct python version for non-chroot scripts  https://review.opendev.org/69721105:37
openstackgerritMerged openstack/diskimage-builder master: Allow zypper repos to be overrideable  https://review.opendev.org/69699006:14
*** yolanda has quit IRC08:18
*** lennyb has quit IRC08:24
*** irclogbot_2 has quit IRC08:24
*** benj_ has quit IRC08:24
*** ianw has quit IRC08:24
*** mroh has quit IRC08:24
*** mjturek has quit IRC08:24
*** strigazi has quit IRC08:24
*** dasp has quit IRC08:24
*** andrein has quit IRC08:24
*** adam_g has quit IRC08:24
*** owalsh has quit IRC08:24
*** TheJulia has quit IRC08:24
*** mnasiadka has quit IRC08:24
*** openstackgerrit has quit IRC08:24
*** logan- has quit IRC08:24
*** hwoarang has quit IRC08:24
*** falencastro has quit IRC08:24
*** Anticimex has quit IRC08:24
*** daniel2 has quit IRC08:24
*** fungi has quit IRC08:24
*** rajinir has quit IRC08:24
*** jangutter has quit IRC08:24
*** tonyb has quit IRC08:24
*** tobiash has quit IRC08:24
*** lchabert has quit IRC08:24
*** cgoncalves has quit IRC08:24
*** johnsom has quit IRC08:24
*** brault has quit IRC08:24
*** tflink has quit IRC08:24
*** prometheanfire has quit IRC08:24
*** mgagne has quit IRC08:24
*** arne_wiebalck has quit IRC08:24
*** rm_work has quit IRC08:24
*** ChanServ has quit IRC08:24
*** dasp has joined #openstack-dib08:24
*** jangutter has joined #openstack-dib08:24
*** brault has joined #openstack-dib08:24
*** andrein has joined #openstack-dib08:24
*** mnasiadka has joined #openstack-dib08:24
*** TheJulia has joined #openstack-dib08:24
*** owalsh has joined #openstack-dib08:24
*** adam_g has joined #openstack-dib08:24
*** logan- has joined #openstack-dib08:24
*** lennyb has joined #openstack-dib08:24
*** hwoarang has joined #openstack-dib08:24
*** tflink has joined #openstack-dib08:24
*** openstackgerrit has joined #openstack-dib08:24
*** tonyb has joined #openstack-dib08:24
*** falencastro has joined #openstack-dib08:24
*** irclogbot_2 has joined #openstack-dib08:24
*** tobiash has joined #openstack-dib08:24
*** benj_ has joined #openstack-dib08:24
*** daniel2 has joined #openstack-dib08:24
*** prometheanfire has joined #openstack-dib08:24
*** mgagne has joined #openstack-dib08:24
*** ianw has joined #openstack-dib08:24
*** Anticimex has joined #openstack-dib08:24
*** mroh has joined #openstack-dib08:24
*** fungi has joined #openstack-dib08:24
*** rajinir has joined #openstack-dib08:24
*** lchabert has joined #openstack-dib08:24
*** cgoncalves has joined #openstack-dib08:24
*** mjturek has joined #openstack-dib08:24
*** strigazi has joined #openstack-dib08:24
*** ChanServ has joined #openstack-dib08:24
*** arne_wiebalck has joined #openstack-dib08:24
*** rm_work has joined #openstack-dib08:24
*** johnsom has joined #openstack-dib08:24
*** orwell.freenode.net sets mode: +o ChanServ08:24
*** ivve has joined #openstack-dib08:36
*** yolanda has joined #openstack-dib08:58
*** dasp has quit IRC15:02
*** dasp has joined #openstack-dib15:03
*** yolanda__ has joined #openstack-dib15:15
*** yolanda__ has quit IRC15:18
*** ivve has quit IRC15:33
*** jangutter has quit IRC16:41
*** lennyb has quit IRC18:05
*** lennyb has joined #openstack-dib18:18
*** lennyb has quit IRC18:25
*** lennyb has joined #openstack-dib18:27
*** lennyb has quit IRC19:10
*** lennyb has joined #openstack-dib19:22
*** lennyb has quit IRC19:38
*** lennyb has joined #openstack-dib19:42
rm_workianw: wat: https://zuul.opendev.org/t/openstack/build/1d570321293b41879e00481d6270032b/log/logs/apt-sources_test-sources.FAIL.log#188919:49
rm_workdoesn't look related to the patch19:50
rm_workbut maybe I just don't understand the link19:50
rm_worksuppose i'll recheck19:50
ianwrm_work: that test is supposed to fail, and i think that the new code doesn't exit with the failure code... commenting20:04
rm_workahh20:06
rm_worklike, os.execve raises maybe if it gets a nonzero exit code?20:06
rm_workahh yeah20:07
rm_workit's a process replace with OSError raised on errors20:08
rm_workso we need to capture the return code from the subprocess call and raise based on that after we clean up20:08
ianwyeah, see my comments, i might prefer we keep the exec20:08
rm_workraise? or just exit with the proper return code?20:08
rm_workah20:08
rm_workhmm k20:08
ianwwe have had problems with hanging subprocesses in various ways before because of pipes/fd's and it's not something anyone wants to think about too much :)20:09
rm_worklol20:09
rm_workk20:09
ianwadding another possible point stdio/etc gets duped might be ... fun :)20:09
rm_workyeah i'm ok with that I guess? though it technically separates the cleanup from the function which is not ideal20:10
rm_workbut it's not a MAJOR leak even if cleanip fails20:10
rm_workdo you know where the fix needs to go?20:10
ianwummm, not off the top of my head, but we do have cleanup traps20:14
johnsomYeah, that was a "guess" at the right answer. I didn't want to leave the temp dirs laying around20:14
ianwit is janky, that's for sure.  we had some plans to move all of the driver into the python script (which is much easier to install with entry-points, etc)20:15
johnsomGood news it fixed the problem... lol20:15
johnsomianw So if I read that right, you are proposing to pass the tempdir path to the bash script and have it clean up?20:16
johnsomOr, yeah, just set an environ var with the path, but that seems questionable. "here delete this path for me..."20:17
ianwi would be happy with that, using say a _ private variable, just so we minimise changing the exec() portions for this.20:17
ianwor do it all in the script, or put a known prefix on the tempdir20:18
ianw... it just stuck me that some people might set noexec on their TMPDIR20:18
ianwdoes that count for a symlink to a non-tmp file?  i don't know20:20
ianwdoes it even work *now* with noexec on TMPDIR is another question i don't know the answer too20:20
johnsomI know the patch as posted fixed the svc-map extra-data problem, that is about it.20:21
openstackgerritMichael Johnson proposed openstack/diskimage-builder master: Set correct python version for non-chroot scripts  https://review.opendev.org/69721122:44
johnsomMoved it inside the bash and changed the temporary file location to be a temp dir under the home directory similar to the .cache directory22:45

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