Tuesday, 2025-09-16

opendevreviewchandan kumar proposed openstack/watcher-dashboard master: Show parameter spec in the strategy info page  https://review.opendev.org/c/openstack/watcher-dashboard/+/96023204:26
opendevreviewchandan kumar proposed openstack/watcher-dashboard master: List strategies based on selected goal  https://review.opendev.org/c/openstack/watcher-dashboard/+/96036304:27
opendevreviewchandan kumar proposed openstack/watcher-dashboard master: Add option to SKIP Actions  https://review.opendev.org/c/openstack/watcher-dashboard/+/95820904:28
opendevreviewchandan kumar proposed openstack/watcher-dashboard master: Fix translation context for watcher action states  https://review.opendev.org/c/openstack/watcher-dashboard/+/95918904:29
opendevreviewTakashi Kajinami proposed openstack/watcher-tempest-plugin master: Add stable/2025.2 job  https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/96134307:09
tkajinam^^^ we may want to merge this quickly07:09
opendevreviewJoan Gilabert proposed openstack/watcher master: Use src_type to filter volumes in zone migration  https://review.opendev.org/c/openstack/watcher/+/95184311:02
opendevreviewJoan Gilabert proposed openstack/watcher master: Add test for zone_migration with instances and volumes  https://review.opendev.org/c/openstack/watcher/+/95211511:02
opendevreviewJoan Gilabert proposed openstack/watcher master: Allow volume and vm migrations in zone_migration  https://review.opendev.org/c/openstack/watcher/+/95211611:02
opendevreviewJoan Gilabert proposed openstack/watcher master: Support zone migration audit without compute_nodes  https://review.opendev.org/c/openstack/watcher/+/95066511:02
opendevreviewJoan Gilabert proposed openstack/watcher master: Improve unit tests for zone migration strategy  https://review.opendev.org/c/openstack/watcher/+/95435011:02
chandankumardviroel: sean-k-mooney Hello, can we get this merged [Update master for stable/2025.2](https://review.opendev.org/c/openstack/watcher-dashboard/+/960525) needed for [Add release note links for 2025.2 Flamingo](https://review.opendev.org/c/openstack/releases/+/961353).12:00
dviroelchandankumar: done, sorry for missing this one12:01
chandankumardviroel: thank you!12:02
chandankumar2025.2 python-watcherclient reno is not published yet, commented on the release patch 12:14
opendevreviewMerged openstack/watcher-tempest-plugin master: Add stable/2025.2 job  https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/96134312:20
opendevreviewMerged openstack/watcher-dashboard master: Update master for stable/2025.2  https://review.opendev.org/c/openstack/watcher-dashboard/+/96052512:29
sean-k-mooneywe dont nessiarly need to wait for it to be by the way. there is usally a second patch to update the release ntoes for trailign porject or ones that were not ready at the time of the first12:29
sean-k-mooneyso it can alwasy be fixed later12:30
chandankumarsean-k-mooney: thank you!12:47
chandankumarsean-k-mooney: dviroel hello, regarding https://review.opendev.org/c/openstack/watcher-dashboard/+/957232/12/watcher_dashboard/api/watcher.py microversion support for each request, I was checking horizon code, I found this https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/api/cinder.py#L38 , I am not finding any other example to pass microversion on each request.14:14
chandankumarWill I follow the horizon microversion approach or any other example you can point out?14:14
sean-k-mooney that proably beause horizon historically has not supproted micorversion properly14:15
chandankumarhorizon microversion is only used for cinder only14:16
sean-k-mooneyright which means it not talks to nova corerctly at all14:16
sean-k-mooneyim currently readign how they are usign this to see if its a good pattern to follow14:17
sean-k-mooneythey are cachign the client based on request and version https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/api/cinder.py#L23114:17
sean-k-mooneythat is proably inocrect also14:17
sean-k-mooneyit woudl be incorrect to share clinet between request form diffent tenatn so we need to review that memoized decortor before considerign doing the same14:18
chandankumarhere is from nova https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/api/_nova.py#L13614:18
sean-k-mooney yep and lookign at the impleation this is not really going to cache much14:20
sean-k-mooneyit will cache reqeust within the same request 14:20
sean-k-mooneyif you consturct the nova clinet twith the same version14:20
sean-k-mooneythat arguablly not very helpful14:21
sean-k-mooneywith that said it does lok like they have suprot for micoveriosn fo rnova too14:21
sean-k-mooneythe question is do the encode the version per rquest or not14:21
sean-k-mooneyso it looks like they defein there one concept of a "feature" https://github.com/openstack/horizon/blob/3b6a6d8ea74b6444dfc333e11a70d1cb1a077204/openstack_dashboard/api/cinder.py#L268-L28814:25
sean-k-mooneyand have a wrapper that consuct a version client with the relvent feature micorverison14:26
sean-k-mooneyi dont think we shoudl have that layer of indriection and instead just specify the microversion directly.14:26
sean-k-mooneyso that we do not need to miantian a dict like this https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/microversions.py#L29-L4914:27
sean-k-mooneythe dictionay looses too much information to take any of the accpeted values.14:28
chandankumaryes, you are correct14:29
chandankumarOther thing I am thinking to directly use https://github.com/openstack/python-watcherclient/blob/master/watcherclient/common/api_versioning.py14:30
sean-k-mooneywhich parts14:31
sean-k-mooneywe woudl use some of that yes14:31
sean-k-mooneyor we could. ideally we will eventually supprot watcer in the sdk14:31
chandankumarand from UI side, if UI side, start or end time is passed, pass proper version https://github.com/openstack/python-watcherclient/blob/fe8aa16dd734d663567dfc8666d652108c9d3bf9/watcherclient/common/api_versioning.py#L2914:32
sean-k-mooneytehn remvoe the use of the python watcher client form the wtach-dashbaord entirly14:32
chandankumarto the client call14:32
sean-k-mooneyyes so there ar two thing w eneed to take care of14:32
sean-k-mooneyfirst we need to knwo what the max version that is supproted by the cloud14:32
sean-k-mooneyand only display the ui elements supptoed by that cloud14:32
sean-k-mooneysecond when you pass data supproted by a specific microverison we need to rais the min version14:33
sean-k-mooneyso as you said if you passed start and end time you woudl need to use 1.1 instead of 1.014:33
chandankumaryes correct!14:34
sean-k-mooneyi would prefer to use 1.1 or defein our own constnat for that in the dashbaord plugin so that we dont need to update that if we move awway from watcherclient in the future14:34
sean-k-mooneywhat i woudl suggest is creating a new constants.py file with a defintion of each fo the 6 microverisons14:35
sean-k-mooneythen use those in teh ui code14:35
sean-k-mooneyi.e. create a constants.py here https://github.com/openstack/watcher-dashboard/tree/master/watcher_dashboard/common14:36
chandankumarabove approach sounds good14:36
sean-k-mooneywe could call it  microverion.py and add soem utility function there as well14:37
sean-k-mooneyi.e. is_supported, get_max_microverion and even the versioned client wrppers14:37
sean-k-mooneythat will allwo you to do somethign like microversion.get_client(micoverion.START_END_TIME)14:38
sean-k-mooneyor microverion.is_supproted(micoversion.SKIP_ACTION)14:39
chandankumar+114:40
chandankumarlet me work on that.14:40
chandankumarsean-k-mooney: thank you!15:03
sean-k-mooneyno worries15:04
sean-k-mooneyhopefully that unblocks you and we can make progress on thsoe changes15:05
chandankumarsean-k-mooney: when you get time, please have a look at this https://review.opendev.org/c/openstack/watcher-dashboard/+/957535 and https://review.opendev.org/c/openstack/watcher-dashboard/+/959528 , seems to be good to go, thank you!15:05
opendevreviewJoan Gilabert proposed openstack/watcher-tempest-plugin master: Add test for volume retype with zone migration  https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/95462517:08
opendevreviewJoan Gilabert proposed openstack/watcher-tempest-plugin master: Add test for volume migrate with zone migration  https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/95864417:08
opendevreviewMerged openstack/watcher-dashboard master: Add support for passing parameters while creating audit  https://review.opendev.org/c/openstack/watcher-dashboard/+/95753517:36
opendevreviewMerged openstack/watcher-dashboard master: Remove password parameter from watcher client initialization  https://review.opendev.org/c/openstack/watcher-dashboard/+/95952817:36
opendevreviewMerged openstack/watcher master: Use src_type to filter volumes in zone migration  https://review.opendev.org/c/openstack/watcher/+/95184317:58
opendevreviewMerged openstack/watcher master: Add test for zone_migration with instances and volumes  https://review.opendev.org/c/openstack/watcher/+/95211518:14
dviroelgood, I also have a fix for zone_migration that I need to rebase... going to work on that now18:33
opendevreviewMerged openstack/watcher master: Allow volume and vm migrations in zone_migration  https://review.opendev.org/c/openstack/watcher/+/95211618:43
opendevreviewMerged openstack/watcher master: Support zone migration audit without compute_nodes  https://review.opendev.org/c/openstack/watcher/+/95066518:45
opendevreviewDouglas Viroel proposed openstack/watcher master: Add unit tests for instance and volume not found in model  https://review.opendev.org/c/openstack/watcher/+/95619719:14
opendevreviewDouglas Viroel proposed openstack/watcher master: Fix zone migration instance not found issue  https://review.opendev.org/c/openstack/watcher/+/95619819:14
opendevreviewMerged openstack/watcher master: Improve unit tests for zone migration strategy  https://review.opendev.org/c/openstack/watcher/+/95435019:46

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