From 536d92eef972946ffa7cce14b9caf4b858474bb9 Mon Sep 17 00:00:00 2001 From: Sofer Athlan-Guyot Date: Wed, 8 Feb 2023 16:38:39 +0100 Subject: [PATCH] Add steps required to run minor update on overcloud Add steps to multinode-overcloud-update.yml playbook which are required before running overcloud update. The prerequisites for starting overcloud update for tripleo-upgrade are: - updated dlrn repos definitions on overcloud nodes - updated containers-prepare-parameter.yaml file on undercloud Resolves: #2015993 Depends-On: https://review.opendev.org/c/openstack/tripleo-ci/+/880162 Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/883307 Change-Id: I2829307d1013e96317338eccc7a4b16376fb1d2b --- playbooks/multinode-overcloud-update.yml | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/playbooks/multinode-overcloud-update.yml b/playbooks/multinode-overcloud-update.yml index af04fbca5..c6f01747f 100644 --- a/playbooks/multinode-overcloud-update.yml +++ b/playbooks/multinode-overcloud-update.yml @@ -1,4 +1,35 @@ --- +# the yum repos ALWAYS need to change +- name: Configure next release repository on overcloud nodes + hosts: overcloud + gather_facts: false + tags: + - overcloud-update + vars: + repo_setup_script: "repo-setup-update.sh" + repo_setup_log: "repo-setup-update.log" + repo_setup_run_update: false + # This should not be enabled because the updating of the packages occurs + # durring the upgrade process. For general installation it's ok to have + # this enabled, but this needs to be disabled for upgrades + ib_gating_repo_update: false + roles: + - role: repo-setup + when: + - not mixed_os|default(false)|bool + +- name: Set container updated dlrn tag for minor update testing + hosts: undercloud + gather_facts: false + tags: + - overcloud-update + roles: + - role: container-update + when: + - containerized_undercloud|default(false)|bool + - overcloud_update|default(false)|bool + - not mixed_os|default(false)|bool + - name: Run tripleo-upgrade role to update the overcloud hosts: undercloud gather_facts: true