fc222b3963
There is some ongoing work to deploy the overcloud steps from Ansible. This patch aims to add the support for testing the feature. Parameters additions: - tripleo_config_download_log`: Sets the TripleO config-download log file path. - ansible_steps_log`: Sets the TripleO Ansible steps log file path. - config_download_args`: Sets the arguments to load config-download environment in THT. - step_tripleo_config_download`: false/true - whether to enable config-download. - deploy_steps_ansible`: false/true - whether to deploy the overcloud with config-download Ansible steps. Log collection (temporary, until we have a Mistral workflow): - /home/*/inventory - /home/*/tripleo-config-download/ Steps added to the overcloud-deploy: - Create config-downlad environment - Download TripleO configuration with tripleo-config-download - Add subnodes to known hosts - Deploy overcloud steps with Ansible Other: templates/config-download.yaml.j2 file is added to configure OS::TripleO::DeployedServer::ControlPlanePort resource_registry and also HostnameMap + DeployedServerPortMap. Some of the tasks implemented here are temporary and will be removed once we have a clean Mistral workflow. Co-Authored-By: James Slagle <jslagle@redhat.com> Co-Authored-By: Emilien Macchi <emilien@redhat.com> Implements: blueprint ansible-config-download Change-Id: I3a66e4a22d7bf15eddc5be1604af2b5737d49055
15 lines
485 B
Django/Jinja
15 lines
485 B
Django/Jinja
resource_registry:
|
|
OS::TripleO::DeployedServer::ControlPlanePort: /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-neutron-port.yaml
|
|
|
|
parameter_defaults:
|
|
HostnameMap:
|
|
{% for subnode in groups['overcloud'] %}
|
|
overcloud-controller-0: {{ hostvars[subnode]['ansible_hostname'] }}
|
|
DeployedServerPortMap:
|
|
{{ hostvars[subnode]['ansible_hostname'] }}-ctlplane:
|
|
fixed_ips:
|
|
- ip_address: 192.168.24.3
|
|
subnet:
|
|
- cidr: 24
|
|
{% endfor %}
|