4a4bd9c06a
This change removes logic for releases older than train, because these releases are already EOLed. This covers only overcloud-* roles and playbooks and the other items will be covered by separate changes. Note that this change also removes the containerized_* variables because current active releases(>=Train) no longer supports non-containerized deployment. The containerized_overcloud_upgrade variable is still left because the variable is still required by the tripleo-ci-base-multinode-standard job template. Change-Id: If29ec2c2219a28a1f79db0e552e2c622c0a7bda6
17 lines
746 B
Django/Jinja
17 lines
746 B
Django/Jinja
#!/usr/bin/env bash
|
|
|
|
source {{ working_dir }}/stackrc
|
|
|
|
export OVERCLOUD_ROLES=""
|
|
{% for role in deployed_server_overcloud_roles %}
|
|
OVERCLOUD_ROLES="$OVERCLOUD_ROLES {{ role.name }}"
|
|
export {{ role.name }}_hosts={{ role.hosts }}
|
|
{% endfor %}
|
|
export OVERCLOUD_HOSTS="{{ deployed_server_overcloud_roles|map(attribute='hosts')|join(' ') }}"
|
|
|
|
{% set get_occ_config_script = overcloud_templates_path|default('/usr/share/openstack-tripleo-heat-templates') ~ '/deployed-server/scripts/get-occ-config.sh' %}
|
|
|
|
{{ get_occ_config_script }} 2>&1 | sudo dd of=/var/log/deployed-server-os-collect-config.log
|
|
|
|
/usr/share/openstack-tripleo-heat-templates/deployed-server/scripts/enable-ssh-admin.sh 2>&1 | sudo dd of=/var/log/deployed-server-enable-ssh-admin.log
|