Add steps required to run minor update on overcloud

Add steps to multinode-overcloud-update.yml playbook which are required
before running full minor update on overcloud. 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 5d0662d735

View File

@ -1,4 +1,35 @@
---
# the yum repos ALWAYS need to change
- name: Configure next minor 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:
- minor_update|default(false)|bool
- not mixed_os|default(false)|bool
- name: Update containers file before minor update
hosts: undercloud
gather_facts: false
tags:
- overcloud-update
roles:
- role: container-update
when:
- minor_update|default(false)|bool
- not mixed_os|default(false)|bool
- name: Run tripleo-upgrade role to update the overcloud
hosts: undercloud
gather_facts: true