Bug 1766503 - [OSP13] Include nova::availability_zone in nova::api and nova::conductor
Summary: [OSP13] Include nova::availability_zone in nova::api and nova::conductor
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-nova
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z11
: 13.0 (Queens)
Assignee: Martin Schuppert
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On: 1766494 1766500 1766502
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-29 10:01 UTC by Martin Schuppert
Modified: 2023-03-21 19:27 UTC (History)
6 users (show)

Fixed In Version: puppet-nova-12.5.0-3.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1766502
Environment:
Last Closed: 2020-03-10 11:22:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1529065 0 None None None 2019-10-29 10:01:11 UTC
OpenStack gerrit 691831 0 None None None 2019-10-29 10:01:11 UTC
Red Hat Issue Tracker OSP-23502 0 None None None 2023-03-21 19:27:45 UTC
Red Hat Product Errata RHBA-2020:0760 0 None None None 2020-03-10 11:22:54 UTC

Description Martin Schuppert 2019-10-29 10:01:12 UTC
+++ This bug was initially created as a clone of Bug #1766502 +++

+++ 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

Comment 3 errata-xmlrpc 2020-03-10 11:22:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0760


Note You need to log in before you can comment on or make changes to this bug.