3a47baff8d
Since Rocky, the Undercloud is also containerized. The way to tell the undercloud which containers to use is by setting the right registry in containers-prepare-parameters.yaml file. This patch adds a new role named container-update which makes use of the parameters set in container-prep and substitute the relevant parameters inside containers-prepare-parameter.yaml file. The input for the role is the file used to configure the ContainerImagePrepare environment variable (defaults to containers-prepare-parameter.yaml). As part of the patch, it's been added a call to the newly added repo container-update into multinode-undercloud-upgrade.yaml playbook to update all needed parameters in containers-prepare-parameter.yaml before the Undercloud's upgrade. Change-Id: Icd4553f7c236080ebc529079142110a0b2e0ac2d
494 B
494 B
container-update
This role levarages from the container-prep role which updates the needed parameters to set up the containers-prepare-parameter file and updates with the right values. It is mostly intended for upgrades and updates workflows in which we need to update the containers registry details before performing the upgrade.
Role Variables
- containers_file: <containers-prepare-parameter.yaml> -- File containing the ContainerImagePrepare definition.