aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack_mitaka/roles/aodh/templates/aodh.conf.j2
blob: 752dd0f081165742747cded32e5d2c76dac6b6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{% set memcached_servers = [] %}
{% for host in haproxy_hosts.values() %}
{% set _ = memcached_servers.append('%s:11211'% host) %}
{% endfor %}
{% set memcached_servers = memcached_servers|join(',') %}

[DEFAULT]
bind_host = {{ internal_ip }}
bind_port = 8042
rpc_backend = rabbit
auth_strategy = keystone
debug = True

[oslo_messaging_rabbit]
rabbit_hosts = {{ internal_vip.ip }}
rabbit_userid = {{ RABBIT_USER }}
rabbit_password = {{ RABBIT_PASS }}
#rabbit_use_ssl = false

[database]
connection = mysql://aodh:{{ AODH_DBPASS }}@{{ db_host }}/aodh

[keystone_authtoken]
auth_uri = http://{{ internal_vip.ip }}:5000/v2.0
auth_url = http://{{ internal_vip.ip }}:35357
identity_uri = http://{{ internal_vip.ip }}:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = aodh
password = {{ AODH_PASS }}
memcached_servers = {{ memcached_servers }}
token_cache_time = 300
revocation_cache_time = 60

[service_credentials]
os_auth_url = http://{{ internal_vip.ip }}:5000/v2.0
os_username = aodh
os_tenant_name = service
os_password = {{ AODH_PASS }}
os_endpoint_type = internalURL
os_region_name = RegionOne

[api]
host = {{ internal_ip }}