Thursday, 2025-07-24

opendevreviewJaromír Wysoglad proposed openstack/watcher master: [DNM] Add Aetos datasource  https://review.opendev.org/c/openstack/watcher/+/95560807:16
opendevreviewAlfredo Moralejo proposed openstack/watcher master: Add status_message fields to audit, action and actionplan  https://review.opendev.org/c/openstack/watcher/+/95474508:26
opendevreviewAlfredo Moralejo proposed openstack/watcher master: Skip actions automatically based on pre_condition results  https://review.opendev.org/c/openstack/watcher/+/95474608:26
opendevreviewAlfredo Moralejo proposed openstack/watcher master: Implement action skipping functionality via PATCH API  https://review.opendev.org/c/openstack/watcher/+/95575308:26
opendevreviewDavid proposed openstack/watcher-tempest-plugin master: Add custom flavor and dynamic threshold to workload_balance tests  https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/95385309:15
opendevreviewAlfredo Moralejo proposed openstack/watcher-tempest-plugin master: Add api test for skip action  https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/95577511:31
opendevreviewAlfredo Moralejo proposed openstack/watcher-tempest-plugin master: Add api test for skip action  https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/95577511:37
dviroelhi all, watcher meeting will start in 10m, please add your topics at meeting's etherpad  https://etherpad.opendev.org/p/openstack-watcher-irc-meeting#L4811:50
dviroel#startmeeting watcher12:00
opendevmeetMeeting started Thu Jul 24 12:00:12 2025 UTC and is due to finish in 60 minutes.  The chair is dviroel. Information about MeetBot at http://wiki.debian.org/MeetBot.12:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.12:00
opendevmeetThe meeting name has been set to 'watcher'12:00
dviroelhi all, who's around today?12:00
amoralej_o/12:00
dviroelcourtesy ping: sean-k-mooney chandankumar morenod rlandy12:01
dviroellet's start with today's meeting agenda12:02
rlandyo/12:02
dviroel#link https://etherpad.opendev.org/p/openstack-watcher-irc-meeting#L26 (Meeting agenda)12:02
dviroelfeel free to add your own topics to the agenda12:03
dviroelfirst one12:03
dviroel#topic Eventlet Removal12:03
chandankumaro/12:03
dviroelas usual, this topic is to cover the progress on eventlet removal patches12:04
dviroelthis week, there isn't too much updates12:04
dviroel#link https://etherpad.opendev.org/p/watcher-eventlet-removal (watcher evenlet removal etherpad)12:04
dviroelat the beginning of the etherpad there is a list of changes open for review12:05
dviroelone patch recently merged12:05
dviroelthe one that merge dec-engine services12:05
dviroel#link https://review.opendev.org/c/openstack/watcher/+/95249912:05
dviroelthe others are open for review12:05
sean-k-mooneyare you plannign to respine https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/95426412:06
dviroelsean-k-mooney: yeah, i was thinking yes, but didn't get into it yet12:06
dviroelor maybe provide a follow up to improve it12:06
sean-k-mooneyack i had a look at it and you seaid you would fix one of the commend in the next patchset 9 days ago12:07
sean-k-mooneyso i was partly waiting for you to do that12:07
*** amoralej_ is now known as amoralej12:07
dviroelack, I can work on it in until the end of the week12:08
dviroeli was busy with other patches, which i should also propose soon12:08
sean-k-mooneyack no worreis12:09
dviroelack, we can wait for a new ps on the plugin12:09
sean-k-mooneyi aslo kind of agree with alfredo about chaning how the test works12:09
dviroelyeah me too12:09
sean-k-mooneyi think it might be useful to have a dummy sleep stagey that we could use instead12:10
sean-k-mooneyi..e one that will generate sleep actions12:10
amoralejchandankumar is working in another tempest test for continuous12:10
sean-k-mooneynoop is also ok12:10
sean-k-mooneythere are pros and cons to both aproches12:10
amoralejthere is a dummy strategy which creates a testplan with two nop and one sleep12:11
sean-k-mooneyyes so i think the main continue audit test shoudl use that or somethign eimilar12:11
amoraleji proposed to use it in https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/95547212:11
sean-k-mooneynot the zone migration stragy12:11
sean-k-mooneyand i dont think we shoudl have a continues version of each stragey12:11
amoralejbut it's still good to have one as dviroel one to test stuff related to model, which has shown to be problematic12:12
dviroelyeah, unless there is a reason, we can use the dummy instead12:12
amoralejnop or sleep actions will not validate access to model12:12
sean-k-mooneyyes and no12:12
sean-k-mooneytest of the continue audit fucntionalty shoudl be isolated form testing the logic of the stragies12:12
sean-k-mooneythey should be tested independtly 12:13
sean-k-mooneymodel updates are independent of the functioning of the continous audit12:13
amoralejyes, i think that's good, that's why i proposed to use dummy for the a full continuous cycle audit12:13
sean-k-mooney+112:13
sean-k-mooneyjust as an aside.12:14
amoralejbut as dviroel found, continuous audits are sensitive to issues related to access to model12:14
sean-k-mooneyif you are adding coment for multipel steps in a test12:14
dviroelagree, the scenario that I am testing is a corner case with threading mode12:14
sean-k-mooneythat is generaly an indication that you are not propelry breaking up the test into the seprate parts or should at least condier pulling the part out into helper funcitons12:14
amoralejso there is space for both tests12:15
chandankumarI was also working on testing continous audit with cron format here https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/955472 got feedback from amoralej to use nop strategy . just wanted to highlight here to avoid duplicy12:15
sean-k-mooneythe corner case shoudl be tested in the unit/functional suite not in the integration tests in general12:15
dviroeli can check how it would be possible to do that12:16
chandankumarah amoralej already spoke about the same.12:16
sean-k-mooneychandankumar: yep we can loop back to the topic of cron format supprot12:16
amoralejit's interesting to test that kind of synchronization issues with unit tests ..12:17
sean-k-mooneyunit and functional test are best positoin to test that12:18
sean-k-mooneytempest is very bad at testing race condtions12:18
sean-k-mooneywe generally avoid that if possible12:18
sean-k-mooneybut i dont know the detail of the issue dviroel found with threading as there isnt a bug report for it that expains it properly.12:20
dviroelit is not really a race issue, but an initialization problem, of the continuous audit service, which only happens in threading mode12:20
sean-k-mooneywell you talks baout runnign the threads in diffent processes12:21
sean-k-mooneywhich woudl not change with or witherh trehadign12:21
sean-k-mooneyand 2 thread can share a single data stucrue in memory12:21
sean-k-mooneyso if they are indeepently creatign there own in memory model that is a bug even with eventlet12:22
sean-k-mooneya tempest test is not the correct way to prevent regressing that type of but a unit and preferably functional test is12:23
sean-k-mooneybut perhaps we shoudl move on12:23
sean-k-mooneywe can dicsuss that outside the meeting12:24
dviroelack, i can check how I can reproduce the issue with funcional tests perhaps12:24
dviroelyes, we can move on12:25
dviroelthanks for the discussions on that topic12:25
dviroelthat's what I have for the evenlet12:25
sean-k-mooneybefore we move on we shoudl try and create  a bug report for this12:25
sean-k-mooneyand likely we want to fix this indepenetly of the eventlet removal work12:26
sean-k-mooneyor at least in a way we woudl be comfortabel backporting12:26
sean-k-mooneyas it stand we would need to split https://review.opendev.org/c/openstack/watcher/+/952257/912:26
sean-k-mooney if we were to backport12:26
dviroelack, I can file a Bug and try to reproduce it in a evenlet env12:27
sean-k-mooneyyou should be able to use id()12:27
sean-k-mooneyor `is`12:27
sean-k-mooneyto assert the refence to the data model is the same in the backgroud schduler as it is in the main data model i think12:27
dviroelack12:28
dviroelwill give a try on that12:28
dviroeltks sean-k-mooney 12:28
dviroelmoving to the next topic then12:28
dviroel#topic Skip actions feature update https://blueprints.launchpad.net/watcher/+spec/add-skip-actions12:29
amoraleji added that one12:29
amoraleji've sent some patches and I'd like to share the progress and how I did the split of the feature12:30
dviroelso you have an spec update too12:30
amoralej#link https://review.opendev.org/c/openstack/watcher-specs/+/95471812:30
amoralejyes, that's just adding the same field status_message to the audit for convenience12:30
amoralejas it can be useful at some point, i think it'd be good to be covered by the same microversion12:30
dviroelack, as discussed previously here in the channel I think12:31
amoralejexacgtly12:31
amoralej#link https://review.opendev.org/c/openstack/watcher/+/95474512:31
sean-k-mooneyyes it was12:31
sean-k-mooneyi left a minor comment on the spec update but i htink it good in general12:31
amoralejthat's the first implementation one, it just adds the status_messages to the database, object, notification and adds api microverson12:32
sean-k-mooneyfirst feedback on that is your doing a lot in one patch12:32
amoraleji will fix that sean-k-mooney , thanks12:32
sean-k-mooneynoramly you woudl do the object change in one patch db in anothe rand the api change gos a the end of the serise wehn the entire feature is functional12:33
dviroel+112:33
amoralejso, that one should be three patches? 1st db, 2nd, object, 3rd api change?12:34
amoralejnote that's just status_message, nothing related to the SKIPPED yet12:35
sean-k-mooneyyes can you split this in 3 , db schema changes in first patch, object and notificaiton changes in secodn and api and apiref changes in the final pathc whihc shoudl go after the other 2 you have already proposed12:35
amoralejso, i could join both api changes (status_message and patch action) in the same patch and api microviersion ?12:36
sean-k-mooneyyes you can do that and proably should12:36
sean-k-mooneydo you have anything that is setting the status message to a value in the first patch12:36
amoralejnop, but in the second12:36
amoralejwhen doing automatic SKIPPED12:36
sean-k-mooneyright so we do not make the api changes before the code that uses the new fields12:37
amoraleji'm setting status_message12:37
sean-k-mooneythe api change alwasy comes at the end after the feature is fully working. 12:37
amoralejok, let's move on to the next patches, and at the end we can agree to the entire sequence of patches12:37
amoralej#link https://review.opendev.org/c/openstack/watcher/+/954746/12:38
amoralejthat's the automatic skipped based on pre_condition12:38
dviroelack, so this one is using the  fields from previous patch12:39
amoralejyes12:39
amoralejin this one, i'm extending the nop action to ease testing different situations https://review.opendev.org/c/openstack/watcher/+/954746/4/watcher/applier/actions/nop.py12:40
amoraleji hope i don't need an spec to modify the nop action :)12:40
sean-k-mooneywell technialy you do12:40
sean-k-mooneybeacuse your modifyint eh api schema for the parmaters12:41
amoralejyes, but it's just testing action ....12:41
sean-k-mooneyi think case i think we are likely ok with this as part of the larger work12:41
sean-k-mooneythere is no just12:41
sean-k-mooneyit follow the same rules as the rest 12:41
sean-k-mooneybut you r right that its not going to break real uscases12:41
sean-k-mooneyi think this is ok but can you split it into its own commit12:42
sean-k-mooneywe might want to backprot that for other testing usecases in the future12:42
amoralejthe problem is that, for that i need the new exception i'm creating12:42
sean-k-mooneyso having it as its own commit will make that simpeler12:42
amoralejso we have chicken-and-egg12:42
sean-k-mooneywell you dont you can extend it twice12:43
sean-k-mooneyonce to add the fail cases 12:43
amoralejok, i can create one commit for the nop action for "everything" but the skip part12:43
sean-k-mooneyand then again for the skip part12:43
amoralejok12:43
sean-k-mooneyexactly12:43
sean-k-mooneythat can go really early in the series for what its worth12:44
sean-k-mooneyalthough the order is up to you12:44
amoralejyep, actually, would not depend on anything else12:44
sean-k-mooneyright that was my thinking as well12:44
amoralej#link https://review.opendev.org/c/openstack/watcher/+/955753/12:44
amoralejthat's the new PATCH /actions/<id> part12:44
amoralejincludes its own microversion12:45
sean-k-mooneyya again i would split that in 2, one for the non api part first and hten combine the othe rapi change form before into the second patch and do all the api changes at once12:45
amoraleji think there is no non-api part12:46
amoralejlemme double check12:46
sean-k-mooneyyou hav changes to the applier12:46
sean-k-mooneybut your right its mostly api and docs12:46
dviroelonly applier piece yes12:47
amoralejit's very closely related to the api change12:47
amoralejactually, i'd may do that when adding the SKIPPED state12:47
amoralejit'd be more correct probably12:47
sean-k-mooneythat might be better its not actully related to the api changes it related to the object changes12:47
amoralejyes, i will do that, it makes sense12:48
sean-k-mooneyso this 3 patch serise will likely be 5-7 after the bits are split and re arranged12:48
amoralejsomethink to remark, i'm adding https://review.opendev.org/c/openstack/watcher/+/955753/1/watcher/api/controllers/v1/types.py12:48
sean-k-mooneyand the nop change can be merged indepentely of the rest12:48
amoraleja new way to validate patch calls based on allowed_attributes only12:48
amoralejin addition to internal_attributes12:49
amoraleji think that may be useful for others12:49
amoralejit's a more restrictive way12:49
sean-k-mooneyif you think it might be it should be its on patch12:49
sean-k-mooneybut alos we shoudl liekly discuss that seperatly12:49
sean-k-mooneythanks for highligting it however12:49
amoralejimplementing here adds a use case to discuss it, which is useful i think12:50
amoralejbut i can do depends on12:50
sean-k-mooneyi want to dicsson oru api implation a tthe ptg12:50
sean-k-mooney* cant type right now12:50
sean-k-mooneyim generallly nnot super happy with how we do api validation and the technologies/libs watcher is cureently useing12:51
sean-k-mooneybut i think any large refactorign of that shoudl be indepenent of your series12:51
amoralejso, should i avoid doing that?12:52
amoralejtbh, i felt it was an improvement but there may be a better way12:52
sean-k-mooneywas it discussed in the spec as part of the feature12:52
amoralejnop, but that's just an internal implementation detail, do not affect users12:53
sean-k-mooneywe can discuss it and perhaps still do it this cycle but its not part of the skipped feature12:53
sean-k-mooneyit changes api validation and there for could12:53
sean-k-mooneyso its boarderline12:53
amoralejnote i'm not applying to any other call12:53
amoralejdefault behavior is keeping the existing behavior12:53
sean-k-mooneyand it skips if its empty so its backward compatible12:53
amoralejexactly12:54
sean-k-mooneybut again it should be in a diffent commit12:54
amoralejok, i will12:54
sean-k-mooneyif we ever need that fuctionalty to fix a bug we woudl want to be able to cleanly backport it12:54
sean-k-mooneyinstead of extracting it form this change12:54
dviroelamoralej: any other patch that you want to highlight?12:55
amoralej1. nop action change 2. change in validation 3. db change 4. object + notification 5. adds SKIPPED state 6. api change with microversion12:55
amoralej#link https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/95577512:55
amoralejlast one, that's the tempest test12:56
amoralejah, i need to do the skip for previous versioins12:56
amoralejso, that's it12:57
dviroelaltight, thanks for all the proposed changes, I will take some time to review then after you submit again12:58
amoralejthanks for your feedback, it's very helpful12:58
dviroelwe have only 2 min left, so i will just skip the bug triage,  but there are 2 new bugs there, if you want to take a look12:59
dviroelchandankumar: i believe that you might want to discuss more about yours?12:59
dviroelwe are out of time, if needed, we can continue discussing afterwards in the channel12:59
dviroelthe other one is a doc bug only, with a patch proposed, we can chat about next week13:00
chandankumardviroel: we can revisit next time13:00
dviroel#topic Volunteers to chair next meeting13:00
chandankumardviroel: I will chair for next meeting13:00
dviroelsomeone wants to chair?13:00
dviroelthanks chandankumar 13:00
dviroellet's wrap up for today13:01
dviroelwe will meet again next week13:01
dviroelthank you all for participating13:01
dviroel#endmeeting13:01
opendevmeetMeeting ended Thu Jul 24 13:01:19 2025 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)13:01
opendevmeetMinutes:        https://meetings.opendev.org/meetings/watcher/2025/watcher.2025-07-24-12.00.html13:01
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/watcher/2025/watcher.2025-07-24-12.00.txt13:01
opendevmeetLog:            https://meetings.opendev.org/meetings/watcher/2025/watcher.2025-07-24-12.00.log.html13:01
rlandydviroel++ thanks13:01
chandankumardviroel: ++ thank you for running it13:01
amoralejthanks dviroel++ 13:01
chandankumarsean-k-mooney: I will discuss croniter review in next meeting. till then I will continue the discussion on review itself.13:01
sean-k-mooneyack13:02
chandankumarI created this bug https://bugs.launchpad.net/watcher/+bug/2118404 from croniter review to Drop python-dateutil dependency from watcher13:02
chandankumarI will propose the patch for the same soon, seems to be an easy one13:02
sean-k-mooneythe main point i wanted to clarify is we need ot review what was approved in the spec (shocker they did not defein what the ment by crontab) so we need to review the test and docs and release note to see if watcher ever supproted the extened syntax or only the 5 colume basic syntax13:03
sean-k-mooneycurrently watcher is using 4 diffent timezone libs directly or indrectly which is insange13:03
sean-k-mooneyi did not check the db schema but we shoudl be storign them as unix timestables or isoformated strings13:04
sean-k-mooneyso i think we can jsut use the built in datetime instead or oslo's time utils13:04
sean-k-mooneybtu i have not looked too closely13:04
sean-k-mooneyok ya we are suing the sqlalchemy DateTime filed for datatime columns13:05
sean-k-mooneyhttps://docs.sqlalchemy.org/en/20/core/type_basics.html#sqlalchemy.types.DateTime13:07
sean-k-mooneywhich per there docs are direclty compatible with python datatime module13:07
opendevreviewAlfredo Moralejo proposed openstack/watcher-specs master: Add status_message field to the Audits  https://review.opendev.org/c/openstack/watcher-specs/+/95471813:11
chandankumarsean-k-mooney: thank you for the pointer for releasenotes and db schema , let me check that also and add more datapoints there.13:40
dviroelhey sean-k-mooney, one question wrt https://github.com/openstack/watcher-specs/blob/master/specs/2025.2/approved/extend-compute-model-attributes.rst#rest-api-impact15:29
dviroelso you think that make sense to also include here the flavor extra_specs? 15:29
dviroelthis info is also available in  server list --long and also in newer versions of nova notification15:29
sean-k-mooneyyes i think including the extra specs is valueable15:42
opendevreviewchandan kumar proposed openstack/watcher master: [WIP] replace dateutils usage with datetime module  https://review.opendev.org/c/openstack/watcher/+/95580916:45
opendevreviewAlfredo Moralejo proposed openstack/watcher master: Add parameters to force failures in nop action  https://review.opendev.org/c/openstack/watcher/+/95581317:19
opendevreviewDouglas Viroel proposed openstack/watcher master: Add new tests to validate GET /infra-optim/v1/data_model  https://review.opendev.org/c/openstack/watcher/+/95582018:42
opendevreviewDouglas Viroel proposed openstack/watcher master: Fix api-ref doc for GET /infra-optim/v1/data_model  https://review.opendev.org/c/openstack/watcher/+/95571120:01
opendevreviewDouglas Viroel proposed openstack/watcher master: Add new tests to validate GET /infra-optim/v1/data_model  https://review.opendev.org/c/openstack/watcher/+/95582020:01
opendevreviewDouglas Viroel proposed openstack/watcher master: WIP - Extend compute model attributes  https://review.opendev.org/c/openstack/watcher/+/95582720:01

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