Sunday, 2019-11-24

*** ociuhandu has joined #openstack-infra00:00
*** ociuhandu has quit IRC00:05
*** diablo_rojo has quit IRC00:41
*** diablo_rojo__ has joined #openstack-infra00:41
*** jamesmcarthur has joined #openstack-infra00:54
*** jamesmcarthur has quit IRC01:03
*** ociuhandu has joined #openstack-infra01:27
*** harlowja has quit IRC01:29
*** jamesmcarthur has joined #openstack-infra01:34
*** ociuhandu has quit IRC01:36
*** slaweq has joined #openstack-infra01:46
*** harlowja has joined #openstack-infra01:50
*** slaweq has quit IRC01:50
*** armax has quit IRC01:52
*** jamesmcarthur has quit IRC02:03
*** slaweq has joined #openstack-infra02:23
*** slaweq has quit IRC02:28
*** diablo_rojo__ has quit IRC02:30
*** ociuhandu has joined #openstack-infra02:33
*** ociuhandu has quit IRC02:38
*** diablo_rojo__ has joined #openstack-infra02:50
*** diablo_rojo__ has quit IRC03:17
*** armax has joined #openstack-infra03:17
*** armax has quit IRC03:32
*** armax has joined #openstack-infra03:33
*** armax has quit IRC03:35
*** ociuhandu has joined #openstack-infra03:50
*** ociuhandu has quit IRC03:55
*** harlowja has quit IRC04:10
*** harlowja has joined #openstack-infra04:11
*** ricolin has joined #openstack-infra04:20
*** harlowja has quit IRC04:25
*** ociuhandu has joined #openstack-infra04:29
*** ociuhandu has quit IRC04:33
*** ricolin has quit IRC04:36
*** smarcet has quit IRC04:51
*** rfolco has joined #openstack-infra05:11
*** rfolco has quit IRC05:16
*** harlowja has joined #openstack-infra06:25
*** ociuhandu has joined #openstack-infra07:02
*** ociuhandu has quit IRC07:06
*** ociuhandu has joined #openstack-infra07:31
*** ociuhandu has quit IRC07:37
*** ociuhandu has joined #openstack-infra08:00
*** ociuhandu has quit IRC08:05
*** corvus has quit IRC09:23
*** corvus has joined #openstack-infra09:24
*** ociuhandu has joined #openstack-infra09:42
*** slaweq has joined #openstack-infra09:46
*** ociuhandu has quit IRC09:48
*** jklare has quit IRC09:57
*** jklare has joined #openstack-infra09:59
*** ociuhandu has joined #openstack-infra10:42
*** slaweq has quit IRC10:43
*** ociuhandu has quit IRC10:49
*** ianychoi_ has joined #openstack-infra11:13
*** ianychoi has quit IRC11:15
*** kjackal has joined #openstack-infra11:49
*** slaweq has joined #openstack-infra11:58
*** tosky has joined #openstack-infra12:05
*** ociuhandu has joined #openstack-infra12:08
*** slaweq has quit IRC12:10
*** zigo has quit IRC12:10
*** zigo has joined #openstack-infra12:13
*** ociuhandu has quit IRC12:22
*** tosky has quit IRC12:25
*** tosky has joined #openstack-infra12:25
*** kjackal has quit IRC12:52
*** ociuhandu has joined #openstack-infra13:02
*** ociuhandu has quit IRC13:07
*** ociuhandu has joined #openstack-infra13:09
*** kjackal has joined #openstack-infra13:16
*** pkopec has joined #openstack-infra13:17
*** ociuhandu has quit IRC13:17
*** ociuhandu has joined #openstack-infra13:18
*** ociuhandu has quit IRC13:24
*** Lucas_Gray has joined #openstack-infra13:42
yoctozeptoinfra-root, several jobs (requirements-check, grenade, test-release-openstack) break on "distutils.errors.DistutilsError: the `allow-hosts` option is not supported when using pip to install requirements. " across all openstack projects, due to new setuptools release yesterday14:49
*** brwyatt has quit IRC14:49
yoctozeptolooks like config issue in infra, not able to reproduce locally on my centos 714:51
*** brwyatt has joined #openstack-infra14:52
yoctozeptoI reported upstream https://github.com/pypa/setuptools/issues/1916 (mostly about the message being misleading)14:53
fungiyoctozepto: interesting, we use that to mark the mirrors as allowed package sources14:59
yoctozeptofungi: thought so, though now it is gone and breaking15:00
fungiyoctozepto: specifically, we set it here: https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/configure-mirrors/templates/.pydistutils.cfg.j2#L415:03
mordredfungi, yoctozepto: the internet tells me that pip wants "trusted-host"15:03
yoctozeptofungi: ah, explains with codesearch with allow-hosts returned nothing, doh15:03
yoctozeptoexplains why*15:03
yoctozeptomordred, fungi: we need that line gone anyway, because it breaks raw setup.py as well15:04
fungiyoctozepto: also, setuptools *is* calling pip apparently, see the top entry in the changelog: https://github.com/pypa/setuptools/blob/master/CHANGES.rst15:04
yoctozeptofungi: ah, right15:05
yoctozeptoshould have read bolded releasenotes :D15:05
fungiwe need that entry for older setuptools, but when it's calling out to pip that gets handled for us here instead: https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/configure-mirrors/templates/etc/pip.conf.j2#L515:06
fungibackward-compatibility would be nice so we don't have to alter .pydistutils.cfg depending on what version of setuptools gets invoked (there may even be more than one on the same system thanks to virtualenvs)15:06
yoctozeptofungi: hmm, maybe join the discussion on upstream issue, might be they care to make it more backwards compatible and do a quick new release...15:08
fungiapparently firefox wants to restart on me, so may be a few minutes15:18
fungiokay, feature request for backward-compat added to the issue you reported, yoctozepto15:25
fungiyou might consider updating the issue title to be a little more accurate15:25
yoctozeptofungi: right15:26
yoctozeptofungi: did a few edits around15:30
yoctozeptoin the meantime - would it be possible to pin setuptools? otherwise we are waiting for a move from pypa team to unblock many pending changes...15:31
funginot sure... i want to say virtualenv/pip/something always grabs the latest setuptools version?15:35
fungiso it could be tricky15:35
fungiyoctozepto: can you provide a link to a breaking job? maybe we can figure out from that where/when setuptools gets upgraded to the new version15:36
mordredfungi: do we actually having code using setuptools old enough to need the backwards compat?15:36
fungii honestly have no clue15:37
yoctozeptofungi: seems not all jobs, py* jobs and lower-constraints pass fine15:37
yoctozeptogimme a sec15:37
mordredI *think* we pretty much use latest setuptools everywhere - for anything that uses pip to install15:37
mordredunless I'm wrong :)15:37
yoctozeptofungi: https://review.opendev.org/69464615:37
fungiyeah, that's why i want an actual example to start from15:38
yoctozeptohere is a pretty summary of fail/not fail15:38
yoctozeptoso it's either different config15:38
yoctozeptoor different setuptools :-)15:38
fungior not calling setuptools at all15:38
mordredwe've been trying to prevent things from using easy_install paths for years15:39
*** ccamacho has joined #openstack-infra15:41
yoctozeptofungi: oh, I'm pretty sure they are called15:43
yoctozeptoI would blame tox venvs having old (non-upgraded) setuptools15:43
corvusthere was some recursive case at some point (like pip install foo caused setuptools install bar as a dependency)15:43
yoctozeptomordred: still we have python setup.py around... ;-)15:43
corvusdon't know if that still applies15:43
mordredcorvus: yeah - there were some edge cases back in the day - but I think they've been sorted15:45
funginewer pip masquerades as easy_install so that things you install via pip don't actually recurse to it15:46
mordredyoctozepto: yeah - but I'm pretty sure it's using pip behind the scenes in all of the scenarios that mattter anymore15:46
fungibut i forget when they implemented that, been a few years i think15:46
yoctozeptomordred: if it's upgrade15:46
yoctozeptoupgraded*15:47
yoctozeptofungi, mordred, corvus: https://github.com/pypa/setuptools/issues/191615:47
yoctozeptoI think you guys are better-suited to replying to our break-creator :-)15:48
yoctozeptohttps://github.com/pypa/setuptools/commit/d6948c636f5e657ac56911b71b7a459d326d8389 ;-)15:48
*** Lucas_Gray has quit IRC15:49
yoctozeptofungi: "try to avoid calling into setuptools" how so? not install anything? :D15:54
*** ccamacho has quit IRC15:55
fungiyoctozepto: run wheel and pip directly for things15:58
yoctozeptofungi: well, pip breaks too, e.g. in grenade15:58
fungior use system packages maybe?15:59
fungiat any rate, yes probably not a great option15:59
fungimy point there was kinda that15:59
fungiwe have several not-great options to suggest to users as workarounds15:59
mordredwell - if our primary interface is pip (which it has been for *years*) and pydistutils.cfg is there only to catch the occasional accidental uses of easy_install ... and pydistutils.cfg is now breaking pip16:02
fungi(breaking pip indirectly by breaking setuptools)16:02
mordredI'd say we should stop configuring pydistutils.cfg - the only downside of which is making easy_install using codepaths less reliable16:02
fungibut yes16:02
mordredand if someone finds they are hitting that less reliable codepath, they can update their code to use pip directly and avoid easy_install which is what they should have been doing anyway16:03
fungiwell, less reliable or inefficient/nonfunctional in the case of anything relying on prebuilt wheels16:04
fungibut sure16:04
mordredyeah. but - yeah - maybe better to find what should be a vanishingly small number of cases where people are relying on something we don't value anyway16:04
fungiwe can declare a moratorium on supporting easy_install with our default configurations16:04
mordredyeah16:05
fungii support that16:05
yoctozepto+116:06
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Stop installing pydistutils.cfg  https://review.opendev.org/69582116:07
mordredwe can discuss on that ^^16:07
*** ccamacho has joined #openstack-infra16:07
*** kjackal has quit IRC16:08
mordredbut yeah - also - *many* jobs are broken16:09
mordredfungi: https://zuul.opendev.org/t/openstack/build/7794ca7653e24fa69b32b193ad1b07b716:09
mordredfungi: https://review.opendev.org/#/c/695795/16:09
yoctozeptomordred: yeah, that's why I alarmed you16:10
yoctozepto(you = infra)16:10
yoctozepto(to avoid CI Blue Monday)16:10
*** Lucas_Gray has joined #openstack-infra16:14
fungiyoctozepto: you could also depends-on that change i think to confirm whether that solves the problem16:17
yoctozeptofungi: all right16:17
yoctozeptohttps://review.opendev.org/#/c/694646/16:18
yoctozeptoshould be all green (ignoring randomness)16:19
*** ociuhandu has joined #openstack-infra16:19
yoctozeptofungi: still "sees" allow-hosts https://9b6a46031744f34b6eb1-08136eee394ca142f86118487824fe1a.ssl.cf1.rackcdn.com/694646/3/check/test-release-openstack/e9c7147/job-output.json16:22
fungiyoctozepto: mordred: i suspect that role was merely replacing the default copy installed by https://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/elements/pypi/pre-install.d/04-configure-pypi-mirror#L6716:24
mordredfungi: oh. yeah16:24
yoctozeptoempty it instead :D16:24
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Remove pydistutils.cfg if it's there  https://review.opendev.org/69582216:26
yoctozeptofungi: https://review.opendev.org/#/c/694646/16:28
openstackgerritMonty Taylor proposed openstack/diskimage-builder master: Stop installing pydistutils.cfg  https://review.opendev.org/69582316:28
mordredfungi, yoctozepto: there's a remove the file - and a dib cleanup16:28
yoctozeptofungi, mordred: aaand it still see allow-hosts https://76e83cb25f5bb60c76b4-73e606dbd0efde3a717e3340853334ea.ssl.cf5.rackcdn.com/694646/4/check/test-release-openstack/a68d709/job-output.json16:34
*** kjackal has joined #openstack-infra16:34
yoctozeptoby the logs16:35
yoctozeptoit looks like it still tries to template it16:35
yoctozeptoso depends-on did not act upon it16:36
*** kjackal has quit IRC16:36
fungiahh, yeah, it shows opendev.org/zuul/zuul-jobs/roles/configure-mirrors is still installing /home/zuul/.pydistutils.cfg16:40
yoctozeptofungi, mordred: more problematic16:40
yoctozeptois that dib jobs will not pass now16:41
yoctozeptobecause of allow-hosts16:41
yoctozeptoand opensuse15 breaks zuul fixes, oh well16:44
yoctozepto:D16:44
corvusit may run in a trusted playbook (i don't think we ever finished moving to pabelanger's base job scheme); if so, we'd need to land the change blind or do the base-test dance.16:45
yoctozepto^ and fix opensuse15 to get them merging16:48
*** ociuhandu has quit IRC16:48
*** ociuhandu has joined #openstack-infra16:49
*** ociuhandu has quit IRC16:54
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Stop installing pydistutils.cfg  https://review.opendev.org/69582117:04
mordredthere it is squashed, in case we want to force-land it17:04
yoctozeptomordred: unfortunately you might have to by the looks of it17:09
yoctozepto+1 from me though17:09
yoctozeptofungi, corvus: ^^17:12
*** ccamacho has quit IRC17:13
*** Lucas_Gray has quit IRC18:49
*** ociuhandu has joined #openstack-infra18:51
*** ociuhandu has quit IRC19:00
*** takamatsu has quit IRC19:10
*** takamatsu has joined #openstack-infra19:11
*** ociuhandu has joined #openstack-infra19:18
*** ociuhandu has quit IRC19:23
*** ociuhandu has joined #openstack-infra19:36
*** ociuhandu has quit IRC19:36
*** ociuhandu has joined #openstack-infra19:37
*** ociuhandu has quit IRC19:50
*** ociuhandu has joined #openstack-infra19:51
*** goldyfruit_ has quit IRC20:24
*** ociuhandu has quit IRC20:28
*** ociuhandu has joined #openstack-infra20:31
*** ociuhandu has quit IRC20:35
*** takamatsu has quit IRC20:42
*** takamatsu has joined #openstack-infra20:44
ianwhrm, i'll be fully online in ~ 1 hour and can take a look ...21:05
*** hamzy has joined #openstack-infra21:08
*** ociuhandu has joined #openstack-infra21:13
mordredianw: you're going to "enjoy" this one21:15
*** ociuhandu has quit IRC21:19
*** ociuhandu has joined #openstack-infra21:55
ianwok, i have no idea what's going on, but i'm here :)21:57
*** ociuhandu has quit IRC22:04
*** armax has joined #openstack-infra22:06
ianwok, removing the file seems like the way forwrad22:07
ianw2019-11-24 17:09:40.519649 | opensuse-15 | Repository 'repo-update' is invalid.22:07
ianw2019-11-24 17:09:40.519751 | opensuse-15 | [repo-update|http://mirror.ord.rax.opendev.org/opensuse/update/leap/15.1/oss/] Valid metadata not found at specified URL22:07
*** dchen has quit IRC22:09
ianwafaics, this is synced corrrectly22:10
ianw+ k5start -t -f /etc/opensuse.keytab service/opensuse-mirror -- timeout -k 2m 30m rsync -rlptDvz --delete --stats --delete-excluded --exclude=src/ --exclude=nosrc/ --exclude=.~tmp~ rsync://mirrors.rit.edu/opensuse/update/leap/15.1/ /afs/.o22:11
ianwpenstack.org/mirror/opensuse/update/leap/15.1/22:11
ianwTotal transferred file size: 0 bytes22:11
ianwi.e. the latest run had nothing to do22:11
ianwlast time it ran successfully was 2019-11-21T22:18:28, which leaves a large window of possible breaking updates22:13
ianwok, i also think  not much uses the dib codepath, so that's less urgent22:23
*** armax has quit IRC22:24
*** goldyfruit has joined #openstack-infra22:28
*** ociuhandu has joined #openstack-infra22:31
*** ociuhandu has quit IRC22:36
openstackgerritMerged zuul/zuul-jobs master: Stop installing pydistutils.cfg  https://review.opendev.org/69582122:37
ianw#status log force merged pydistutils.cfg removal patch https://review.opendev.org/695821 ; see notes in change about reasoning22:37
openstackstatusianw: finished logging22:37
*** adam_g has quit IRC22:39
*** adam_g has joined #openstack-infra22:40
fungithanks ianw! if you get a sec, assuming it seems to be working, could you send a quick couple sentences to the zuul-discuss ml letting folks know this changed since it's a behavior change to a role in the zuul-jobs repo and not just something opendev-specific?22:41
ianwfungi: yep, just looking at the opensuse job to get the gate back, then will do22:41
fungiawesome, if i weren't in the middle of beating a batch of fudge i'd send it22:42
*** jamesmcarthur has joined #openstack-infra22:47
*** rcernin has joined #openstack-infra22:57
ianw]$ grep 'zuul-jobs-test-install-kubernetes-docker' *22:57
ianwcontainer-roles-jobs.yaml:    name: zuul-jobs-test-install-kubernetes-docker22:57
ianwcontainer-roles-jobs.yaml:    name: zuul-jobs-test-install-kubernetes-docker22:57
ianwwe appear to define the same job twice ... let the yak shaving begin :)22:57
*** tkajinam has joined #openstack-infra23:03
*** pkopec has quit IRC23:10
*** dchen has joined #openstack-infra23:17
*** rosmaita has left #openstack-infra23:20
*** rfolco has joined #openstack-infra23:27
*** rfolco has quit IRC23:29
*** rfolco has joined #openstack-infra23:29
*** jamesmcarthur has quit IRC23:30
*** ociuhandu has joined #openstack-infra23:30
*** rfolco has quit IRC23:34
*** rfolco has joined #openstack-infra23:35
*** ociuhandu has quit IRC23:35
*** rfolco has quit IRC23:40
*** rfolco has joined #openstack-infra23:56

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