From a1463b13349e083009d2a6370d15171525b84a5d Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Fri, 24 Aug 2018 09:49:11 -0400 Subject: [PATCH] Distributed Cloud: Patch Orchestration Loop In Distributed Cloud patch orchestration stop-on-failure causes an exception loop. Set the current_stage when stopping on failure to allow patch orchestration to continue on other clouds. Closes-Bug: 1788882 Signed-off-by: Kristine Bujold --- dcmanager/manager/sw_update_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dcmanager/manager/sw_update_manager.py b/dcmanager/manager/sw_update_manager.py index 351649976..316c93ca8 100644 --- a/dcmanager/manager/sw_update_manager.py +++ b/dcmanager/manager/sw_update_manager.py @@ -435,6 +435,7 @@ class PatchOrchThread(threading.Thread): elif sw_update_strategy.stop_on_failure: # We have been told to stop on failures stop_after_stage = strategy_step.stage + current_stage = strategy_step.stage break continue # We have found the first step that isn't complete or failed.