heat/heat
ricolin 3aeaefc29f Non-destructive upgrade for deprecated resources
If you attempt to update a stack containing
OS::Heat::SoftwareDeployments resources, so it uses the new
non-deprecated OS::Heat::SoftwareDeploymentGroup type instead, it
deletes the group, and all of the deployments.

This means that any deployment "actions" property will be
misinterpreted, e.g if you have actions: CREATE, all the deployments
will re-run on the update, even though it's an update, not a create.

This issue exists on all deprecated resoruces, when we trying to upgrade
to new version of it by update.

This patch fix above update issue by check if resoruce was deprecated
and been update by replacing resource (which is the parent class of
existing resource).

Change-Id: Ib7880120a90c4497a7ceea53eee55c220a28d14e
Closes-Bug: #1528958
2016-09-02 13:09:11 +08:00
..
api Remove tenant_safe flag from rpc and db api 2016-08-16 12:38:33 +05:30
cloudinit Use Fedora 24 base image 2016-07-12 11:48:47 +02:00
cmd Migrate stacks from legacy to convergence engine 2016-08-22 10:40:29 +03:00
common Merge "Improve deep merge for parameters" 2016-08-25 09:34:28 +00:00
db Migrate stacks from legacy to convergence engine 2016-08-22 10:40:29 +03:00
engine Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
hacking Restrict use of iteritems, iterkeys and itervalues 2016-03-23 10:05:54 +00:00
httpd Moved CORS middleware configuration into oslo-config-generator 2016-03-14 08:19:29 -07:00
locale Imported Translations from Zanata 2016-06-02 07:02:51 +00:00
objects Merge "A context cache for Resource objects" 2016-08-24 17:12:01 +00:00
openstack replace git protocol by https 2015-10-22 10:06:05 +08:00
rpc Migrate stacks from legacy to convergence engine 2016-08-22 10:40:29 +03:00
scaling Clean imports in code 2016-08-16 12:44:36 +07:00
tests Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
__init__.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
version.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00