From 608589c9161e0c06e3bd38d9839ba4c56f039530 Mon Sep 17 00:00:00 2001 From: Haiwei Xu Date: Thu, 25 Jun 2015 11:38:18 +0900 Subject: [PATCH] Disable rollback by default Currently heat disables rollback by default when create/update stack fails. Senlin should keep in consistence with heat. Change-Id: Id9760abfda5197f52c5615890c7013f384d5ccc7 Partil-Bug: #1466352 --- senlinclient/common/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/senlinclient/common/utils.py b/senlinclient/common/utils.py index eca86ca6..eadad7a4 100644 --- a/senlinclient/common/utils.py +++ b/senlinclient/common/utils.py @@ -166,7 +166,7 @@ def process_stack_spec(spec): new_spec = { # TODO(Qiming): add context support - 'disable_rollback': spec.get('disable_rollback', False), + 'disable_rollback': spec.get('disable_rollback', True), 'context': spec.get('context', {}), 'parameters': spec.get('parameters', {}), 'timeout': spec.get('timeout', 60),