Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1766502

Summary: [OSP14] Include nova::availability_zone in nova::api and nova::conductor
Product: Red Hat OpenStack Reporter: Martin Schuppert <mschuppe>
Component: puppet-novaAssignee: Martin Schuppert <mschuppe>
Status: CLOSED NEXTRELEASE QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: jjoyce, jschluet, lyarwood, nlevinki, nova-maint, slinaber, tvignaud
Target Milestone: z5Keywords: Patch, Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-nova-13.3.2-0.20190426043947.d968cc2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1766500
: 1766503 (view as bug list) Environment:
Last Closed: 2019-12-09 09:22:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1766494, 1766500    
Bug Blocks: 1766503    

Description Martin Schuppert 2019-10-29 09:59:29 UTC
+++ This bug was initially created as a clone of Bug #1766500 +++

+++ This bug was initially created as a clone of Bug #1766494 +++

Description of problem:

For some reason this was included in nova::compute and nova::scheduler
but never included in nova::api eventhough bug #1529065 specifically
calls out the fact that it is missing.

Looking at the code - nova-api definitely requires it.
E.g the server create request handler sets the target AZ to
CONF.default_schedule_zone if none
https://github.com/openstack/nova/blob/stable/queens/nova/api/openstack/compute/servers.py#L486

and the az request handler skips the internal_service_availabily_zone
when listing AZs
https://github.com/openstack/nova/blob/stable/queens/nova/api/openstack/compute/availability_zone.py#L38

nova-conductor also requires it as it calls
availability_zones.get_host_availability_zone which defaults to
CONF.default_availability_zone

--- Additional comment from RHEL Product and Program Management on 2019-10-29 09:58:03 UTC ---

This bugzilla has been removed from the release since it  does not have an acked release flag. For details, see https://mojo.redhat.com/docs/DOC-1144661#jive_content_id_OSP_Release_Planning.'

--- Additional comment from RHEL Product and Program Management on 2019-10-29 09:58:03 UTC ---

This item has been properly Triaged and planned for the release, and Target Release is now set to match the release flag. For details, see https://mojo.redhat.com/docs/DOC-1144661#jive_content_id_OSP_Release_Planning