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
187 lines
5.4 KiB
YAML
187 lines
5.4 KiB
YAML
---
|
|
|
|
# Script and log locations used during the deploy process.
|
|
stack_name: "overcloud"
|
|
deploy_script: overcloud-deploy.sh.j2
|
|
deploy_cell_script: overcloud-deploy-cell.sh.j2
|
|
deploy_log: "{{ working_dir }}/{{ stack_name }}_deploy.log"
|
|
deploy_cell_log: "{{ working_dir }}/cell_deploy.log"
|
|
post_deploy_script: overcloud-deploy-post.sh.j2
|
|
post_deploy_log: "{{ working_dir }}/{{ stack_name }}_deploy_post.log"
|
|
failed_deployments_log: "{{ working_dir }}/failed_deployments.log"
|
|
failed_deployment_list: "{{ working_dir }}/failed_deployment_list.log"
|
|
failed_cell_deployment_list: "{{ working_dir }}/failed_cell_deployment_list.log"
|
|
failed_cell_deployments_log: "{{ working_dir }}/failed_cell_deployments.log"
|
|
tripleo_config_download_log: "{{ working_dir }}/tripleo_config_download.log"
|
|
ansible_steps_log: "{{ working_dir }}/ansible_steps.log"
|
|
validate_script: overcloud-validate.sh.j2
|
|
|
|
# Deploy a specific scenario THT to the Overcloud
|
|
composable_scenario: ""
|
|
|
|
# `floating_ip_cidr` controls the address range used in the network
|
|
# created for tempest tests. We use Ansible's [ipaddr][] filter to
|
|
# calculate addresses within this range so that you can provide a
|
|
# different value for `floating_ip_cidr` and in many cases not need to
|
|
# change any of the related variables.
|
|
#
|
|
# [ipaddr]: http://docs.ansible.com/ansible/playbooks_filters_ipaddr.html
|
|
floating_ip_cidr: "{{ undercloud_network_cidr }}"
|
|
floating_ip_start: "{{ floating_ip_cidr|nthhost(100) }}"
|
|
floating_ip_end: "{{ floating_ip_cidr|nthhost(120) }}"
|
|
external_network_gateway: "{{ floating_ip_cidr|nthhost(1) }}"
|
|
|
|
# Minutes to wait before giving up on the deploy.
|
|
deploy_timeout: 90
|
|
|
|
# Disable cinder backup by default
|
|
enable_cinder_backup: false
|
|
|
|
# Deployment variations
|
|
composable_args: ""
|
|
extra_args: ""
|
|
topology: ""
|
|
ssl_overcloud: false
|
|
libvirt_args: "--libvirt-type {{ virt_type|default('qemu') }}"
|
|
deploy_ha_ovn: false
|
|
|
|
use_git_tht_repo: false
|
|
tht_branch: master
|
|
overcloud_release: "{{ release }}"
|
|
|
|
timeout_args: "--timeout {{ deploy_timeout }}"
|
|
|
|
set_overcloud_workers: true
|
|
|
|
cloud_name_args: ""
|
|
hostnamemap_args: ""
|
|
network_args: ""
|
|
storage_args: ""
|
|
overcloud_cinder_lvm_loop_device_size: 20480
|
|
network_isolation_args: ""
|
|
ntp_args: ""
|
|
pacemaker_args: ""
|
|
workers_args: ""
|
|
backup_args: ""
|
|
resource_registry_nic_configs_args: ""
|
|
use_resource_registry_nic_configs: false
|
|
|
|
ssl_args: ""
|
|
tls_everywhere_args: ""
|
|
validation_args: "--validation-warnings-fatal"
|
|
|
|
enable_swap: false
|
|
swap_type: "file"
|
|
swap_args: ""
|
|
|
|
deployed_server_overcloud_roles:
|
|
- name: Controller
|
|
hosts: "$(sed -n 1,1p /etc/nodepool/sub_nodes_private)"
|
|
|
|
deployed_server_prepare_script: deployed_server_prepare.sh.j2
|
|
deployed_server_prepare_log: "{{ working_dir }}/deployed_server_prepare.txt"
|
|
|
|
container_args: ""
|
|
scenario_args: ""
|
|
topology_args: ""
|
|
multinode_args: ""
|
|
fips_args: ""
|
|
ovn_args: ""
|
|
telemetry_args: ""
|
|
config_download_args: ""
|
|
ephemeral_heat_args: ""
|
|
selinux_args: ""
|
|
|
|
deploy_args: >-
|
|
{{ libvirt_args }}
|
|
{{ timeout_args }}
|
|
{{ ntp_args }}
|
|
{{ cloud_name_args }}
|
|
{{ hostnamemap_args }}
|
|
{{ multinode_args }}
|
|
{{ fips_args }}
|
|
{{ ovn_args }}
|
|
{{ pacemaker_args }}
|
|
{{ container_args }}
|
|
{{ scenario_args }}
|
|
{{ network_args }}
|
|
{{ storage_args }}
|
|
{{ resource_registry_nic_configs_args }}
|
|
{{ workers_args }}
|
|
{{ backup_args }}
|
|
{{ ssl_args }}
|
|
{{ tls_everywhere_args }}
|
|
{{ telemetry_args }}
|
|
{{ extra_tht_config_args|default('') }}
|
|
{{ validation_args }}
|
|
{{ swap_args }}
|
|
{{ composable_args }}
|
|
{{ topology }}
|
|
{{ topology_args }}
|
|
{{ config_download_args }}
|
|
{{ ephemeral_heat_args }}
|
|
{{ selinux_args }}
|
|
{{ extra_args }}
|
|
|
|
composable_roles: false
|
|
composable_services: false
|
|
deploy_multinode: false
|
|
enable_fips: false
|
|
ephemeral_heat: false
|
|
|
|
step_deploy_overcloud: true
|
|
step_deploy_cell: true
|
|
|
|
deploy_steps_ansible_workflow: false
|
|
|
|
step_validate_overcloud: true
|
|
prepare_tempest: false
|
|
|
|
# If `test_tempest` is `true`, run tempests tests, otherwise do not
|
|
# run them.
|
|
test_tempest: false
|
|
tempest_regex: smoke
|
|
tempest_workers: 2
|
|
|
|
# enable IPv6 on overcloud deployment
|
|
overcloud_ipv6: false
|
|
|
|
# Wait for hypervisor in the deployment script
|
|
hypervisor_wait: true
|
|
|
|
overcloud_services:
|
|
- name: 'ControllerServices:'
|
|
services:
|
|
- OS::TripleO::Services::Kernel
|
|
|
|
ara_overcloud_db_path: "/var/lib/mistral/overcloud/ara_overcloud.sqlite"
|
|
override_ansiblecfg: true
|
|
|
|
# Use to populate the resource registry for nic configs
|
|
resource_registry_args:
|
|
OS::TripleO::BlockStorage::Net::SoftwareConfig: nic-configs/cinder-storage.yaml
|
|
OS::TripleO::Compute::Net::SoftwareConfig: nic-configs/compute.yaml
|
|
OS::TripleO::Controller::Net::SoftwareConfig: nic-configs/controller.yaml
|
|
OS::TripleO::ObjectStorage::Net::SoftwareConfig: nic-configs/swift-storage.yaml
|
|
OS::TripleO::CephStorage::Net::SoftwareConfig: nic-configs/ceph-storage.yaml
|
|
|
|
# This default is set in roles/extras-common/defaults/main.yml
|
|
# overcloud_container_cli
|
|
|
|
# We disable selinux when running under CentOS. It's enabled for RHEL
|
|
overcloud_selinux_enabled: >-
|
|
{% if osp_release is defined -%}
|
|
enforcing
|
|
{%- else -%}
|
|
permissive
|
|
{%- endif -%}
|
|
|
|
network_data_yaml: "{{ overcloud_templates_path }}/ci/network_data.yaml"
|
|
vip_data_yaml: "{{ overcloud_templates_path }}/ci/vip_data.yaml"
|
|
|
|
# Use default network topology - InternalApi, StorageMgmt, Storage, tenant,
|
|
# External. In featureset064: we set this as false as we don't want to
|
|
# use the default cloud-names.yaml created from cloud-names.yaml.j2 and use
|
|
# the values we defined in ci tht templates for custom networks.
|
|
non_custom_network: true
|