| opendevreview | Alfredo Moralejo proposed openstack/watcher master: Add Cinder emulator and zone_migration functional tests https://review.opendev.org/c/openstack/watcher/+/993634 | 12:15 |
|---|---|---|
| jgilaber | #startmeeting watcher | 13:00 |
| opendevmeet | Meeting 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 |
| opendevmeet | Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. | 13:00 |
| opendevmeet | The meeting name has been set to 'watcher' | 13:00 |
| jgilaber | Hi! Who is around today? | 13:00 |
| morenod | o/ | 13:00 |
| amoralej__ | o/ | 13:00 |
| jgilaber | courtesy ping: dviroel jgilaber sean-k-mooney chandankumar | 13:01 |
| dviroel | o/ | 13:01 |
| jgilaber | As always feel free to add topics to the agenda https://etherpad.opendev.org/p/openstack-watcher-irc-meeting#L28 | 13:01 |
| opendevreview | Douglas Viroel proposed openstack/watcher-specs master: Add zone migration improvements spec https://review.opendev.org/c/openstack/watcher-specs/+/1016360 | 13:02 |
| opendevreview | chandan kumar proposed openstack/watcher-dashboard master: Honor retain-on-failure for Playwright video and trace https://review.opendev.org/c/openstack/watcher-dashboard/+/1017563 | 13:03 |
| opendevreview | chandan kumar proposed openstack/watcher-dashboard master: [DNM] testing retain on failure fix https://review.opendev.org/c/openstack/watcher-dashboard/+/1017564 | 13:03 |
| chandankumar | o/ | 13:03 |
| jgilaber | ok, let's get started with the first topic | 13:03 |
| jgilaber | #topic Deprecations announced | 13:03 |
| jgilaber | #link https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/NNH473GGLUZVFK5M4EKOWH7JH4AN7CVT/ | 13:04 |
| jgilaber | last week I sent the email announcing our intention to deprecate strategies and the ironic integration | 13:04 |
| opendevreview | Douglas Viroel proposed openstack/watcher-specs master: Add spec for availability zone drain https://review.opendev.org/c/openstack/watcher-specs/+/1007853 | 13:04 |
| jgilaber | do 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 week | 13:05 |
| amoralej__ | as that doesn't impact anything else, right? | 13:05 |
| jgilaber | yes, we could wait, no issue | 13:06 |
| dviroel | yeah, we can wait another week I think | 13:06 |
| dviroel | but i guess that we won't see anyone in the list | 13:07 |
| jgilaber | #agreed will revisit the deprecation patches next week | 13:07 |
| dviroel | +1 | 13:07 |
| jgilaber | thanks I think that is all for this topic unless someone has any other comment | 13:07 |
| jgilaber | there is not other topic in the agenda, so last chance, any last minute topic before moving to reviews? | 13:08 |
| dviroel | hum | 13:08 |
| dviroel | we can chat about end of the year meetings | 13:08 |
| dviroel | that should be quick | 13:08 |
| jgilaber | yes | 13:08 |
| jgilaber | #topic EOY meetings | 13:08 |
| dviroel | i was about to propose cancelling both 24/12 and 31/12 meetings | 13:09 |
| dviroel | so our last meeting will be on the 17th | 13:09 |
| jgilaber | +1 on that and maybe even the 17th | 13:09 |
| dviroel | i will be around in the dec 17th | 13:09 |
| jgilaber | although I'll be around so if there is other people around we can always make it quick | 13:10 |
| amoralej__ | +1 | 13:10 |
| chandankumar | +1 to cancel | 13:10 |
| amoralej__ | I will also be on 17th | 13:10 |
| jgilaber | #agreed cancel meetings on Dec 24th and 31st | 13:10 |
| dviroel | so we can cancel only the 24th and 31th for now | 13:10 |
| dviroel | ack | 13:10 |
| jgilaber | I'll send an email after the meeting | 13:10 |
| dviroel | thanks jgilaber | 13:10 |
| jgilaber | thanks for raising that dviroel | 13:11 |
| jgilaber | anything else before moving to reviews? | 13:11 |
| jgilaber | #topic Reviews | 13:12 |
| jgilaber | #link https://review.opendev.org/c/openstack/watcher/+/1016524 | 13:12 |
| jgilaber | this a fix for a bug we briefly discussed last week, I think sean-k-mooney brought it up | 13:12 |
| jgilaber | in short Watcher only listens to 'infra-optim' in the microversion header, not the official 'resource-optimization' type | 13:13 |
| dviroel | oh nice | 13:14 |
| jgilaber | it's a quite simple fix and I've tested in my sdk chain | 13:14 |
| dviroel | nice that you have a fix already :) | 13:14 |
| jgilaber | #link https://review.opendev.org/c/openstack/watcher/+/1017219 | 13:14 |
| jgilaber | so not urgent, but please add to your review lists | 13:14 |
| jgilaber | any questions on this? I'll bring it back up later in bug triage | 13:15 |
| amoralej__ | seems clean fix | 13:15 |
| amoralej__ | i meant the service-type one :) | 13:15 |
| dviroel | yeah, I will need to review it, but an important fix for sure | 13:15 |
| amoralej__ | wrt sdk connections one, i started checking at it and i have one doubt | 13:15 |
| jgilaber | #link https://review.opendev.org/c/openstack/watcher/+/1017219 | 13:15 |
| amoralej__ | so, with that patch, we are closing the connection on each nova/cinder api call? | 13:16 |
| jgilaber | my understanding is that we can reuse the same sdk Connection object, but the context manager creates a new connection everytime | 13:17 |
| amoralej__ | my doubt is if that means that on each call we need to create the underlying tcp connection | 13:17 |
| amoralej__ | including ssl validation, etc... | 13:17 |
| jgilaber | I think so yes | 13:17 |
| jgilaber | I assume cleaning those is what avoids or helps with the memory leaks we've been observing | 13:18 |
| jgilaber | but I don't know the internals too well to say | 13:18 |
| amoralej__ | that may be expensive in terms of perf too | 13:18 |
| jgilaber | sean-k-mooney and stephenfin suggested the idea for the patch | 13:19 |
| amoralej__ | i was wondering if there is a way to close connections on a wider scope, i.e. on each collection run | 13:19 |
| amoralej__ | action execution | 13: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 it | 13:20 |
| amoralej__ | but i'm not sure what the cost is | 13:20 |
| stephenfin | If 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 yourself | 13: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 |
| stephenfin | if you don't, the creation chain is Connection -> CloudRegion -> ksa Session -> requests Session -> <whatever pools requests is using under the hood> | 13:21 |
| stephenfin | amoralej__: that's the intention, yes | 13:21 |
| stephenfin | I would double check that though. It was one of the things we were discussing on dviroel's (??) SDK patch | 13:22 |
| amoralej__ | and iirc when we close the connection, but we reuse the Connection object, it opens a new connection | 13:22 |
| amoralej__ | session | 13:22 |
| amoralej__ | got it | 13:23 |
| jgilaber | for reference here is how we create the Connection object in Watcher https://github.com/openstack/watcher/blob/master/watcher/common/clients.py#L42 | 13:23 |
| stephenfin | yes, it you do e.g. `list(conn.compute.servers()); conn.closer(); list(conn.compute.servers())` then it'll silently reopen the session for you | 13:24 |
| stephenfin | that's a requests thing | 13:24 |
| amoralej__ | ok, understood | 13:25 |
| jgilaber | thanks stephenfin for the info | 13:26 |
| jgilaber | I think we can continue discussing in the review | 13:26 |
| jgilaber | last items in reviews is | 13:27 |
| jgilaber | #link https://review.opendev.org/c/openstack/watcher-specs/+/1007853/9..10/specs/2027.1/approved/zone-migration-az-drain.rst | 13:27 |
| jgilaber | from dviroel | 13:27 |
| dviroel | oh right, i just updated this spec | 13:27 |
| dviroel | I removed the content that was moved to zone-migration improvement specs | 13:27 |
| dviroel | I also removed the az pinning handling from watcher | 13:27 |
| dviroel | based on current discussions on Nova side, it will be the nova service that will update the pin after migrate a server to a different az | 13:28 |
| dviroel | that reduced a lot from az drain spec | 13:28 |
| dviroel | i pasted the link from the diff | 13: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 |
| dviroel | yes the relocate/auto | 13:29 |
| dviroel | with that, we don't add the addittional options that would allow users to change the destination pin | 13:29 |
| dviroel | which was an extra added to the spec | 13:30 |
| dviroel | we may propose something like that in the future | 13:30 |
| dviroel | with that, we also don't need to mix the pin/unpin api with the migrate action for now | 13:30 |
| dviroel | and all the past discussion around using the same action vs a new pin action | 13:31 |
| amoralej__ | wfm | 13:31 |
| dviroel | we can delay that too | 13:31 |
| dviroel | so please take a look in the spec again | 13:31 |
| dviroel | when time permits | 13:32 |
| jgilaber | sounds good, thanks dviroel | 13:32 |
| dviroel | in the same line | 13:32 |
| dviroel | i just added another link | 13:32 |
| dviroel | #link https://review.opendev.org/q/topic:%22bp/zone-migration-improvements%22 | 13:32 |
| dviroel | this will be the topic for the zone-migration improvements patches | 13:32 |
| dviroel | i already proposed the unlimited configuration for parallel_* parameters | 13:35 |
| dviroel | i also sent the disable_compute_services patch for the compute_nodes (only between hosts) | 13:35 |
| dviroel | this ^ one i forgot to update the docs and release notes, I will update the patch again | 13:35 |
| dviroel | there is also a tempest patch that start to validate these new parameters | 13:35 |
| dviroel | #link https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/1017049 | 13:35 |
| dviroel | it is very likely that I reuse the tempest config option for the following patches... | 13:35 |
| dviroel | since there is no API microversion change | 13:35 |
| amoralej__ | wrt tempest tests, may we use a single config for al the improvements? | 13:35 |
| dviroel | yes | 13:35 |
| amoralej__ | sorry, i didn't read | 13:35 |
| amoralej__ | :) | 13:35 |
| dviroel | i will probably rename it to zone-migration-improvements | 13:36 |
| dviroel | a generic one | 13:36 |
| amoralej__ | at some point we may be able to skip tests based on strategy version ... | 13:36 |
| amoralej__ | automatically, i mean | 13:36 |
| dviroel | yeah, I think that would be possible, to get the info via strategy api | 13:37 |
| amoralej__ | yep | 13:37 |
| dviroel | +1, wouls avoid too many config options flying around | 13:37 |
| amoralej__ | we can discuss it when we have the option :) | 13:37 |
| dviroel | yep | 13:37 |
| jgilaber | yes, that would be great | 13:37 |
| amoralej__ | yes, that's my concern too | 13:37 |
| amoralej__ | reduce config options | 13:38 |
| jgilaber | any other patches to highlight for review before moving to bug triage? | 13:38 |
| amoralej__ | there are a couple of backports | 13:39 |
| amoralej__ | https://review.opendev.org/q/project:openstack/watcher+branch:stable/2026.2 | 13:39 |
| amoralej__ | if you have a while | 13:40 |
| dviroel | there are 2, i think that we can merge those | 13:40 |
| amoralej__ | and https://review.opendev.org/q/project:openstack/watcher+branch:stable/2026.1+status:open | 13:40 |
| jgilaber | I 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 too | 13:42 |
| dviroel | ack | 13:42 |
| jgilaber | I 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 ones | 13:43 |
| amoralej__ | to avoid regressions | 13:43 |
| amoralej__ | but yeah, i'm not consistent at it, tbh | 13:43 |
| jgilaber | ack, that was what I was going to ask next :) | 13:43 |
| jgilaber | that's valid | 13:43 |
| dviroel | we should, if ci is health, it should be cheap to get those in | 13:44 |
| jgilaber | but yes, thanks for bringing it up, it would be good to avoid big backlogs | 13:44 |
| dviroel | +! | 13:44 |
| dviroel | +1 | 13:44 |
| jgilaber | last call for reviews? otherwise we move to bugs | 13:44 |
| jgilaber | #topic Bugs | 13:45 |
| jgilaber | we have a few, but I think we can be quick today, not all are new | 13:45 |
| jgilaber | #link https://bugs.launchpad.net/watcher/+bug/2173078 | 13:45 |
| jgilaber | I think we already discussed this one, but we were not sure if we should consider a Watcher bug | 13:46 |
| amoralej__ | the sdk patch is kind of related to this | 13:47 |
| jgilaber | yes, it is, so I guess we can keep it as medium? | 13:47 |
| amoralej__ | i mean https://review.opendev.org/c/openstack/watcher/+/1017219 | 13:47 |
| morenod | yep | 13:47 |
| jgilaber | wdyt | 13:47 |
| morenod | we can associate it to your patch jgilaber | 13:48 |
| amoralej__ | yes, tbh, the openstacksdk fixes by themselves fix a good part of it | 13:48 |
| amoralej__ | but your patch also improves it, i think | 13:48 |
| jgilaber | ok, let's keep it and I'll update the patch to point to it | 13:49 |
| amoralej__ | without openstacksdk patches, i'd say high, but from pure watcher side, medium can be good | 13:49 |
| jgilaber | sounds good, I've assigned it to myself also | 13:49 |
| jgilaber | we can move to the next | 13:50 |
| jgilaber | #link https://bugs.launchpad.net/watcher/+bug/2175053 | 13:50 |
| amoralej__ | i will abandon https://review.opendev.org/c/openstack/watcher/+/1014459 | 13:50 |
| jgilaber | this is the bug I mentioned at the beginning about the microversion header | 13:50 |
| jgilaber | I would consider this high | 13:50 |
| dviroel | high +1 | 13:51 |
| dviroel | as we need to fix asap | 13:51 |
| amoralej__ | ok | 13:51 |
| dviroel | thre is the workaround of using infra-optim :) | 13:52 |
| dviroel | but still | 13:52 |
| jgilaber | ok, done | 13:52 |
| jgilaber | last one for today | 13:52 |
| jgilaber | #link https://bugs.launchpad.net/watcher/+bug/2172449 | 13:52 |
| amoralej__ | we already discussed that but i started checking at it | 13:52 |
| amoralej__ | and have some questions | 13:53 |
| amoralej__ | so, according to the code, my understanding of the expected behavior of the instance_metadata field in scope is that | 13:54 |
| amoralej__ | depends on the config option check_optimize_metadata which is only in basic_consolidation strategy | 13:54 |
| amoralej__ | currently doesn't work at all, but i'm not sure how to fix the current issue | 13:55 |
| amoralej__ | i.e. if we pass scope as -scope '[{"compute": [{"exclude": [{"instance_metadata": [{"watcher_exclude_test": "true"}]}]}]}]' for other strategies | 13:56 |
| amoralej__ | they should fail? | 13:56 |
| amoralej__ | or just ignore that key? | 13:56 |
| jgilaber | do we have any schema for the scope? | 13:57 |
| amoralej__ | yes | 13:58 |
| amoralej__ | https://github.com/openstack/watcher/blob/43abf9442acca30e663c6617c3200c5ad8cf064f/watcher/decision_engine/model/collector/nova.py#L46 | 13:58 |
| amoralej__ | https://github.com/openstack/watcher/blob/43abf9442acca30e663c6617c3200c5ad8cf064f/watcher/decision_engine/model/collector/nova.py#L102 | 13: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#L235 | 13:59 |
| jgilaber | but that check_optimize_metadata is not the strategy parameter right? they are just named the same | 13:59 |
| amoralej__ | it's a mess | 14:00 |
| amoralej__ | https://github.com/openstack/watcher/blob/43abf9442acca30e663c6617c3200c5ad8cf064f/watcher/decision_engine/strategy/strategies/base.py#L486-L501 | 14:00 |
| jgilaber | to me this seems like the option was added in the wrong place | 14:00 |
| jgilaber | as a strategy parameter instead of a config option | 14:00 |
| amoralej__ | that's another use of the same one | 14:01 |
| amoralej__ | ? | 14:01 |
| amoralej__ | we are out of time, i'll check again, i had not seen that method in base strategy tbh | 14:02 |
| amoralej__ | I'll bring the question back when i have something clear ... | 14:03 |
| *** amoralej__ is now known as amoralek | 14:03 | |
| jgilaber | I 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 amoralej | 14:03 | |
| jgilaber | let's wrap up | 14:03 |
| jgilaber | #topic Volunteer to chair next week | 14:03 |
| jgilaber | any volunteer? | 14:03 |
| dviroel | o/ | 14:04 |
| jgilaber | thanks | 14:04 |
| dviroel | sorry, got distracted | 14:04 |
| dviroel | i will also check later the previous bug issue | 14:04 |
| jgilaber | np | 14:04 |
| jgilaber | #topic Open Discussions | 14:04 |
| jgilaber | any last minute topic before closing? | 14:04 |
| jgilaber | I'll take that as a no :) | 14:05 |
| jgilaber | thanks for joining o/ | 14:05 |
| jgilaber | #endmeeting | 14:05 |
| opendevmeet | Meeting ended Thu Nov 26 14:05:26 2026 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4) | 14:05 |
| opendevmeet | Minutes: https://meetings.opendev.org/meetings/watcher/2026/watcher.2026-11-26-13.00.html | 14:05 |
| opendevmeet | Minutes (text): https://meetings.opendev.org/meetings/watcher/2026/watcher.2026-11-26-13.00.txt | 14:05 |
| opendevmeet | Log: https://meetings.opendev.org/meetings/watcher/2026/watcher.2026-11-26-13.00.log.html | 14:05 |
| opendevreview | Joan Gilabert proposed openstack/watcher master: Use the SDK connection context manager in helpers https://review.opendev.org/c/openstack/watcher/+/1017219 | 14:07 |
| dviroel | thanks jgilaber++ | 14:07 |
| amoralej | jgilaber++ thanks! | 14:07 |
| chandankumar | sean-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-mooney | chandankumar: thanks will do | 14:19 |
| opendevreview | Alfredo Moralejo proposed openstack/watcher master: Add Cinder emulator and zone_migration functional tests https://review.opendev.org/c/openstack/watcher/+/993634 | 14:21 |
| opendevreview | Alfredo Moralejo proposed openstack/watcher master: Add Cinder emulator and zone_migration functional tests https://review.opendev.org/c/openstack/watcher/+/993634 | 14:38 |
| opendevreview | Merged openstack/watcher stable/2026.2: Only cancel non-terminal audits and action plans on sync https://review.opendev.org/c/openstack/watcher/+/1016681 | 15:33 |
| opendevreview | Merged openstack/watcher stable/2026.2: Fix duplicate workload stabilization migrations https://review.opendev.org/c/openstack/watcher/+/1014859 | 15:58 |
| opendevreview | Alfredo Moralejo proposed openstack/watcher stable/2026.1: Only cancel non-terminal audits and action plans on sync https://review.opendev.org/c/openstack/watcher/+/1017692 | 17:32 |
| opendevreview | Douglas Viroel proposed openstack/watcher master: Add disable_source_services option for zone_migration https://review.opendev.org/c/openstack/watcher/+/1016569 | 18:28 |
| opendevreview | Douglas Viroel proposed openstack/watcher master: Add disable_source_services option for zone_migration https://review.opendev.org/c/openstack/watcher/+/1016569 | 18:44 |
Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!