8e3b79440c
This change allows the following use cases: 1. Using an already-configured MariaDB / MySQL server / Cluster 2. Using already-created DB users, without requiring root DB access. Update: added external mariadb precheck Change-Id: I78b0d178306d7c5293b0bf53e445f19f18b4b824 Implements: blueprint external-mariadb-support. Closes-Bug: #1603121
86 lines
3.2 KiB
YAML
86 lines
3.2 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: "{% if use_preconfigured_databases | bool and use_common_mariadb_user | bool %}{{ database_user }}{% else %}aodh{% endif %}"
|
|
aodh_database_address: "{{ database_address }}:{{ 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 }}"
|