heat/heat/engine
Zane Bitter 0e1b4908e5 Fix no-change updates of failed resources with restricted actions
If a resource is in a FAILED state, but the plugin overrides
_needs_update() to not raise UpdateReplace, and also no actual update is
required, we simply change the resource's state to UPDATE_COMPLETE.
However, if there were restricted actions set in the environment, this code
path was not executed. The behaviour should be the same regardless of
whether there are restrictions that have been checked.

Change-Id: Ib3ed081f9f26f4f9172c681bf9ebccb7cdc3ca9c
Related-Bug: #1663522
2017-07-21 22:00:20 -04:00
..
cfn Add an add_output() method to Template 2017-06-29 09:07:02 -04:00
clients Merge "Add tag for server nic" 2017-07-18 11:00:31 +00:00
constraint New common constraint 'Expiration' 2016-08-01 12:43:42 +03:00
hot Merge "Support 'permutations' for 'repeat' function" 2017-07-21 04:33:36 +00:00
notification Trivial:Standardize the output format of 'help' in some files 2016-09-21 14:12:27 +08:00
resources Merge "Fix subnet validate() for subnetpool resource ref" 2017-07-21 09:44:55 +00:00
__init__.py
api.py Always return live resource attributes in list_stack_resources 2017-06-08 21:48:17 -04:00
attributes.py Cache attributes with custom handling 2017-06-27 22:08:03 -04:00
check_resource.py Store resource attributes in the DB 2017-06-21 20:18:46 -04:00
conditions.py Allows condition name using boolean or function 2016-09-12 21:40:06 -04:00
constraints.py Remove log translations 2017-03-25 17:11:50 +08:00
dependencies.py Use __slots__ for dependencies.Node 2016-12-01 15:35:15 -05:00
environment.py Use pydoc for formatting docstrings 2017-03-28 15:36:53 +00:00
event.py Fix i18n issue in event.py 2017-01-26 14:53:39 +00:00
function.py Resolve Macros when copying templates 2017-06-22 16:49:45 -04:00
lifecycle_plugin.py Fix garbled docstrings 2015-11-10 11:12:36 -05:00
node_data.py Add a NodeData class to roll up resource data 2017-02-24 10:10:26 -05:00
output.py Add an add_output() method to Template 2017-06-29 09:07:02 -04:00
parameter_groups.py Get rid of bogus debug logging in parameter groups 2015-12-04 19:56:56 -05:00
parameters.py Merge "Pretty print parameters in stack-show" 2017-06-22 14:53:45 +00:00
parent_rsrc.py Separate management of parent resource into separate class 2017-02-24 10:19:21 -05:00
plugin_manager.py Remove log translations 2017-03-25 17:11:50 +08:00
properties.py Fix translated required properties 2017-04-26 15:08:34 +02:00
properties_group.py Initial PropertiesGroup implementation 2016-11-07 14:29:17 +03:00
resource.py Fix no-change updates of failed resources with restricted actions 2017-07-21 22:00:20 -04:00
rsrc_defn.py Enable new translation mechanism 2017-04-12 12:02:43 +00:00
scheduler.py Get cancellation grace period correctly 2017-06-29 01:47:08 +00:00
service.py Merge "Always cache attributes in outputs in Resource.node_data()" 2017-07-19 08:28:06 +00:00
service_software_config.py Use six.text_type() instead of str() to serialise status 2017-05-22 15:53:39 -04:00
service_stack_watch.py Error log expression. 2017-03-28 13:16:21 +08:00
software_config_io.py Ignore string default for software config input 2017-06-20 16:21:11 +02:00
stack.py Merge "Allow only validate external resource template" 2017-07-21 02:20:54 +00:00
stack_lock.py Remove log translations 2017-03-25 17:11:50 +08:00
status.py Define resource actions/statuses in a separate class 2017-02-24 10:19:21 -05:00
stk_defn.py Update NodeData in legacy path 2017-04-05 12:39:46 -04:00
support.py Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
sync_point.py Cache attributes with custom handling 2017-06-27 22:08:03 -04:00
template.py Add an add_output() method to Template 2017-06-29 09:07:02 -04:00
template_common.py Allows condition name using boolean or function 2016-09-12 21:40:06 -04:00
template_files.py Remove db.api wrapper 2016-12-13 09:40:29 +01:00
timestamp.py Fix garbled docstrings 2015-11-10 11:12:36 -05:00
translation.py Remove unnecessary old translation mechanism 2017-04-12 12:02:54 +00:00
update.py Update NodeData in legacy path 2017-04-05 12:39:46 -04:00
watchrule.py Explicitly compare IDs to None 2017-05-02 16:29:35 -04:00
worker.py Merge "Fix _retrigger_replaced in convergence worker" 2017-07-21 10:53:03 +00:00