heat/heat/engine
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
..
cfn Provides 'if' intrinsic function 2016-08-25 01:14:14 +00:00
clients Add action check function to senlin plugin 2016-08-24 12:14:28 +08:00
constraint New common constraint 'Expiration' 2016-08-01 12:43:42 +03:00
hot Provides 'if' intrinsic function 2016-08-25 01:14:14 +00:00
notification Remove deprecated list_notifier_drivers option 2015-06-01 16:56:21 +03:00
resources Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
__init__.py Do not initialize anything during import phase 2013-04-24 10:03:06 -07:00
api.py Adds some infos for stack notification 2016-08-05 14:21:57 +08:00
attributes.py Do not show HIDDEN props in res type template 2016-07-15 13:26:24 +00:00
check_resource.py Convergence: fix input to check_stack_complete 2016-08-23 06:35:46 +00:00
constraints.py Add OS::Heat::Value resource 2016-08-20 12:33:21 -04:00
dependencies.py Fix unfortunate spelling error 2016-04-04 12:43:16 -04:00
environment.py Keep encrypted_param_names environment internal to heat 2016-06-30 18:12:29 +01:00
event.py Use Event versioned object for event_list formatting 2016-06-13 09:39:52 +12:00
function.py Add a Macro class to heat.engine.function 2016-08-25 01:13:28 +00:00
lifecycle_plugin.py Fix garbled docstrings 2015-11-10 11:12:36 -05:00
parameter_groups.py Get rid of bogus debug logging in parameter groups 2015-12-04 19:56:56 -05:00
parameters.py Make template available to parameter constraint checking 2016-06-20 14:30:25 -04:00
plugin_manager.py Fix [H405] pep rule in heat/engine 2015-09-21 14:51:46 +03:00
properties.py Add OS::Heat::Value resource 2016-08-20 12:33:21 -04:00
resource.py Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
rsrc_defn.py Support condition for resource 2016-08-24 09:57:07 +00:00
scheduler.py Merge "Raise the last exception thrown into DependencyTaskGroup" 2016-07-20 14:17:25 +00:00
service.py Support condition for output 2016-08-25 09:10:33 +08:00
service_software_config.py Merge "Remove tenant_safe flag from rpc and db api" 2016-08-22 03:43:14 +00:00
service_stack_watch.py Remove tenant_safe flag from rpc and db api 2016-08-16 12:38:33 +05:30
software_config_io.py Add a replace_on_change option to the SW Config input schema 2016-08-18 12:57:54 -04:00
stack.py Support condition for output 2016-08-25 09:10:33 +08:00
stack_lock.py Remove tenant_safe flag from rpc and db api 2016-08-16 12:38:33 +05:30
support.py Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
sync_point.py Fix some spelling mistakes in heat as follows: 2016-06-23 12:39:48 +08:00
template.py Add a Macro class to heat.engine.function 2016-08-25 01:13:28 +00:00
template_common.py Add 'resources' to error msg path if res' condition invalid 2016-08-25 15:49:50 +08:00
template_files.py Create an admin context to refresh template files 2016-07-11 10:10:42 +12:00
timestamp.py Fix garbled docstrings 2015-11-10 11:12:36 -05:00
translation.py Improve validation for some functions 2016-07-08 08:59:58 +00:00
update.py Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
watchrule.py Always eager load the raw_template for a stack 2016-08-15 22:17:30 +00:00
worker.py Convergence: Cancel message 2016-07-05 07:52:03 +00:00