<div dir="auto">Thank you for the information! <div dir="auto">Can we set AZ for existing instance?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 16, 2023, 10:47 PM <<a href="mailto:smooney@redhat.com">smooney@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 2023-08-16 at 21:43 +0700, Nguyễn Hữu Khôi wrote:<br>
> Hello guys.<br>
> <br>
> I need to verify whether an existing instance was created with AZ or<br>
> without AZ. How can we check on an existing instance?<br>
the only way to check this is via the request spec in the api db<br>
you can check if an AZ is in the request spec if its empyt then none was<br>
requested.<br>
> <br>
> I did not setup default AZ scheduler before. At this time I plan to expand<br>
> the system by a new AZ.<br>
> <br>
> as document<br>
> <br>
> If the server was not created in a specific zone then it is free to be<br>
> moved to other zones, i.e. the AvailabilityZoneFilter<br>
> <<a href="https://docs.openstack.org/nova/latest/admin/scheduling.html#availabilityzonefilter" rel="noreferrer noreferrer" target="_blank">https://docs.openstack.org/nova/latest/admin/scheduling.html#availabilityzonefilter</a>><br>
> is<br>
> a no-op.<br>
> <br>
> I am worried about when I migrate instances and they will be free to be<br>
> moved to other zones.<br>
well that would be working a intended.<br>
but if you are concerned baout it because you use the config option to prevent cross AZ attache<br>
then we have special code to pin the instance in that sepcicic case.<br>
> <br>
> Nguyen Huu Khoi<br>
<br>
</blockquote></div>