summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-01-14 20:59:58 +0000
committerGerrit Code Review <review@openstack.org>2020-01-14 20:59:58 +0000
commite4db219a2a2ff4192c3acd668b1c73da0c420f8c (patch)
treec6600685898224079ed9b6bd4e2296f1845f6a44
parent2d4ed3c0ab9517f5a3b371f418ede6c966110534 (diff)
parent0a8949397b57c108fff5bf41c48a5384c485f48f (diff)
downloadheat-e4db219a2a2ff4192c3acd668b1c73da0c420f8c.tar.gz
Merge "Correct availability_zone to be non-mandatory in heat" into stable/queens
-rw-r--r--heat/engine/resources/openstack/nova/host_aggregate.py1
-rw-r--r--releasenotes/notes/correct-availability-zone-to-be-non-mandatory-b01192007d5e0386.yaml8
2 files changed, 8 insertions, 1 deletions
diff --git a/heat/engine/resources/openstack/nova/host_aggregate.py b/heat/engine/resources/openstack/nova/host_aggregate.py
index 2b6f0ce81..ee57fe27b 100644
--- a/heat/engine/resources/openstack/nova/host_aggregate.py
+++ b/heat/engine/resources/openstack/nova/host_aggregate.py
@@ -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(
diff --git a/releasenotes/notes/correct-availability-zone-to-be-non-mandatory-b01192007d5e0386.yaml b/releasenotes/notes/correct-availability-zone-to-be-non-mandatory-b01192007d5e0386.yaml
new file mode 100644
index 000000000..9e0716e90
--- /dev/null
+++ b/releasenotes/notes/correct-availability-zone-to-be-non-mandatory-b01192007d5e0386.yaml
@@ -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.