9755c924be
For the CentOS 7 to 8 transition, we will have a period where both CentOS 7 and 8 images are available. We differentiate these images via a tag - the CentOS 8 images will have a tag of train-centos8 (or master-centos8 temporarily). To achieve this, and maintain backwards compatibility for the openstack_release variable, we introduce a new 'openstack_tag' variable. This variable is based on openstack_release, but has a suffix of 'openstack_tag_suffix', which is empty except on CentOS 8 where it has a value of '-centos8'. Change-Id: I12ce4661afb3c255136cdc1aabe7cbd25560d625 Partially-Implements: blueprint centos-rhel-8
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
---
|
|
project_name: "rally"
|
|
|
|
rally_services:
|
|
rally:
|
|
container_name: "rally"
|
|
image: "{{ rally_image_full }}"
|
|
enabled: true
|
|
group: "rally"
|
|
volumes: "{{ rally_default_volumes + rally_extra_volumes }}"
|
|
dimensions: "{{ rally_dimensions }}"
|
|
|
|
|
|
########
|
|
# Docker
|
|
########
|
|
rally_install_type: "{{ kolla_install_type }}"
|
|
rally_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ rally_install_type }}-rally"
|
|
rally_tag: "{{ openstack_tag }}"
|
|
rally_image_full: "{{ rally_image }}:{{ rally_tag }}"
|
|
rally_dimensions: "{{ default_container_dimensions }}"
|
|
|
|
rally_default_volumes:
|
|
- "{{ node_config_directory }}/rally/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
rally_extra_volumes: "{{ default_extra_volumes }}"
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
rally_database_name: "rally"
|
|
rally_database_user: "{% if use_preconfigured_databases | bool and use_common_mariadb_user | bool %}{{ database_user }}{% else %}rally{% endif %}"
|
|
rally_database_address: "{{ database_address | put_address_in_context('url') }}:{{ database_port }}"
|