Bug 1766494 - Include nova::availability_zone in nova::api and nova::conductor
Summary: 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: beta
: 16.0 (Train on RHEL 8.1)
Assignee: Martin Schuppert
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks: 1766500 1766502 1766503
TreeView+ depends on / blocked
 
Reported: 2019-10-29 09:43 UTC by Martin Schuppert
Modified: 2023-03-21 19:27 UTC (History)
5 users (show)

Fixed In Version: puppet-nova-15.4.1-0.20191026043608.57ff2a1.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1766500 (view as bug list)
Environment:
Last Closed: 2020-02-06 14:42:47 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:43:54 UTC
OpenStack gerrit 691121 0 None None None 2019-10-29 09:43:54 UTC
Red Hat Issue Tracker OSP-23500 0 None None None 2023-03-21 19:27:40 UTC
Red Hat Product Errata RHEA-2020:0283 0 None None None 2020-02-06 14:43:30 UTC

Description Martin Schuppert 2019-10-29 09:43:55 UTC
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 5 errata-xmlrpc 2020-02-06 14:42:47 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/RHEA-2020:0283


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