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
This commit is contained in:
Sofer Athlan-Guyot 2023-02-08 16:38:39 +01:00 committed by mciecier
parent a21d6b35ab
commit 536d92eef9
1 changed files with 31 additions and 0 deletions

View File

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