From 0c76a2acbff92c03e1ed2043de6fda0305b9023c Mon Sep 17 00:00:00 2001 From: marios Date: Mon, 8 Jan 2018 18:12:56 +0200 Subject: [PATCH] Start step at 0 for update_ + upgrade_steps_playbook In I93dc8b4cefbd729ba7afa3a4d81b4ac95344cac2 for bug 1717292 the step variable passed into the update_steps_playbook and the upgrade_steps_playbook outputs is set to start at sequence 1. This means that any upgrade or update_tasks that are expected to run in step 0 will never be executed. Change-Id: Ic2dab617269d47c4ea028cb35cdba2068a467ff9 Closes-Bug: 1741926 --- common/deploy-steps.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2 index 4b25a16089..535d63d15f 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -513,7 +513,7 @@ outputs: serial: 1 tasks: - include: update_steps_tasks.yaml - with_sequence: start=1 end={{update_steps_max-1}} + with_sequence: start=0 end={{update_steps_max-1}} loop_control: loop_var: step - include: deploy_steps_tasks.yaml @@ -529,6 +529,6 @@ outputs: - hosts: overcloud tasks: - include: upgrade_steps_tasks.yaml - with_sequence: start=1 end={{upgrade_steps_max-1}} + with_sequence: start=0 end={{upgrade_steps_max-1}} loop_control: loop_var: step