heat/heat
Rabi Mishra 9e80518b90 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
2020-02-25 08:37:16 +05:30
..
api middleware: return HTTPBadRequest when path is invalid 2018-09-11 11:23:46 +02:00
cloudinit Validate that python3 is ready for loguserdata 2016-08-26 11:49:30 +00:00
cmd Merge "fix logger names" 2019-10-07 19:30:55 +00:00
common Merge "Support for shared services in multi region mode" 2020-01-09 19:07:29 +00:00
db Merge "DB: Never retry a subtransaction" 2019-12-19 03:42:51 +00:00
engine Handle OS::Mistral::Workflow resource replacement properly 2020-02-25 08:37:16 +05:30
hacking Restrict use of iteritems, iterkeys and itervalues 2016-03-23 10:05:54 +00:00
httpd Merge "fix logger names" 2019-10-07 19:30:55 +00:00
locale Imported Translations from Zanata 2019-12-22 09:16:37 +00:00
objects Streamline conversion of resources to convergence 2018-12-17 16:59:25 +13:00
policies Add support for Octavia's Flavor and FlavorProfile resources 2020-01-20 18:57:37 +01:00
rpc Option for retrieving child templates and env files from swift 2018-07-26 09:50:51 +05:30
scaling Merge "Eliminate nested stack loading in InstanceGroup/ASG scaling" 2018-04-02 04:35:47 +00:00
tests Handle OS::Mistral::Workflow resource replacement properly 2020-02-25 08:37:16 +05:30
__init__.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
version.py change the dist name to 'openstack-heat' 2018-11-01 11:54:05 -04:00