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 <kristine.bujold@windriver.com>
This commit is contained in:
Kevin Smith 2018-08-24 09:49:11 -04:00 committed by Kristine Bujold
parent e82c7b4336
commit a1463b1334
1 changed files with 1 additions and 0 deletions

View File

@ -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.