This adds an availability_zone field to the Selection object,
using the same type and nullable value as the same field in the
Instance object. This will be used to store the service_host
AZ to pass from the superconductor layer to the compute and cell
conductor layer to avoid an up-call to get the host AZ information
from the API DB during a reschedule.
Note that the field is nullable because a host may not be in an
AZ and CONF.default_availability_zone can technically be set to
None though it defaults to "nova".
Reviewed: https:/ /review. opendev. org/685807 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=bcd4584a7c6 a8d6b91a6db2fe8 b38671494ff9c1
Committed: https:/
Submitter: Zuul
Branch: master
commit bcd4584a7c6a8d6 b91a6db2fe8b386 71494ff9c1
Author: Matt Riedemann <email address hidden>
Date: Mon Sep 30 17:56:58 2019 -0400
Add Selection. availability_ zone field
This adds an availability_zone field to the Selection object,
using the same type and nullable value as the same field in the
Instance object. This will be used to store the service_host
AZ to pass from the superconductor layer to the compute and cell
conductor layer to avoid an up-call to get the host AZ information
from the API DB during a reschedule.
Note that the field is nullable because a host may not be in an availability_ zone can technically be set to
AZ and CONF.default_
None though it defaults to "nova".
Change-Id: Ia50c5f4dd2204f 1cafa669097d1e7 44479c4d8c8
Related-Bug: #1781286