Browse Source

Correct availability_zone to be non-mandatory in heat

As per CLI and GUI, availability_zone is not mandatory.  In templates,
it is.  This is incorrect.

This patch corrects behaviour to match CLI and GUI.

Change-Id: Ice37340f084ea65bd4b46562145e82ede6bc0df5
Story: 2006586
(cherry picked from commit 2799a5fcd76639a202092ea1b6fc242a8886dc56)
changes/93/683193/4
David J Peacock 8 months ago
parent
commit
0a8949397b
2 changed files with 8 additions and 1 deletions
  1. +0
    -1
      heat/engine/resources/openstack/nova/host_aggregate.py
  2. +8
    -0
      releasenotes/notes/correct-availability-zone-to-be-non-mandatory-b01192007d5e0386.yaml

+ 0
- 1
heat/engine/resources/openstack/nova/host_aggregate.py View File

@@ -56,7 +56,6 @@ class HostAggregate(resource.Resource):
AVAILABILITY_ZONE: properties.Schema(
properties.Schema.STRING,
_('Name for the availability zone.'),
required=True,
update_allowed=True,
),
HOSTS: properties.Schema(


+ 8
- 0
releasenotes/notes/correct-availability-zone-to-be-non-mandatory-b01192007d5e0386.yaml View File

@@ -0,0 +1,8 @@
---
fixes:
- |
Erroneously, availability_zone for host aggregate resource types was
considered mandatory in heat templates.

Behaviour has been adjusted to bring this in line with the CLI and GUI, in
which it is optional.

Loading…
Cancel
Save