blob: db6b39bcb0e55c8417105b5ac95daea2c0a22562 [file] [log] [blame]
Éric Lemoine67201962016-12-14 14:48:30 +00001classes:
2- service.aodh.server.cluster
Oleksandr Shyshkod80ecd52018-09-04 18:06:42 +03003- system.salt.minion.cert.mysql.clients.openstack.aodh
Ondrej Smolae4108862017-10-16 16:19:41 +02004- service.haproxy.proxy.single
Éric Lemoine67201962016-12-14 14:48:30 +00005- system.haproxy.proxy.listen.openstack.aodh
Ondrej Smolae4108862017-10-16 16:19:41 +02006- system.keepalived.cluster.instance.openstack_telemetry_vip
Ondrej Smolac91c0622017-01-30 14:09:44 +01007parameters:
Mykyta Karpinb96cbb32018-06-01 16:34:47 +03008 _param:
9 openstack_event_alarm_topic: alarm.all
Mykyta Karpina243f262018-07-23 12:14:45 +030010 # Keep alarm history in database for 30 days
11 aodh_alarm_history_ttl: 2592000
Oleksandr Shyshkod80ecd52018-09-04 18:06:42 +030012 openstack_mysql_x509_enabled: False
13 galera_ssl_enabled: False
Dmitry Teselkin986260f2018-08-30 19:07:25 +030014 linux:
15 system:
16 cron:
17 user:
18 aodh:
19 enabled: true
Ondrej Smolac91c0622017-01-30 14:09:44 +010020 aodh:
21 server:
22 enabled: true
Mykyta Karpindc2b1c12018-07-17 10:17:06 +030023 role: ${_param:openstack_node_role}
Ondrej Smolac91c0622017-01-30 14:09:44 +010024 version: ${_param:aodh_version}
25 cluster: true
Mykyta Karpina243f262018-07-23 12:14:45 +030026 ttl: ${_param:aodh_alarm_history_ttl}
Ondrej Smolac91c0622017-01-30 14:09:44 +010027 debug: false
28 verbose: true
Dmitry Kalashnikbc186922017-03-28 22:44:03 +040029 region: ${_param:openstack_region}
Mykyta Karpinb96cbb32018-06-01 16:34:47 +030030 event_alarm_topic: ${_param:openstack_event_alarm_topic}
Ondrej Smolac91c0622017-01-30 14:09:44 +010031 database:
Oleh Hryhorova4908b02018-06-04 16:10:46 +030032 engine: "mysql"
Ondrej Smolac91c0622017-01-30 14:09:44 +010033 host: ${_param:openstack_database_address}
34 port: 3306
35 name: aodh
36 user: aodh
37 password: ${_param:mysql_aodh_password}
Oleksandr Shyshkod80ecd52018-09-04 18:06:42 +030038 x509:
39 enabled: ${_param:openstack_mysql_x509_enabled}
40 ca_file: ${_param:mysql_aodh_ssl_ca_file}
41 key_file: ${_param:mysql_aodh_client_ssl_key_file}
42 cert_file: ${_param:mysql_aodh_client_ssl_cert_file}
43 ssl:
44 enabled: ${_param:galera_ssl_enabled}
Ondrej Smolac91c0622017-01-30 14:09:44 +010045 bind:
46 host: ${_param:cluster_local_address}
47 port: 8042
48 identity:
49 engine: keystone
50 host: ${_param:keystone_service_host}
51 port: 35357
52 tenant: service
53 user: aodh
54 password: ${_param:keystone_aodh_password}
Mykyta Karpinf16f02d2018-07-05 12:49:46 +030055 region: ${_param:openstack_region}
Ondrej Smolac91c0622017-01-30 14:09:44 +010056 message_queue:
57 engine: rabbitmq
58 port: 5672
59 user: openstack
60 password: ${_param:rabbitmq_openstack_password}
61 virtual_host: '/openstack'
62 members:
63 - host: ${_param:openstack_message_queue_node01_address}
64 - host: ${_param:openstack_message_queue_node02_address}
Dmitry Kalashnikbc186922017-03-28 22:44:03 +040065 - host: ${_param:openstack_message_queue_node03_address}
Mykyta Karpina243f262018-07-23 12:14:45 +030066 # Check for expired alarm history every day at 2 AM
67 expirer:
68 cron:
69 minute: 0
70 hour: 2