Earlier  
Posted Nick Remark
#openstack-nova - 2021-09-16
17:49:03 sean-k-mooney so this is not deps related
17:49:09 sean-k-mooney ya
17:49:17 melwitt https://zuul.opendev.org/t/openstack/build/4290861d5a464d099ad38165c99b647d/log/job-output.txt#792
17:49:23 sean-k-mooney the deps are fine but its unhappy with setuptools
17:49:26 clarkb basically python software with modern pypa tools are expected to be python3 and not converted
17:50:01 sean-k-mooney clarkb: is there a compat flag we can enable
17:50:07 sean-k-mooney or jus tmove this to python 3
17:50:47 melwitt aside: the jump to link doesn't seem to be working for me lately when I link to a line number in a zuul output
17:51:08 sean-k-mooney ya that only worked for me if the file is small
17:51:12 sean-k-mooney it highlights it
17:51:21 sean-k-mooney but does not move to it if its not loaded quick enough
17:51:39 melwitt yeah. hrm. I wonder if something changed. the above ^ link doesn't jump me to the line and it loads really fast
17:52:27 clarkb sean-k-mooney: I think pypa isn't interested in having compat flags. Updating or replacing deps is probably necessary
17:52:56 sean-k-mooney melwitt: if i open it https://zuul.opendev.org/t/openstack/build/4290861d5a464d099ad38165c99b647d/log/job-output.txt#792 then change it to https://zuul.opendev.org/t/openstack/build/4290861d5a464d099ad38165c99b647d/log/job-output.txt#791
17:52:59 sean-k-mooney it works fine
17:53:51 sean-k-mooney clarkb: ya or droping lower constraints. i just checked and its on py3
17:54:04 sean-k-mooney we have https://github.com/openstack/nova/blob/stable/train/tox.ini#L10
17:54:20 sean-k-mooney and we do not override it for lower constraints
17:55:13 sean-k-mooney clarkb: the other option we have woudl be to downgrade setuptools
17:55:27 sean-k-mooney pin it in the tox env to one that works
17:55:48 sean-k-mooney perhaps usign requires https://tox.readthedocs.io/en/latest/config.html#conf-requires
17:56:25 sean-k-mooney that would be a stable only change i guess if we did that.
17:56:35 sean-k-mooney clarkb: do you know if this is affecting anyone else
17:57:00 sean-k-mooney i know a lot of project just deleted there old lower constriants jobs
17:58:52 clarkb the governance repo had problems with pydot2 which hasn't been maintained for years
17:59:21 clarkb I don't think we want ot downgrade setuptools if we can avoid it. We can't really control what version of setuptools others use effectively and wide compatibility is desireable
17:59:39 clarkb (note with the whole pyproject.toml stuff you do get a bit more control but openstack hasn'tdone any of that)
18:00:32 sean-k-mooney ya its more we have 3 options delete the job, update the dep or hack around to make it work
18:00:47 sean-k-mooney pinnign setup tools on an em branch is just that
18:00:48 clarkb can you bump the dep version up such that it works?
18:00:53 sean-k-mooney a hackaround to make it work
18:00:58 clarkb that is all lower constraints is supposed to track iirc. The oldest version that works
18:01:18 sean-k-mooney clarkb: well we are technialy not allow to bump min verison on stable right
18:01:28 sean-k-mooney but pratically speaking yes we could
18:01:36 sean-k-mooney and have to keeep it working already
18:02:19 clarkb ya for stable maybe removing the job entirely makes sense
18:02:52 fungi note the most recent setuptools release was a week ago, not sure if that lines up with when these failures started
18:03:22 fungi however tox updated today
18:03:32 fungi so it may have started vendoring a newer setuptools
18:03:47 fungi this is one of the reasons "pinning" setuptools is complicated
18:05:05 sean-k-mooney ya
18:05:13 sean-k-mooney looking at the releases https://pypi.org/project/decorator/#history
18:05:20 sean-k-mooney we are using 3.4.0 now
18:05:30 sean-k-mooney from october 2012
18:05:35 fungi we, actually it's virtualenv which vendors setuptools, and that was also released today
18:05:39 sean-k-mooney the next release 3.4.1 is 2015
18:06:16 fungi v20.8.0 (2021-09-16): upgrade embedded setuptools to 58.0.4 from 57.4.0 and pip to 21.2.4 from 21.2.3
18:06:45 fungi so my guess is this is setuptools 58.x.x behavior brought in by tox 20.8
18:07:30 fungi you could try manually downgrading setuptools<58 in the created env to find out, but i don't recommend that as a fix
18:09:14 sean-k-mooney ya im just trying to repodcue it localy now
18:09:22 fungi v58.0.0 Breaking Changes: Removed support for 2to3 during builds. Projects should port to a unified codebase or pin to an older version of Setuptools using PEP 518 build-requires.
18:09:31 sean-k-mooney GLOB sdist-make: /home/sean/repos/nova/setup.py
18:09:36 sean-k-mooney that new to me ^
18:09:54 sean-k-mooney i have not seen a GLOB sdist-make line before
18:10:06 sean-k-mooney The conflict is caused by:
18:10:07 sean-k-mooney jinja2 2.10 depends on MarkupSafe>=0.23
18:10:09 sean-k-mooney The user requested (constraint) markupsafe==1.0
18:10:16 sean-k-mooney so we have other conflict too aparently
18:10:22 fungi and earlier i said tox 20.8 but meant virtualenv 20.8
18:11:08 sean-k-mooney ImportError: cannot import name 'Feature' from 'setuptools'
18:11:15 fungi sean-k-mooney: yes, this is one of the reasons i contended calculating and maintaining a lower constraints list would be unworkable long term
18:12:36 sean-k-mooney the import error was from markupsafe with tox 3.20.1
18:12:48 sean-k-mooney althoguh ok i ghet the same on ewith latest tox
18:12:59 sean-k-mooney 3.24.4
18:13:24 fungi yeah, downgrading tox probably won't help. you more likely need to downgrade setuptools, maybe virtualenv, and possibly pip
18:13:44 clarkb and rebuild the venv
18:14:00 sean-k-mooney yeah am elodilles melwitt how would you feel about makeing it non voting of killing it on stable/train
18:14:23 sean-k-mooney clarkb: yep used -r to rebuild the venv
18:14:35 fungi right. the chain of problems is that these days tox *always* wants to use the latest available version of virtualenv, virtualenv regularly vendors in its own copy of latest setuptools, and setuptools occasionally drops features used by very old packages
18:14:46 sean-k-mooney i could try messing with the other packages but realisticlly we agree that pinning is not what we want to do
18:15:06 melwitt sean-k-mooney: this sounds like a case for removing the l-c job. also I saw this on stable/ussuri (I guess that means it's also happening on stable/train?)
18:15:32 sean-k-mooney oh i assume train train is broke with a diffent error
18:15:33 fungi almost certainly
18:15:37 sean-k-mooney but still broken
18:15:47 dansmith I'm just jumping in here, but yes, whatever $reason is a good case to drop the l-c job :P
18:15:53 fungi er, train almost certainly would suffer from this if it also has a l-c job i mean
18:16:48 sean-k-mooney fungi: https://github.com/openstack/nova/blob/stable/train/.zuul.yaml#L375
18:16:53 sean-k-mooney so yes
18:17:00 sean-k-mooney we still have the template
18:17:06 melwitt tomorrow we can ask elodilles what he thinks. I think he's likely done for today
18:17:17 sean-k-mooney we fixed it the last time https://github.com/openstack/nova/commit/b2037fc4e356b55949339a1358c16431a9ab8930
18:17:24 fungi right, i personally never had high hopes for the l-c experiment (mainly because of the forward flow of time and packages from a decade ago not being able to reasonably predict modern systems), but especially not for stable branches. i would cut my losses on l-c if it were me, but it's not my call
18:17:46 dansmith we had some resistance to removing it in glance,
18:18:03 dansmith but then we got to a point where we couldn't add a new dep version or pip would run off into lala land, which helped seal the deal :)
18:18:20 sean-k-mooney it would resolve the disccion im haveing with stephenfin too
18:18:39 sean-k-mooney where he wanted to have it pinend to the oldest python we support for a release
18:18:47 sean-k-mooney which i disagreed with
18:19:03 sean-k-mooney since that was not realistic to how distors worked
18:19:37 fungi well, basically if you head down that road, using old dependencies is not isolated to the python deps you have, those don't exist in a vaccuum and they make assumptions about contemporary systems as a whole
18:20:35 sean-k-mooney speaking of being done for today i likely should finish up soon
18:20:48 fungi i agree it's not a very good way to try to mimic what stable distros experience, because 1. they pin a lot more about the entire environment than we reasonably can, and 2. they backport fixes to things which wouldn't be reflected with this test methodology anyway
18:21:00 sean-k-mooney since this is now efffectily blocking the backport of a cve fix however i think we likely should move forward with droping it so we can do the release
18:21:37 fungi another alternative is early transition out of maintenance mode for stable/ussuri, but that seems like the most drastic choice
18:22:02 sean-k-mooney fungi: well it was more the version of the packate and the version of python are often uncoupled
18:22:16 fungi yes, that too
18:22:42 fungi anyway, lower constraints jobs are not mandated by the pti, so dropping them doesn't affect the maintenance state for the branch
18:22:54 fungi at least not in any official sense
19:08:02 opendevreview Dmitrii Shcherbakov proposed openstack/nova master: [PoC][yoga] Off-path Networking Backends Support https://review.opendev.org/c/openstack/nova/+/808199
19:48:16 gibi bauzas: I've update the nova rc1 patch with the prelude hash https://review.opendev.org/c/openstack/releases/+/808706 I think it is good to go now
20:34:52 admin1 hi @all .. how does a nova snapshot work when both glance and nova are backed by ceph ? does it still create a local disk on the hypervisor and uploads ?

Earlier   Later