5f375a6a0d
One of the issues identified in the FFU testing was that the
configured DockerInsecureRegistryAddress parameter was not pointing at
the right UC hostname.
Causing issues when retrieving the containers.
This validation retrieve the value for DockerInsecureRegistryAddress
configured in containers-prepare-parameter.yaml file and matches it to
the UC hostname configured in the undercloud.conf.
Co-Authored-By: Daniel Bengtsson <dbengt@redhat.com>
Co-Authored-By: Gaël Chamoulaud <gchamoul@redhat.com>
Change-Id: Iab2e8823996d305d6d8807bb93f4d2f6e1c96906
(cherry picked from commit
|
||
---|---|---|
.. | ||
defaults | ||
molecule/default | ||
tasks | ||
README.md |
README.md
Check-uc-hostname
Add Ansible role to check DockerInsecureRegistryAddress matches the UC hostname.
Requirements
This role will be executed pre Overcloud Update, and post Update
Role Variables
check_uc_hostname_debug
: <'false'> -- debugging mode.check_uc_hostname_containers
: <'{{ansible_env.HOME}}/containers-prepare-parameter.yaml'> -- Sets the default path to thecontainers-prepare-parameters.yaml
file on the Undercloud.check_uc_hostname_undercloud
: <'{{ ansible_env.HOME }}/undercloud.conf'> -- Sets the default path to theundercloud.conf
file on the Undercloud.
Dependencies
No Dependencies
Example Playbook
- hosts: servers
roles:
- { role: check_uc_hostname, check_uc_hostname_debug: true }
License
Apache
Author Information
Red Hat TripleO DFG:Upgrades