Merge "Remove deprecated AZ filter."

This commit is contained in:
Zuul
2023-08-31 07:21:33 +00:00
committed by Gerrit Code Review
13 changed files with 20 additions and 248 deletions

View File

@@ -72,7 +72,6 @@ class Selection(base.NovaObject, ovo_base.ComparableVersionedObject):
"""
allocation_request_json = jsonutils.dumps(allocation_request)
limits = objects.SchedulerLimits.from_dict(host_state.limits)
# Note that the AZ logic here is similar to the AvailabilityZoneFilter.
metadata = filter_utils.aggregate_metadata_get_by_host(
host_state, key='availability_zone')
availability_zone = metadata.get('availability_zone')