Tuesday, 2025-04-29

opendevreviewJoan Gilabert proposed openstack/watcher master: Set number of decimal digits in efficacy indicator  https://review.opendev.org/c/openstack/watcher/+/94519910:41
sean-k-mooneyjgilaber: so to fix the installation issue we need to do this https://review.opendev.org/c/openstack/placement/+/919569 and then do this https://review.opendev.org/c/openstack/placement/+/93239912:31
sean-k-mooney+ adtapt devstack the devstack pluging to use the module path instead of a file path12:31
sean-k-mooneywhich looks like this https://review.opendev.org/c/openstack/devstack/+/919581/2/lib/placement12:32
sean-k-mooneybecause  fo how ci is curently broken we will need to merge teh devstack plugin change first. possible making it non voting before we can merge the watcher change12:33
sean-k-mooneybut ill see if i can do it without needing to disabel the jobs12:33
sean-k-mooneywe also likely need ot combine this with droping py39 supprot12:34
jgilaberin our case we don't have any dependency to the devstack repo right?12:34
jgilaberwe should be able to put all the fixes in one patch12:34
jgilaberit'll big, but it could unblock CI in one go12:35
sean-k-mooneywe need to update the devstack plugin but ya thats in tree12:39
sean-k-mooneyso we shoudl be able to do everythign in one patch12:39
sean-k-mooneywe may need to backport this too in which case we may need to drop part of it but we will see how stable looks12:40
sean-k-mooneyill file an upstream bug for this to track it in case we need to backport12:41
jgilabersounds good, thanks sean-k-mooney 12:46
sean-k-mooneythe only reason i know about this is i found this problem 18 months ago when trying to get devstack on centos to work in a venv. stephen and i have fixed this in a number of repos but not all of them12:48
sean-k-mooneylook like anyone who has not fixed it yet will have to do it now12:48
sean-k-mooneypip had a new release 3 days ago so my guess is now there is no choice but to implementit 12:49
sean-k-mooneywe have been relying on deprecated compatiablity code that was added in 2023 and was ment to be removed last year12:50
sean-k-mooneyso we cant really blame pip for this12:50
dviroelthanks sean-k-mooney and jgilaber 12:59
dviroelI will review once it is ready12:59
*** haleyb|out is now known as haleyb13:00
sean-k-mooneydviroel: this is why my ruff patch was failing ci for what its worth. i added a pyproject.toml but didnt do the wsgi module and devstack change13:00
sean-k-mooneyi just interestign timing that pip/requiremetn repo changes happend this week13:01
sean-k-mooneyi filed https://bugs.launchpad.net/watcher/+bug/2109608 to rack it13:02
sean-k-mooney*track13:02
dviroelyeah, at least, it didn't happen in feature freeze week ^^13:02
dviroelack13:02
sean-k-mooneyi was aware of this technial debt form teh review i did last cycle i just dint have it high on my list but ya FF week woudl have been stressful13:03
opendevreviewsean mooney proposed openstack/watcher master: Add support for pyproject.toml and wsgi module paths  https://review.opendev.org/c/openstack/watcher/+/94843813:53
opendevreviewsean mooney proposed openstack/watcher master: drop suse supprot in the devstack plugin  https://review.opendev.org/c/openstack/watcher/+/94843913:53
opendevreviewsean mooney proposed openstack/watcher master: drop jammy jobs  https://review.opendev.org/c/openstack/watcher/+/94844013:53
sean-k-mooneyso i have not had time to test those locally but  i belive the first patch will fix ci.13:53
sean-k-mooneyand the other two are just cleanup13:53
jgilabersean-k-mooney: thanks, I'll give it a try in my deployment14:00
dviroeli spot a small issue thre14:08
sean-k-mooneyyep14:39
sean-k-mooneyim trying to decied how deep down the rabit whole i want to go in one patch14:39
sean-k-mooneyi have undone some of the chagne i have made an put it back into the wsgi module 14:39
sean-k-mooneyinstead of __init__.py14:39
sean-k-mooneyi should rename the init funciton but i think ill do that in a followup14:40
sean-k-mooneyand i have some other funcitontionality to remove too 14:40
jgilabersean-k-mooney: I just tried applying the small issues that dviroel pointed out and it seems to work14:48
jgilaberuse the "api.initialize_wsgi_app" method seems fine, fyi14:49
sean-k-mooneyyep bu t i think some wsgi server expect the other name14:51
sean-k-mooneyim reverting to that initialize_wsgi_app for now14:52
sean-k-mooneyand ill look at changing it in a follow up if needed14:52
dviroelwe will need to move to another wsgi due to eventlet removal too :( 15:18
dviroelin a near future15:18
sean-k-mooneykind of15:20
sean-k-mooneywe just need to delete the console script15:20
sean-k-mooneybut we need to deprecate it15:20
sean-k-mooneyi dont think we are relying on the wsgi module form oslo service in teh wsgi appclation just in the watcher-api console script15:20
opendevreviewsean mooney proposed openstack/watcher master: Add support for pyproject.toml and wsgi module paths  https://review.opendev.org/c/openstack/watcher/+/94843815:27
opendevreviewsean mooney proposed openstack/watcher master: drop suse supprot in the devstack plugin  https://review.opendev.org/c/openstack/watcher/+/94843915:27
opendevreviewsean mooney proposed openstack/watcher master: drop jammy jobs  https://review.opendev.org/c/openstack/watcher/+/94844015:27
dviroelsean-k-mooney: https://opendev.org/openstack/watcher/src/commit/c4acce91d6bb87b4ab865bc8e4d442a148dba1d5/watcher/common/service.py#L83 ?15:27
sean-k-mooneyya that using the eventlet webserver 15:28
sean-k-mooneyto host the wsgi applcition15:28
sean-k-mooneybut the wsgi appcltion does not depend on eventlet or oslo service's wsgi moducle as far as im aware15:29
sean-k-mooneydviroel: we deelted nova's equivalte of this last week or the week before15:29
sean-k-mooneybut the thing we need to check in watcher is have we deprecated it yet15:30
sean-k-mooneyif we havng then in theroy we shoudl not delete it until 2026.215:30
sean-k-mooneydviroel: the actul freestandign wsgi aplication is here https://opendev.org/openstack/watcher/src/commit/c4acce91d6bb87b4ab865bc8e4d442a148dba1d5/watcher/api/wsgi.py15:31
dviroelyeah, the pecan app15:31
sean-k-mooneydviroel: where as that is sued form here https://opendev.org/openstack/watcher/src/commit/c4acce91d6bb87b4ab865bc8e4d442a148dba1d5/watcher/cmd/api.py#L3915:31
sean-k-mooneythe watcher-api console script that calles that cmd module's main https://opendev.org/openstack/watcher/src/commit/c4acce91d6bb87b4ab865bc8e4d442a148dba1d5/setup.cfg#L4215:32
sean-k-mooneywill just go away with no replacemnt15:32
sean-k-mooneyas will https://opendev.org/openstack/watcher/src/commit/c4acce91d6bb87b4ab865bc8e4d442a148dba1d5/setup.cfg#L49-L50 eventualy but that not related to eventlet removal15:32
sean-k-mooneywhat will remain is the actual wsgi appcltion15:33
dviroelyeah, correct15:33
sean-k-mooneyso unfortunetly it looks like watcher has not deprecated its  eventlet watcher-api console script yet15:35
sean-k-mooneyso we shoudl do that and then talk to the stable team about if we can/shoudl backprot that15:35
sean-k-mooneytechnicaly speakign however we are required to supprot tha tfor upgrades form 2025.1 to 2026.1 because we didnt deprecate it in 2025.115:36
sean-k-mooneydviroel: looks like i still have an erro in my updated patch but im going to deploy locally and test it in a clean devstack17:52
sean-k-mooneyi proably wont have a new version up today but we should be able to get this fixed tomorrow17:52
dviroelok, np, thanks sean-k-mooney 17:53
opendevreviewsean mooney proposed openstack/watcher master: Add support for pyproject.toml and wsgi module paths  https://review.opendev.org/c/openstack/watcher/+/94843819:04
opendevreviewsean mooney proposed openstack/watcher master: drop suse supprot in the devstack plugin  https://review.opendev.org/c/openstack/watcher/+/94843919:04
opendevreviewsean mooney proposed openstack/watcher master: drop jammy jobs  https://review.opendev.org/c/openstack/watcher/+/94844019:04
opendevreviewsean mooney proposed openstack/watcher master: Add support for pyproject.toml and wsgi module paths  https://review.opendev.org/c/openstack/watcher/+/94843820:16
opendevreviewsean mooney proposed openstack/watcher master: drop suse supprot in the devstack plugin  https://review.opendev.org/c/openstack/watcher/+/94843920:16
opendevreviewsean mooney proposed openstack/watcher master: drop jammy jobs  https://review.opendev.org/c/openstack/watcher/+/94844020:16

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!