blob: 6d756d1b2ce1fcb15fd0f51b48da8ce81f75fe54 [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
Oleksandr Bryndzii33646d02018-09-19 11:08:31 +03007- system.salt.minion.cert.rabbitmq.clients.openstack.aodh
Ondrej Smolac91c0622017-01-30 14:09:44 +01008parameters:
Mykyta Karpinb96cbb32018-06-01 16:34:47 +03009 _param:
10 openstack_event_alarm_topic: alarm.all
Mykyta Karpina243f262018-07-23 12:14:45 +030011 # Keep alarm history in database for 30 days
12 aodh_alarm_history_ttl: 2592000
Oleksandr Shyshkod80ecd52018-09-04 18:06:42 +030013 openstack_mysql_x509_enabled: False
14 galera_ssl_enabled: False
Oleksandr Bryndzii33646d02018-09-19 11:08:31 +030015 openstack_rabbitmq_x509_enabled: False
16 rabbitmq_ssl_enabled: False
Dmitry Teselkin986260f2018-08-30 19:07:25 +030017 linux:
18 system:
19 cron:
20 user:
21 aodh:
22 enabled: true
Ondrej Smolac91c0622017-01-30 14:09:44 +010023 aodh:
24 server:
25 enabled: true
Mykyta Karpindc2b1c12018-07-17 10:17:06 +030026 role: ${_param:openstack_node_role}
Ondrej Smolac91c0622017-01-30 14:09:44 +010027 version: ${_param:aodh_version}
28 cluster: true
Mykyta Karpina243f262018-07-23 12:14:45 +030029 ttl: ${_param:aodh_alarm_history_ttl}
Ondrej Smolac91c0622017-01-30 14:09:44 +010030 debug: false
31 verbose: true
Dmitry Kalashnikbc186922017-03-28 22:44:03 +040032 region: ${_param:openstack_region}
Mykyta Karpinb96cbb32018-06-01 16:34:47 +030033 event_alarm_topic: ${_param:openstack_event_alarm_topic}
Ondrej Smolac91c0622017-01-30 14:09:44 +010034 database:
Oleh Hryhorova4908b02018-06-04 16:10:46 +030035 engine: "mysql"
Ondrej Smolac91c0622017-01-30 14:09:44 +010036 host: ${_param:openstack_database_address}
37 port: 3306
38 name: aodh
39 user: aodh
40 password: ${_param:mysql_aodh_password}
Oleksandr Shyshkod80ecd52018-09-04 18:06:42 +030041 x509:
42 enabled: ${_param:openstack_mysql_x509_enabled}
43 ca_file: ${_param:mysql_aodh_ssl_ca_file}
44 key_file: ${_param:mysql_aodh_client_ssl_key_file}
45 cert_file: ${_param:mysql_aodh_client_ssl_cert_file}
46 ssl:
47 enabled: ${_param:galera_ssl_enabled}
Ondrej Smolac91c0622017-01-30 14:09:44 +010048 bind:
49 host: ${_param:cluster_local_address}
50 port: 8042
51 identity:
52 engine: keystone
53 host: ${_param:keystone_service_host}
54 port: 35357
55 tenant: service
56 user: aodh
57 password: ${_param:keystone_aodh_password}
Mykyta Karpinf16f02d2018-07-05 12:49:46 +030058 region: ${_param:openstack_region}
Vasyl Saienko0343b682018-09-17 14:21:38 +030059 protocol: ${_param:cluster_internal_protocol}
Ondrej Smolac91c0622017-01-30 14:09:44 +010060 message_queue:
61 engine: rabbitmq
62 port: 5672
63 user: openstack
64 password: ${_param:rabbitmq_openstack_password}
65 virtual_host: '/openstack'
66 members:
67 - host: ${_param:openstack_message_queue_node01_address}
68 - host: ${_param:openstack_message_queue_node02_address}
Dmitry Kalashnikbc186922017-03-28 22:44:03 +040069 - host: ${_param:openstack_message_queue_node03_address}
Oleksandr Bryndzii33646d02018-09-19 11:08:31 +030070 x509:
71 enabled: ${_param:openstack_rabbitmq_x509_enabled}
72 ca_file: ${_param:rabbitmq_aodh_ssl_ca_file}
73 key_file: ${_param:rabbitmq_aodh_client_ssl_key_file}
74 cert_file: ${_param:rabbitmq_aodh_client_ssl_cert_file}
75 ssl:
76 enabled: ${_param:rabbitmq_ssl_enabled}
Mykyta Karpina243f262018-07-23 12:14:45 +030077 # Check for expired alarm history every day at 2 AM
78 expirer:
79 cron:
80 minute: 0
81 hour: 2