From 1f45ee746acea80d4a994df2e9a1db43f0738a7c Mon Sep 17 00:00:00 2001 From: Jiri Stransky Date: Mon, 11 Jun 2018 13:59:37 +0200 Subject: [PATCH] Remove deploy playbook from `update run` We need the deploy steps as part of update playbook, to execute them with `serial: 1` (we need to start services on node A before proceeding to update node B). This is already happening correctly within the update playbook. After the update playbook we have been additionaly running deploy playbook on all nodes in parallel. That seems like a superfluous operation, in some environments considerably prolonging the time for minor update. The full deployment will be once again executed on all nodes in parallel during `update converge`, we don't need to do it in `update run` too. Change-Id: I513f655707c8a31f3621b96a756be9c468e3bd8b Closes-Bug: #1776206 (cherry picked from commit 560e467016db6121b421e059e4751e912a566400) --- tripleoclient/constants.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tripleoclient/constants.py b/tripleoclient/constants.py index 97873b44f..e198b691f 100644 --- a/tripleoclient/constants.py +++ b/tripleoclient/constants.py @@ -43,8 +43,7 @@ STACK_TIMEOUT = 240 # The default ffwd upgrade ansible playbooks generated from heat stack output FFWD_UPGRADE_PLAYBOOK = "fast_forward_upgrade_playbook.yaml" # The default minor update ansible playbooks generated from heat stack output -MINOR_UPDATE_PLAYBOOKS = ['update_steps_playbook.yaml', - 'deploy_steps_playbook.yaml'] +MINOR_UPDATE_PLAYBOOKS = ['update_steps_playbook.yaml'] # The default major upgrade ansible playbooks generated from heat stack output MAJOR_UPGRADE_PLAYBOOKS = ["upgrade_steps_playbook.yaml", "deploy_steps_playbook.yaml",