Bug 1766500 - [OSP15] Include nova::availability_zone in nova::api and nova::conductor
Summary: [OSP15] 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: z2
: 15.0 (Stein)
Assignee: Martin Schuppert
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On: 1766494
Blocks: 1766502 1766503
TreeView+ depends on / blocked
 
Reported: 2019-10-29 09:56 UTC by Martin Schuppert
Modified: 2023-03-21 19:27 UTC (History)
6 users (show)

Fixed In Version: puppet-nova-14.4.1-0.20191028140428.75d67bd.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of: 1766494
: 1766502 (view as bug list)
Environment:
Last Closed: 2020-03-05 12:00:15 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 09:56:36 UTC
OpenStack gerrit 691471 0 None MERGED Include nova::availability_zone in nova::api and nova::conductor 2020-03-02 13:00:50 UTC
Red Hat Issue Tracker OSP-23501 0 None None None 2023-03-21 19:27:41 UTC
Red Hat Product Errata RHBA-2020:0643 0 None None None 2020-03-05 12:00:57 UTC

Description Martin Schuppert 2019-10-29 09:56:37 UTC
+++ 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 7 errata-xmlrpc 2020-03-05 12:00:15 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:0643


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