Thursday, 2026-11-26

opendevreviewAlfredo Moralejo proposed openstack/watcher master: Add Cinder emulator and zone_migration functional tests  https://review.opendev.org/c/openstack/watcher/+/99363412:15
jgilaber#startmeeting watcher13:00
opendevmeetMeeting started Thu Nov 26 13:00:42 2026 UTC and is due to finish in 60 minutes.  The chair is jgilaber. Information about MeetBot at http://wiki.debian.org/MeetBot.13:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.13:00
opendevmeetThe meeting name has been set to 'watcher'13:00
jgilaberHi! Who is around today?13:00
morenodo/13:00
amoralej__o/13:00
jgilabercourtesy ping: dviroel jgilaber sean-k-mooney chandankumar13:01
dviroelo/13:01
jgilaberAs always feel free to add topics to the agenda https://etherpad.opendev.org/p/openstack-watcher-irc-meeting#L2813:01
opendevreviewDouglas Viroel proposed openstack/watcher-specs master: Add zone migration improvements spec  https://review.opendev.org/c/openstack/watcher-specs/+/101636013:02
opendevreviewchandan kumar proposed openstack/watcher-dashboard master: Honor retain-on-failure for Playwright video and trace  https://review.opendev.org/c/openstack/watcher-dashboard/+/101756313:03
opendevreviewchandan kumar proposed openstack/watcher-dashboard master: [DNM] testing retain on failure fix  https://review.opendev.org/c/openstack/watcher-dashboard/+/101756413:03
chandankumaro/13:03
jgilaberok, let's get started with the first topic13:03
jgilaber#topic Deprecations announced13:03
jgilaber#link https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/NNH473GGLUZVFK5M4EKOWH7JH4AN7CVT/13:04
jgilaberlast week I sent the email announcing our intention to deprecate strategies and the ironic integration13:04
opendevreviewDouglas Viroel proposed openstack/watcher-specs master: Add spec for availability zone drain  https://review.opendev.org/c/openstack/watcher-specs/+/100785313:04
jgilaberdo we want to start merging those patches or wait for example until next week to see if there is any feedback?13:04
amoralej__we can wait until next week13:05
amoralej__as that doesn't impact anything else, right?13:05
jgilaberyes, we could wait, no issue13:06
dviroelyeah, we can wait another week I  think13:06
dviroelbut i guess that we won't see anyone in the list 13:07
jgilaber#agreed will revisit the deprecation patches next week13:07
dviroel+113:07
jgilaberthanks I think that is all for this topic unless someone has any other comment13:07
jgilaberthere is not other topic in the agenda, so last chance, any last minute topic before moving to reviews?13:08
dviroelhum13:08
dviroelwe can chat about end of the year meetings13:08
dviroelthat should be quick13:08
jgilaberyes13:08
jgilaber#topic EOY meetings13:08
dviroeli was about to propose cancelling both 24/12 and 31/12 meetings13:09
dviroelso our last meeting will be on the 17th13:09
jgilaber+1 on that and maybe even the 17th13:09
dviroeli will be around in the dec 17th13:09
jgilaberalthough I'll be around so if there is other people around we can always make it quick13:10
amoralej__+113:10
chandankumar+1 to cancel13:10
amoralej__I will also be on 17th13:10
jgilaber#agreed cancel meetings on Dec 24th and 31st13:10
dviroelso we can cancel only the 24th and 31th for now13:10
dviroelack13:10
jgilaberI'll send an email after the meeting13:10
dviroelthanks jgilaber 13:10
jgilaberthanks for raising that dviroel 13:11
jgilaberanything else before moving to reviews?13:11
jgilaber#topic Reviews13:12
jgilaber#link https://review.opendev.org/c/openstack/watcher/+/101652413:12
jgilaberthis a fix for a bug we briefly discussed last week, I think sean-k-mooney brought it up13:12
jgilaberin short Watcher only listens to 'infra-optim' in the microversion header, not the official 'resource-optimization' type13:13
dviroeloh nice13:14
jgilaberit's a quite simple fix and I've tested in my sdk chain 13:14
dviroelnice that you have a fix already :) 13:14
jgilaber#link https://review.opendev.org/c/openstack/watcher/+/101721913:14
jgilaberso not urgent, but please add to your review lists13:14
jgilaberany questions on this? I'll bring it back up later in bug triage13:15
amoralej__seems clean fix13:15
amoralej__i meant the service-type one :) 13:15
dviroelyeah, I will need to review it, but an important fix for sure13:15
amoralej__wrt sdk connections one, i started checking at it and i have one doubt13:15
jgilaber#link https://review.opendev.org/c/openstack/watcher/+/101721913:15
amoralej__so, with that patch, we are closing the connection on each nova/cinder api call?13:16
jgilabermy understanding is that we can reuse the same sdk Connection object, but the context manager creates a new connection everytime13:17
amoralej__my doubt is if that means that on each call we need to create the underlying tcp connection13:17
amoralej__including ssl validation, etc...13:17
jgilaberI think so yes13:17
jgilaberI assume cleaning those is what avoids or helps with the memory leaks we've been observing13:18
jgilaberbut I don't know the internals too well to say13:18
amoralej__that may be expensive in terms of perf too13:18
jgilabersean-k-mooney and stephenfin suggested the idea for the patch13:19
amoralej__i was wondering if there is a way to close connections on a wider scope, i.e. on each collection run13:19
amoralej__action execution13:19
amoralej__etc...13:19
amoralej__i think the idea of explicitely closing connection is good and using context manager is convenient way of doing it13:20
amoralej__but i'm not sure what the cost is13:20
stephenfinIf you pass a pre-existing session, it won't touch it. However, you are then on the hook for managing the lifecycle of that connection yourself13:20
amoralej__stephenfin, ok, so if we pass a session when openning the connection, closing the connection won't close the session, right?13:21
stephenfinif you don't, the creation chain is Connection -> CloudRegion -> ksa Session -> requests Session -> <whatever pools requests is using under the hood>13:21
stephenfinamoralej__: that's the intention, yes13:21
stephenfinI would double check that though. It was one of the things we were discussing on dviroel's (??) SDK patch13:22
amoralej__and iirc when we close the connection, but we reuse the Connection object, it opens a new connection13:22
amoralej__session13:22
amoralej__got it13:23
jgilaberfor reference here is how we create the Connection object in Watcher https://github.com/openstack/watcher/blob/master/watcher/common/clients.py#L4213:23
stephenfinyes, it you do e.g. `list(conn.compute.servers()); conn.closer(); list(conn.compute.servers())` then it'll silently reopen the session for you13:24
stephenfinthat's a requests thing13:24
amoralej__ok, understood13:25
jgilaberthanks stephenfin for the info13:26
jgilaberI think we can continue discussing in the review13:26
jgilaberlast items in reviews is13:27
jgilaber#link https://review.opendev.org/c/openstack/watcher-specs/+/1007853/9..10/specs/2027.1/approved/zone-migration-az-drain.rst13:27
jgilaberfrom dviroel 13:27
dviroeloh  right, i just updated this spec13:27
dviroelI removed the content that was moved to zone-migration improvement specs13:27
dviroelI also removed the az pinning handling from watcher 13:27
dviroelbased on current discussions on Nova side, it will be the nova service that will update the pin after migrate a server to a different az13:28
dviroelthat reduced a lot from az drain spec13:28
dviroeli pasted the link from the diff13:28
amoralej__so we will work on the assumption that the behavior will be inherited from nova which will be similar to the "relocate" we discussed?13:29
dviroelyes the relocate/auto13:29
dviroelwith that, we don't add the addittional options that would allow users to change the destination pin 13:29
dviroelwhich was an extra added to the spec13:30
dviroelwe may propose something like that in the future13:30
dviroelwith that, we also don't need to mix the pin/unpin api with the migrate action for now13:30
dviroeland all the past discussion around using the same action vs a new pin action13:31
amoralej__wfm13:31
dviroelwe can delay that too13:31
dviroelso please take a look in the spec  again13:31
dviroelwhen time permits13:32
jgilabersounds good, thanks dviroel 13:32
dviroelin the same line13:32
dviroeli just added another link13:32
dviroel#link https://review.opendev.org/q/topic:%22bp/zone-migration-improvements%2213:32
dviroelthis will be the topic for the zone-migration improvements patches13:32
dviroeli already proposed the unlimited configuration for parallel_* parameters13:35
dviroeli also sent the disable_compute_services patch for the compute_nodes (only between hosts)13:35
dviroelthis ^ one i forgot to update the docs and release notes, I will update the patch again13:35
dviroelthere is also a tempest patch that start to validate these new parameters13:35
dviroel#link https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/101704913:35
dviroelit is very likely that I reuse the tempest config option for the following patches...13:35
dviroelsince there is no API microversion change 13:35
amoralej__wrt tempest tests, may we use a single config for al the improvements?13:35
dviroelyes13:35
amoralej__sorry, i didn't read 13:35
amoralej__:)13:35
dviroeli will probably rename it to zone-migration-improvements13:36
dviroela generic one13:36
amoralej__at some point we may be able to skip tests based on strategy version ...13:36
amoralej__automatically, i mean13:36
dviroelyeah, I think that would be possible, to get the info via strategy api13:37
amoralej__yep13:37
dviroel+1, wouls avoid too many config options flying around13:37
amoralej__we can discuss it when we have the option :) 13:37
dviroelyep13:37
jgilaberyes, that would be great13:37
amoralej__yes, that's my concern too13:37
amoralej__reduce config options13:38
jgilaberany other patches to highlight for review before moving to bug triage?13:38
amoralej__there are a couple of backports13:39
amoralej__https://review.opendev.org/q/project:openstack/watcher+branch:stable/2026.213:39
amoralej__if you have a while13:40
dviroelthere are 2, i think that we can merge those13:40
amoralej__and https://review.opendev.org/q/project:openstack/watcher+branch:stable/2026.1+status:open13:40
jgilaberI see they are only backported up to 2026.2 and 2026.1 respectively, any reason for that? (I haven't look at them yet)13:40
amoralej__yep, if we can avoid getting a pile of the at the end :) 13:41
amoralej__i will send https://review.opendev.org/c/openstack/watcher/+/1016681?usp=search to 2026.1 too13:42
dviroelack13:42
jgilaberI was wondering if there is any reason we don't want to backport them to 2025.2?13:43
amoralej__sometimes i wait for one branch to be merged before sending previous ones13:43
amoralej__to avoid regressions13:43
amoralej__but yeah, i'm not consistent at it, tbh13:43
jgilaberack, that was what I was going to ask next :)13:43
jgilaberthat's valid13:43
dviroelwe should, if ci is health, it should be cheap to get those in13:44
jgilaberbut yes, thanks for bringing it up, it would be good to avoid big backlogs13:44
dviroel+!13:44
dviroel+113:44
jgilaberlast call for reviews? otherwise we move to bugs13:44
jgilaber#topic Bugs13:45
jgilaberwe have a few, but I think we can be quick today, not all are new13:45
jgilaber#link https://bugs.launchpad.net/watcher/+bug/217307813:45
jgilaberI think we already discussed this one, but we were not sure if we should consider a Watcher bug13:46
amoralej__the sdk patch is kind of related to this13:47
jgilaberyes, it is, so I guess we can keep it as medium?13:47
amoralej__i mean https://review.opendev.org/c/openstack/watcher/+/101721913:47
morenodyep13:47
jgilaberwdyt13:47
morenodwe can associate it to your patch jgilaber 13:48
amoralej__yes, tbh, the openstacksdk fixes by themselves fix a good part of it13:48
amoralej__but your patch also improves it, i think13:48
jgilaberok, let's keep it and I'll update the patch to point to it13:49
amoralej__without openstacksdk patches, i'd say high, but from pure watcher side, medium can be good13:49
jgilabersounds good, I've assigned it to myself also13:49
jgilaberwe can move to the next 13:50
jgilaber#link https://bugs.launchpad.net/watcher/+bug/217505313:50
amoralej__i will abandon https://review.opendev.org/c/openstack/watcher/+/101445913:50
jgilaberthis is the bug I mentioned at the beginning about the microversion header13:50
jgilaberI would consider this high 13:50
dviroelhigh +113:51
dviroelas we need to fix asap13:51
amoralej__ok13:51
dviroelthre is the workaround of using infra-optim :) 13:52
dviroelbut still13:52
jgilaberok, done13:52
jgilaberlast one for today13:52
jgilaber#link https://bugs.launchpad.net/watcher/+bug/217244913:52
amoralej__we already discussed that but i started checking at it13:52
amoralej__and have some questions13:53
amoralej__so, according to the code, my understanding of the expected behavior of the instance_metadata field in scope is that13:54
amoralej__depends on the config option check_optimize_metadata which is only in basic_consolidation strategy13:54
amoralej__currently doesn't work at all, but i'm not sure how to fix the current issue13:55
amoralej__i.e. if we pass scope as -scope '[{"compute": [{"exclude": [{"instance_metadata": [{"watcher_exclude_test": "true"}]}]}]}]' for other strategies13:56
amoralej__they should fail?13:56
amoralej__or just ignore that key?13:56
jgilaberdo we have any schema for the scope?13:57
amoralej__yes13:58
amoralej__https://github.com/openstack/watcher/blob/43abf9442acca30e663c6617c3200c5ad8cf064f/watcher/decision_engine/model/collector/nova.py#L4613:58
amoralej__https://github.com/openstack/watcher/blob/43abf9442acca30e663c6617c3200c5ad8cf064f/watcher/decision_engine/model/collector/nova.py#L10213:58
amoralej__but, if check_optimize_metadata is false (the default), it's ignored https://github.com/openstack/watcher/blob/43abf9442acca30e663c6617c3200c5ad8cf064f/watcher/decision_engine/scope/compute.py#L23513:59
jgilaberbut that check_optimize_metadata is not the strategy parameter right? they are just named the same13:59
amoralej__it's a mess14:00
amoralej__https://github.com/openstack/watcher/blob/43abf9442acca30e663c6617c3200c5ad8cf064f/watcher/decision_engine/strategy/strategies/base.py#L486-L50114:00
jgilaberto me this seems like the option was added in the wrong place14:00
jgilaberas a strategy parameter instead of a config option14:00
amoralej__that's another use of the same one14:01
amoralej__?14:01
amoralej__we are out of time, i'll check again, i had not seen that method in base strategy tbh14:02
amoralej__I'll bring the question back when i have something clear ...14:03
*** amoralej__ is now known as amoralek14:03
jgilaberI would need to check in more detail, but it looks like it was not properly implemented, thanks amoralek 14:03
*** amoralek is now known as amoralej14:03
jgilaberlet's wrap up14:03
jgilaber#topic Volunteer to chair next week14:03
jgilaberany volunteer?14:03
dviroelo/14:04
jgilaberthanks14:04
dviroelsorry, got distracted14:04
dviroeli will also check later the previous bug issue14:04
jgilabernp14:04
jgilaber#topic Open Discussions14:04
jgilaberany last minute topic before closing?14:04
jgilaberI'll take that as a no :)14:05
jgilaberthanks for joining o/14:05
jgilaber#endmeeting14:05
opendevmeetMeeting ended Thu Nov 26 14:05:26 2026 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)14:05
opendevmeetMinutes:        https://meetings.opendev.org/meetings/watcher/2026/watcher.2026-11-26-13.00.html14:05
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/watcher/2026/watcher.2026-11-26-13.00.txt14:05
opendevmeetLog:            https://meetings.opendev.org/meetings/watcher/2026/watcher.2026-11-26-13.00.log.html14:05
opendevreviewJoan Gilabert proposed openstack/watcher master: Use the SDK connection context manager in helpers  https://review.opendev.org/c/openstack/watcher/+/101721914:07
dviroelthanks jgilaber++14:07
amoralejjgilaber++ thanks!14:07
chandankumarsean-k-mooney: Hello, I have fixed the retain-on-failure issue in watcher-dashboard https://review.opendev.org/c/openstack/watcher-dashboard/+/1017563, Feel free to add it your review queue. https://review.opendev.org/c/openstack/watcher-dashboard/+/1017563/1#message-98c36fc986baf0f49b79336bdbc9d9c984cbb23a , thank you!14:07
sean-k-mooneychandankumar: thanks will do14:19
opendevreviewAlfredo Moralejo proposed openstack/watcher master: Add Cinder emulator and zone_migration functional tests  https://review.opendev.org/c/openstack/watcher/+/99363414:21
opendevreviewAlfredo Moralejo proposed openstack/watcher master: Add Cinder emulator and zone_migration functional tests  https://review.opendev.org/c/openstack/watcher/+/99363414:38
opendevreviewMerged openstack/watcher stable/2026.2: Only cancel non-terminal audits and action plans on sync  https://review.opendev.org/c/openstack/watcher/+/101668115:33
opendevreviewMerged openstack/watcher stable/2026.2: Fix duplicate workload stabilization migrations  https://review.opendev.org/c/openstack/watcher/+/101485915:58
opendevreviewAlfredo Moralejo proposed openstack/watcher stable/2026.1: Only cancel non-terminal audits and action plans on sync  https://review.opendev.org/c/openstack/watcher/+/101769217:32
opendevreviewDouglas Viroel proposed openstack/watcher master: Add disable_source_services option for zone_migration  https://review.opendev.org/c/openstack/watcher/+/101656918:28
opendevreviewDouglas Viroel proposed openstack/watcher master: Add disable_source_services option for zone_migration  https://review.opendev.org/c/openstack/watcher/+/101656918:44

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