diff options
author | Zuul <zuul@review.opendev.org> | 2019-12-17 18:26:38 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-12-17 18:26:38 +0000 |
commit | 3d36a5c1e2932e6b50be78d1aa34b5b5e5e39f88 (patch) | |
tree | 1978252371d6b0dedc7fa4bcc1fd7449b9f4cc02 | |
parent | 425260920790b1d39668b7bbe00812d61e6fa0e9 (diff) | |
parent | d9368ecb2104f6ed0b9e18c9ada77add8e81de66 (diff) | |
download | heat-3d36a5c1e2932e6b50be78d1aa34b5b5e5e39f88.tar.gz |
Merge "Correct availability_zone to be non-mandatory in heat" into stable/stein
-rw-r--r-- | heat/engine/resources/openstack/nova/host_aggregate.py | 1 | ||||
-rw-r--r-- | releasenotes/notes/correct-availability-zone-to-be-non-mandatory-ee4c124b15449393.yaml | 8 |
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-ee4c124b15449393.yaml b/releasenotes/notes/correct-availability-zone-to-be-non-mandatory-ee4c124b15449393.yaml new file mode 100644 index 000000000..9e0716e90 --- /dev/null +++ b/releasenotes/notes/correct-availability-zone-to-be-non-mandatory-ee4c124b15449393.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. |