Wednesday, 2026-11-11

opendevreviewAlfredo Moralejo proposed openstack/watcher master: Add support to update status_message in update_audit_state  https://review.opendev.org/c/openstack/watcher/+/101434208:42
opendevreviewAlfredo Moralejo proposed openstack/watcher master: Version the parameters spec of strategies  https://review.opendev.org/c/openstack/watcher/+/101456908:42
opendevreviewAlfredo Moralejo proposed openstack/watcher master: Add update_parameters() to BaseStrategy  https://review.opendev.org/c/openstack/watcher/+/101457008:42
opendevreviewAlfredo Moralejo proposed openstack/watcher master: Update goals and strategies in-place in the Syncer  https://review.opendev.org/c/openstack/watcher/+/101457108:42
opendevreviewAlfredo Moralejo proposed openstack/watcher stable/2026.1: Fix duplicate workload stabilization migrations  https://review.opendev.org/c/openstack/watcher/+/101501809:11
dviroelsean-k-mooney: amoralej__ thanks for the spec review - going through the comments and update a new version today - i will drop questions here if needed.11:24
amoralej__sure11:25
amoralej__good to discuss here and agree on the open questions11:25
*** amoralej__ is now known as amoralej11:29
sean-k-mooneydviroel: cool12:13
dviroelsean-k-mooney: so IIUC, pinning to default availability zone may return an error in a near future12:14
dviroelbut there is no way to know that from nova api12:15
dviroelso we would  need a config option for that12:15
sean-k-mooneyso there kind of is12:16
sean-k-mooneybut you have too syntasize it form 2 diffen tinputs12:16
sean-k-mooneyyou can list teh avialablity zones and you can list the compute service and check what zones they report12:17
sean-k-mooneyif there is an addtional zone in the compute service view 12:18
sean-k-mooneythen that is the fake defautl zone12:18
sean-k-mooneybut that kind of a pain and ineffeicent12:18
sean-k-mooneyso horizon and other just mirror the config option that nova has for its name12:18
sean-k-mooneyand set it to the saem default value `nova`12:18
sean-k-mooneywell sort of i think that is what dan is propsoing in his bug fix12:20
sean-k-mooneyhttps://docs.openstack.org/api-ref/compute/#id29012:20
sean-k-mooneythe current example respocne show the nova zone12:21
sean-k-mooneyi think dan was considering not reportign that any more and only reporting the real AZs form that api12:21
sean-k-mooneybut i need to actully read there patch to confirm that12:21
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/101477212:22
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/1014772/1/api-ref/source/os-availability-zone.inc12:24
sean-k-mooneyagaisn i need to read the patch for the details but that srongly implying that the defautl nova zone would nolnger be in the az list12:24
sean-k-mooneywhich form a watcher point of view would mean that in the future if we have an audit that refences an az that is not in the list we coudl treat that as an error12:25
sean-k-mooneybut it does mean we woudl not be able to manged vms in the default zone if we did that by zone12:25
sean-k-mooneyi.e. we coudl not express move all vms form the default zone to prod-112:25
sean-k-mooneyso we need to decied if watcher will only support real zones12:26
sean-k-mooneyor the implicit default one as well12:26
dviroelwatcher today build the zone list from compute service list API12:27
dviroelI believe that this will still continue listing the default one?12:27
sean-k-mooneyit would yes i think12:28
dviroelI also think that we should support draining from the default one, and may reject the default as a destination12:29
sean-k-mooneythat would be a reasonable appproch12:29
dviroelwe could validate that in the API, if we include the config option12:29
dviroel"please operator, create a real AZ to drain your workloads to" :) 12:31
sean-k-mooneythe other thing is we may want to expess a request to move the vms to ANY az in the future12:31
dviroelright12:32
sean-k-mooneywe woudl do that by disabling the souce az nodes, unpinnning the vm and then aksing for a migration without passing a host or az12:32
sean-k-mooneythen the schduler woudl choose form the online hosts12:32
dviroelack, interesting12:32
* dviroel can't open https://bugs.launchpad.net/nova/+bug/2173771 - network issue on my side or launchpad is down?12:34
amoraleji can't open it either12:36
sean-k-mooneyya lachpad is down12:37
dviroelso we have the options: 1) do not pin to default_availability_zone (skips the pin after migrating) and 2) deny draining to the default AZ (dest_az)12:43
dviroelthe 1) can live in Migrate option, for any other strategy to use it12:44
dviroelwe can have both in the end, using an additional config option in watcher12:44
dviroel[nova] default_availability_zone12:44
sean-k-mooneyya so im not conviced that dans propsoed bug fix is valid and im saying so now12:46
amoralejdviroel, so that case is to drain to default_availability_zone from a different az12:55
amoralejright?12:55
amoralejdrain prod-az to nova i.e.12:56
amoraleji have a doubt, from Nova pov, if a non-default az is created, the default one can still have compute services? i thought the default one was only for the case where no other AZ exists12:57
sean-k-mooneyamoralej: so in my spec that would work with dans bugfix that woudl be a 400 error13:02
sean-k-mooneyi belive there would be no way to reust the host are are not part of a real az other hten by there hostname13:02
dviroelamoralej: yes, "drain prod-az to nova"  would be invalid. Also pin to default zone can be at Action level13:04
sean-k-mooneyamoralej: no the default az is what a compute service is in13:04
sean-k-mooneyunless you add it to a az explcitly13:04
sean-k-mooneythere is no host-aggreage assocatied with teh default az13:04
sean-k-mooneyand no aggreate metadata as a result13:05
sean-k-mooneythat also menas the default az is not modeled in placement13:05
sean-k-mooneyits litrally the set of host that are not grouped by an admin explcitly inot an az. all newly added comptue are part of it when you scale out implictly untill you use teh rest api to assign it to a real az13:06
sean-k-mooneypsi didnt bother with AZs really which is why in horizon if you booted a vm it booted into the "nova" az13:07
dviroelso, in the end we need: 1) do not pin to default_availability_zone (skips the pin after migrating) a13:56
dviroelright?13:56

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