From 399352dfdc5a68bdb439b5ee65f550e126792877 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 21 Mar 2024 09:44:26 +0900 Subject: [PATCH] Fix update of OS::Heat::UpdateWaitConditionHandle The update method has incomplete arguments and causes error during actual stack update operation. Story: 2011068 Task: 49751 Change-Id: I7b141f8846005da8379b1c646b298088d27a66bc --- .../engine/resources/openstack/heat/wait_condition_handle.py | 3 ++- ...update-of-UpdateWaitConditionHandle-98ef3ed47892bbc8.yaml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/fix-update-of-UpdateWaitConditionHandle-98ef3ed47892bbc8.yaml diff --git a/heat/engine/resources/openstack/heat/wait_condition_handle.py b/heat/engine/resources/openstack/heat/wait_condition_handle.py index 48205ca2e9..8506c6abaf 100644 --- a/heat/engine/resources/openstack/heat/wait_condition_handle.py +++ b/heat/engine/resources/openstack/heat/wait_condition_handle.py @@ -233,7 +233,8 @@ class UpdateWaitConditionHandle(aws_wch.WaitConditionHandle): support_status = support.SupportStatus(version='2014.1') - def update(self, after, before=None, prev_resource=None): + def update(self, after, before=None, prev_resource=None, + new_template_id=None, new_requires=None): raise resource.UpdateReplace(self.name) diff --git a/releasenotes/notes/fix-update-of-UpdateWaitConditionHandle-98ef3ed47892bbc8.yaml b/releasenotes/notes/fix-update-of-UpdateWaitConditionHandle-98ef3ed47892bbc8.yaml new file mode 100644 index 0000000000..76a911d02c --- /dev/null +++ b/releasenotes/notes/fix-update-of-UpdateWaitConditionHandle-98ef3ed47892bbc8.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Fixed the ``OS::Heat::UpdateWaitConditionHandle`` resource type, which + caused stack update to fail consistently.