a02e597e58
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 Aodh, Barbican and Bifrost projects. Change-Id: I926c9631c860b527941c40addc68896dd27bd1cc Implements: blueprint mixing-binary-and-source-image
86 lines
3.1 KiB
YAML
86 lines
3.1 KiB
YAML
---
|
|
project_name: "aodh"
|
|
|
|
aodh_services:
|
|
aodh-api:
|
|
container_name: aodh_api
|
|
group: aodh-api
|
|
enabled: true
|
|
image: "{{ aodh_api_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/aodh-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "aodh:/var/lib/aodh/"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
aodh-evaluator:
|
|
container_name: aodh_evaluator
|
|
group: aodh-evaluator
|
|
enabled: true
|
|
image: "{{ aodh_evaluator_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/aodh-evaluator/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
aodh-listener:
|
|
container_name: aodh_listener
|
|
group: aodh-listener
|
|
enabled: true
|
|
image: "{{ aodh_listener_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/aodh-listener/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
aodh-notifier:
|
|
container_name: aodh_notifier
|
|
group: aodh-notifier
|
|
enabled: true
|
|
image: "{{ aodh_notifier_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/aodh-notifier/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
aodh_database_name: "aodh"
|
|
aodh_database_user: "aodh"
|
|
aodh_database_address: "{{ kolla_internal_fqdn }}:{{ database_port }}"
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
aodh_install_type: "{{ kolla_install_type }}"
|
|
aodh_tag: "{{ openstack_release }}"
|
|
|
|
aodh_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ aodh_install_type }}-aodh-api"
|
|
aodh_api_tag: "{{ aodh_tag }}"
|
|
aodh_api_image_full: "{{ aodh_api_image }}:{{ aodh_api_tag }}"
|
|
|
|
aodh_evaluator_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ aodh_install_type }}-aodh-evaluator"
|
|
aodh_evaluator_tag: "{{ aodh_tag }}"
|
|
aodh_evaluator_image_full: "{{ aodh_evaluator_image }}:{{ aodh_evaluator_tag }}"
|
|
|
|
aodh_listener_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ aodh_install_type }}-aodh-listener"
|
|
aodh_listener_tag: "{{ aodh_tag }}"
|
|
aodh_listener_image_full: "{{ aodh_listener_image }}:{{ aodh_listener_tag }}"
|
|
|
|
aodh_notifier_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ aodh_install_type }}-aodh-notifier"
|
|
aodh_notifier_tag: "{{ aodh_tag }}"
|
|
aodh_notifier_image_full: "{{ aodh_notifier_image }}:{{ aodh_notifier_tag }}"
|
|
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
aodh_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ aodh_api_port }}"
|
|
aodh_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ aodh_api_port }}"
|
|
aodh_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ aodh_api_port }}"
|
|
|
|
aodh_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
aodh_keystone_user: "aodh"
|
|
|
|
openstack_aodh_auth: "{{ openstack_auth }}"
|