74242ee904
In case Kolla's users want to deploy with both of binary and source image, we should have a variable install type that define install type for each project. We also add specific image tag for each Openstack project. This commit is implemented for Sahara, Searchlight, Senlin, Solum and Swift projects. Change-Id: I964796b2f9e3eae69d7eccf68e9428ce9390010c Implements: blueprint mixing-binary-and-source-image
90 lines
3.6 KiB
YAML
90 lines
3.6 KiB
YAML
---
|
|
project_name: "solum"
|
|
|
|
solum_services:
|
|
solum-api:
|
|
container_name: solum_api
|
|
group: solum-api
|
|
enabled: true
|
|
image: "{{ solum_api_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/solum-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
solum-worker:
|
|
container_name: solum_worker
|
|
group: solum-worker
|
|
enabled: true
|
|
image: "{{ solum_worker_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/solum-worker/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
solum-deployer:
|
|
container_name: solum_deployer
|
|
group: solum-deployer
|
|
enabled: true
|
|
image: "{{ solum_deployer_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/solum-deployer/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
solum-conductor:
|
|
container_name: solum_conductor
|
|
group: solum-conductor
|
|
enabled: true
|
|
image: "{{ solum_conductor_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/solum-conductor/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
solum_database_name: "solum"
|
|
solum_database_user: "solum"
|
|
solum_database_address: "{{ kolla_internal_fqdn }}:{{ database_port }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
solum_install_type: "{{ kolla_install_type }}"
|
|
solum_tag: "{{ openstack_release }}"
|
|
|
|
solum_worker_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ solum_install_type }}-solum-worker"
|
|
solum_worker_tag: "{{ solum_tag }}"
|
|
solum_worker_image_full: "{{ solum_worker_image }}:{{ solum_worker_tag }}"
|
|
|
|
solum_deployer_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ solum_install_type }}-solum-deployer"
|
|
solum_deployer_tag: "{{ solum_tag }}"
|
|
solum_deployer_image_full: "{{ solum_deployer_image }}:{{ solum_deployer_tag }}"
|
|
|
|
solum_conductor_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ solum_install_type }}-solum-conductor"
|
|
solum_conductor_tag: "{{ solum_tag }}"
|
|
solum_conductor_image_full: "{{ solum_conductor_image }}:{{ solum_conductor_tag }}"
|
|
|
|
solum_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ solum_install_type }}-solum-api"
|
|
solum_api_tag: "{{ solum_tag }}"
|
|
solum_api_image_full: "{{ solum_api_image }}:{{ solum_api_tag }}"
|
|
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
solum_image_builder_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ solum_image_builder_port }}"
|
|
solum_image_builder_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ solum_image_builder_port }}"
|
|
solum_image_builder_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ solum_image_builder_port }}"
|
|
|
|
solum_application_deployment_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ solum_application_deployment_port }}"
|
|
solum_application_deployment_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ solum_application_deployment_port }}"
|
|
solum_application_deployment_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ solum_application_deployment_port }}"
|
|
|
|
solum_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
solum_keystone_user: "solum"
|
|
|
|
openstack_solum_auth: "{{ openstack_auth }}"
|