1.9 KiB
1.9 KiB
check_uc_hostname
About the role
Ansible role to check DockerInsecureRegistryAddress
matches the UC hostname.
The purpose of this validation is mostly target for the FFWD 13 to 16.X procedure.
Customer is expected to follow the step 9.3. Configuring access to the undercloud registry
The customer needs to retrieve the control plane host name on the
undercloud and add it into the
DockerInsecureRegistryAddress
.
It might happen that the user misses this step or doesn't really add
the right control plan host name and then podman
fails to
retrieve the containers.
To summarize what customer is expected to do:
- Run
sudo hiera container_image_prepare_node_names
to get host name(s) - Edit the containers-prepare-parameter.yaml file and the
DockerInsecureRegistryAddress
parameter with host name and IP of the undercloud.
This validation will:
- Pull
DockerInsecureRegistryAddress
(list) from the Openstack environment - Run
sudo hiera container_image_prepare_node_names
- Verify the container_image_prepare_node_names returned from
hiera
is contained in theDockerInsecureRegistryAddress
list.
Requirements
This role will be executed pre Overcloud Update.
Dependencies
No Dependencies
Example Playbook
- hosts: servers
vars:
check_uc_hostname_debug: true
roles:
- check_uc_hostname
License
Apache
Author Information
Red Hat TripleO DFG:Upgrades