heat/heat/engine/resources
Rabi Mishra ab227b3213 Handle OS::Mistral::Workflow resource replacement properly
OS::Mistral::Workflow resource creates a mistral workflow with
a unique name (resource_id). We replace FAILED resources by
default and replace wont work in this case as it will try to
use the same workflow name for the replacement resouce, if the
'name' property is provided.

If the workflow does not exist/deleted using mistral api directly,
it would create a replacement resource, but it would delete the
workflow when cleaning up the old resource. So we would endup
with a replacement resource without any backing workflow.

This adds a new resource attribute ``always_replace_on_check_failed``
and overrides needs_replace_failed() for OS::Mistral::Workflow.

Task: 38855
Change-Id: Ia0812b88cae363dfa25ccd907ecbe8b86f5b1a23
(cherry picked from commit 9e80518b90)
2020-02-26 02:43:23 +00:00
..
aws Fix coverity check FORWARD_NULL error 2019-08-06 08:53:42 +08:00
openstack Handle OS::Mistral::Workflow resource replacement properly 2020-02-26 02:43:23 +00:00
__init__.py Log missing clients as WARNING instead of ERROR 2016-08-16 16:27:55 -05:00
alarm_base.py Update incorrect timezone description 2017-09-19 13:46:32 +08:00
scheduler_hints.py Fix path_in_stack for scheduler hints 2016-08-05 10:21:10 +00:00
server_base.py Add dedicated auth endpoint config for servers 2019-07-12 13:50:38 +00:00
signal_responder.py Add dedicated auth endpoint config for servers 2019-07-12 13:50:38 +00:00
stack_resource.py Revert "Use OutputDefinition to generate attributes schema" 2018-11-28 12:13:58 -05:00
stack_user.py Remove log translations 2017-03-25 17:11:50 +08:00
template_resource.py Revert "Use OutputDefinition to generate attributes schema" 2018-11-28 12:13:58 -05:00
volume_base.py Check for server in attachements when checking for detach complete 2018-09-24 17:28:52 +05:30
wait_condition.py Always use string ID for WaitConditionHandle signals 2018-02-09 20:20:22 -05:00