[openstack][nova] how check if exist instances were create with AZ or without AZ

Nguyễn Hữu Khôi nguyenhuukhoinw at gmail.com
Wed Aug 16 15:51:01 UTC 2023


Thank you for the information!
Can we set AZ for existing instance?

On Wed, Aug 16, 2023, 10:47 PM <smooney at redhat.com> wrote:

> On Wed, 2023-08-16 at 21:43 +0700, Nguyễn Hữu Khôi wrote:
> > Hello guys.
> >
> > I need to verify whether an existing instance was created with AZ or
> > without AZ. How can we check on an existing instance?
> the only way to check this is via the request spec in the api db
> you can check if an AZ is in the request spec if its empyt then none was
> requested.
> >
> > I did not setup default AZ scheduler before. At this time I plan to
> expand
> > the system by a new AZ.
> >
> > as document
> >
> > If the server was not created in a specific zone then it is free to be
> > moved to other zones, i.e. the AvailabilityZoneFilter
> > <
> https://docs.openstack.org/nova/latest/admin/scheduling.html#availabilityzonefilter
> >
> > is
> > a no-op.
> >
> > I am worried about when I migrate instances and they will be free to be
> > moved to other zones.
> well that would be working a intended.
> but if you are concerned baout it because you use the config option to
> prevent cross AZ attache
> then we have special code to pin the instance in that sepcicic case.
> >
> > Nguyen Huu Khoi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230816/421a82f7/attachment.htm>


More information about the openstack-discuss mailing list