Thursday, 2024-11-07

opendevreviewMartin Kopec proposed openstack/watcher-tempest-plugin master: Switch devstack nodeset to Ubuntu 24.04 (Noble)  https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/93429608:06
opendevreviewMartin Kopec proposed openstack/watcher-tempest-plugin master: Switch devstack nodeset to Ubuntu 24.04 (Noble)  https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/93429610:06
sean-k-mooneyim making some slow progress on the py39 unit test issue13:12
sean-k-mooneywatchers unit tests are not in a good state. they are invoking code that expects to be monkey patches but we dont monkey patch intentionaly13:13
sean-k-mooneyi say intentionally because the test that import form the watcher.cmd modual do end up monkey patching the executor13:13
mariosi need to look at the unit tests next :/ for the datasource client14:25
mariosfor memory my queries are looking like this: (just fyi if anyone is interested)14:26
marios>>> res=prometheus.query("(node_memory_MemTotal_bytes{instance='localhost:9100'} - avg_over_time(node_memory_MemAvailable_bytes{instance='localhost:9100'}[300s])) / 1024 / 1024")14:26
marios>>> res[0].value14:26
marios'7684.184765624999'14:26
mariosso, take total, subtract avg over the given time (300s) and it needs to be expressed in mb14:26
mariosand we can also do min and max 14:26
marios>>> res=prometheus.query("(node_memory_MemTotal_bytes{instance='localhost:9100'} - max_over_time(node_memory_MemAvailable_bytes{instance='localhost:9100'}[300s])) / 1024 / 1024")  # for MIN usage, take MAX available14:27
marios>>> res[0].value14:27
marios'7672.7109375'14:27
mariossimilar for the MAX usage with min_over_time for available 14:27
marioscomments welcome :) (i'll post a wip patch with these  tomorrow at some point as well)14:30
sean-k-mooneywatcher unfortineltly currently only has unit tests instead of unit and functional14:37
sean-k-mooneyso when it comes to testing you should be mockign out all calls ot promeitous and the observablity operator14:37
mariosyeah 14:45
kopecmartinhey .. i went through the open reviews and found a few that need only the final +w , if any core is around, please, have a look 16:28
kopecmartinhttps://review.opendev.org/c/openstack/watcher-specs/+/933299 16:28
kopecmartinhttps://review.opendev.org/c/openstack/watcher-specs/+/933300 16:28
kopecmartin^ they're related, the top level one was already +2 by chenker 16:29
kopecmartinthey just need to be workflowed :) 16:29
kopecmartinthen i found these, mainly housekeeping changes, please review when you have a moment:16:30
kopecmartinhttps://review.opendev.org/c/openstack/watcher/+/93226416:30
kopecmartinhttps://review.opendev.org/c/openstack/watcher/+/92728116:30
kopecmartinhttps://review.opendev.org/c/openstack/watcher/+/90780316:30
kopecmartinhttps://review.opendev.org/c/openstack/watcher/+/91853316:30
kopecmartinhttps://review.opendev.org/c/openstack/watcher/+/91136216:30
kopecmartinhttps://review.opendev.org/c/openstack/watcher/+/91137316:30
kopecmartinhttps://review.opendev.org/c/openstack/watcher/+/91136816:30
kopecmartinmaybe dansmith: gmann ^^ .. whenever you have time, no rush 16:31
sean-k-mooneyi wasnt quite sure about the reno updates16:39
sean-k-mooneyi was debating if we shoudl merge all of them or just have a single patch to get everythign up to date16:39
sean-k-mooneyreleasen notes and generated form master for the docs site16:40
sean-k-mooneyso we technally dont need to backport any of those patches 16:40
opendevreviewsean mooney proposed openstack/watcher master: [tox] update tox.ini to enable debugging  https://review.opendev.org/c/openstack/watcher/+/93435217:10
opendevreviewGhanshyam proposed openstack/watcher-tempest-plugin master: Remove stable/2023.1 job from master gate  https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/93426717:47
dansmithsean-k-mooney: yeah a single patch seems much better to me17:50
gmannkopecmartin: dansmith sean-k-mooney: I volunteer to be added in watcher core earlier to help dansmith fixes to land but as I do not contribute/maintain it (and new team is forming now) I would like not to be in core list. That is why I hesitant to +2/+w on wacther changes. 18:00
gmannI can help maintaining the watcher-tempest-plugin so being core there is ok and helpful.  18:00
gmannkopecmartin: as watcher-tempest-plugin share the core group, maybe we can separate both and you can add me in watcher-tempest-plugin only https://github.com/openstack/project-config/blob/master/gerrit/projects.yaml#L592318:02
sean-k-mooneyat some point i would like to be added to watcher core list but for now im ok to wait while i get to grips with the codebase and the bugs im finding related to eventlet. ill try and review what i can regardless18:03
sean-k-mooneymy knowladge of horizon an tempest is much less the service proejcts so while i can review patches to either plugin i do not have the intution regarding what is correct sytyle to build from18:05
gmannsean-k-mooney: but in that case I think dansmith will be only core there and change might have issue of landing? 18:05
dansmithchenker is still acore18:05
gmannthat is why I was waiting for myself to be removed from list in case we need help in landing some urgent things18:05
gmanndansmith: ohk then all good. I will remove myself.18:06
gmanndansmith: are you ok with creating the separate core for watcher-tempest-plugin?18:06
dansmithI agree we need more than just me and chenker for sure though, but I think chenker said he wanted to onboard some people, IIRC18:06
dansmithnot sure if and how that will happen18:07
dansmithgmann: sure, fine with me and makes sense to have you there for sure18:07
sean-k-mooneyso i can be added but i think we have other better prostion to review watcher-tempest-plugin who are more familar with tempest. my tempest experince is mainly from whitebox18:07
gmannsean-k-mooney: ack18:07
opendevreviewMerged openstack/watcher master: reno: Update master for unmaintained/wallaby  https://review.opendev.org/c/openstack/watcher/+/91136818:08
dansmithsean-k-mooney: I mean I think you know as much or more about the code as me at this point, but I think we should make sure chenker is on board, has a plan, etc18:09
gmann++ that will be better18:11
sean-k-mooneydansmith: yep i was going to reach out to them in a week or two and see if they were on board with that or not18:21
sean-k-mooneygmann: as an fyi im basically starting the py3.1/eventlet compat patch form scratch. I can rebase your ubuntu 24.04 patch once im happy it working as intended.18:24
sean-k-mooneygmann: watcher is mixing native threads, eventlet and in somecase asynio all at once. the behaivor on python 3.9 and 3.12 is differnt18:25
gmanndansmith: sean-k-mooney kopecmartin https://review.opendev.org/c/openstack/project-config/+/93435718:25
sean-k-mooneyso im preparing/using a rocky9 and ubuntu 24.04 env to test with the extrames of python supprot18:26
gmannsean-k-mooney: ack, feel free to update if anything needed on my  ubuntu 24.04 patch o18:26
opendevreviewBryan Fraschetti proposed openstack/watcher stable/2023.1: Fix watcher comment  https://review.opendev.org/c/openstack/watcher/+/93436719:18
opendevreviewBryan Fraschetti proposed openstack/watcher stable/2023.2: Do not merge: CI test  https://review.opendev.org/c/openstack/watcher/+/93437920:07
opendevreviewsean mooney proposed openstack/watcher master: [pre-commit] fix typos and configure codespell  https://review.opendev.org/c/openstack/watcher/+/93304421:57
opendevreviewsean mooney proposed openstack/watcher master: [tox] update tox.ini to enable debugging  https://review.opendev.org/c/openstack/watcher/+/93435221:57
opendevreviewsean mooney proposed openstack/watcher master: [eventlet] Ensure unit tests are monkey patched  https://review.opendev.org/c/openstack/watcher/+/93438521:57
opendevreviewsean mooney proposed openstack/watcher master: [pre-commit] Fix execute and shebang lines  https://review.opendev.org/c/openstack/watcher/+/93438621:57

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