heat/heat/engine/resources/openstack/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
..
__init__.py Move heat resources 2015-03-06 11:05:27 +08:00
access_policy.py Add descriptions to openstack resources (Part 3) 2016-02-17 11:22:11 +00:00
autoscaling_group.py Fix doc of OS::Heat::AutoScalingGroup outputs and outputs_list 2016-07-11 19:26:43 +00:00
cloud_config.py Single definition of top-level SoftwareConfig keys 2016-08-10 11:01:35 -04:00
cloud_watch.py Migrate to aodh for OS::Ceilometer::Alarm 2016-06-29 02:50:27 +00:00
ha_restarter.py Deprecate Stack.resource_restart() 2016-05-26 15:44:06 -04:00
instance_group.py Correct the usage of properties.get() with default value 2016-06-28 08:23:05 +00:00
multi_part.py Single definition of top-level SoftwareConfig keys 2016-08-10 11:01:35 -04:00
none_resource.py Don't RESOLVE translate in resource init 2016-03-10 19:17:17 +05:30
random_string.py Stop using Hidden property for RandomString 2016-02-29 16:30:40 +00:00
remote_stack.py Begin move of UpdateReplace back to its rightful location 2016-08-18 12:57:54 -04:00
resource_chain.py Move _RESOURCE_KEYS down to class level 2016-06-29 12:38:05 -05:00
resource_group.py Fix resouce group resource removal policy name inconsistency with DB 2016-08-08 13:17:35 +02:00
scaling_policy.py Don't check alarm state when signaled 2016-07-25 05:33:32 +00:00
software_component.py Single definition of top-level SoftwareConfig keys 2016-08-10 11:01:35 -04:00
software_config.py Validate the input/output configs in Software Config 2016-08-10 11:01:35 -04:00
software_deployment.py Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
structured_config.py Validate the input/output configs in Software Config 2016-08-10 11:01:35 -04:00
swiftsignal.py Fix all attributes error for custom guidelines 2016-02-26 15:47:46 +03:00
test_resource.py Add in missing log translation hints 2016-06-20 05:24:31 -07:00
value.py Add OS::Heat::Value resource 2016-08-20 12:33:21 -04:00
wait_condition.py Add descriptions to openstack resources (Part 3) 2016-02-17 11:22:11 +00:00
wait_condition_handle.py Begin move of UpdateReplace back to its rightful location 2016-08-18 12:57:54 -04:00