summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-01-14 00:31:07 +0000
committerGerrit Code Review <review@openstack.org>2020-01-14 00:31:07 +0000
commit0f4d62e716ef99b819e504b5b4b4046179e8dd03 (patch)
treeb6ee768eb3d4f618f9f49238f1f31c87a23fbfe4
parent3ef92f2b40187758ebac47b9c767607c3b2d3f26 (diff)
parent46de9fb4fe6a21b845a006dc01ec9c5e3e6972ee (diff)
downloadheat-0f4d62e716ef99b819e504b5b4b4046179e8dd03.tar.gz
Merge "Correct availability_zone to be non-mandatory in heat" into stable/rocky
-rw-r--r--heat/engine/resources/openstack/nova/host_aggregate.py1
-rw-r--r--releasenotes/notes/correct-availability-zone-to-be-non-mandatory-069d95042f5ed84f.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-069d95042f5ed84f.yaml b/releasenotes/notes/correct-availability-zone-to-be-non-mandatory-069d95042f5ed84f.yaml
new file mode 100644
index 000000000..9e0716e90
--- /dev/null
+++ b/releasenotes/notes/correct-availability-zone-to-be-non-mandatory-069d95042f5ed84f.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.