The patch changes the approach of resource backup during stack
update. It stores the definition of resource that needs to be
updated in-place to backup stack(if it was not created before).
Without this functionality, InvalidTemplateReference will be thrown
every time when update-replaced resource has a reference to updated
in-place resource and stack update was failed. In this case, backup
stack has a resource that refers to not-presented another resource
and backup stack deletion generates an exception.
Change-Id: I436c44a579bb4df3031d1a17b9ca5b62da37afeb
Closes-bug: #1446575
(cherry picked from commits da3777342a344a2dafb9244b7afca8722a398caa and 3786262aed62d81ad35de3d4f703c38223907ffd)
Reviewed: https:/ /review. openstack. org/230130 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=2a6e29113d9 f68afa3e1e8c42a f842a1495879cc
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 2a6e29113d9f68a fa3e1e8c42af842 a1495879cc
Author: kairat_kushaev <email address hidden>
Date: Tue May 5 19:22:32 2015 +0300
Save updated-in-place resources to backup stack
The patch changes the approach of resource backup during stack
update. It stores the definition of resource that needs to be
updated in-place to backup stack(if it was not created before).
Without this functionality, InvalidTemplate Reference will be thrown
every time when update-replaced resource has a reference to updated
in-place resource and stack update was failed. In this case, backup
stack has a resource that refers to not-presented another resource
and backup stack deletion generates an exception.
Change-Id: I436c44a579bb4d f3031d1a17b9ca5 b62da37afeb dafb9244b7afca8 722a398caa
and 3786262aed62d81 ad35de3d4f703c3 8223907ffd)
Closes-bug: #1446575
(cherry picked from commits da3777342a344a2