blob: f9b8682ae1ce049951a42daec2d978a474d9f69f [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
Dmitry Teselkin986260f2018-08-30 19:07:25 +030013 linux:
14 system:
15 cron:
16 user:
17 aodh:
18 enabled: true
Ondrej Smolac91c0622017-01-30 14:09:44 +010019 aodh:
20 server:
21 enabled: true
Mykyta Karpindc2b1c12018-07-17 10:17:06 +030022 role: ${_param:openstack_node_role}
Ondrej Smolac91c0622017-01-30 14:09:44 +010023 version: ${_param:aodh_version}
24 cluster: true
Mykyta Karpina243f262018-07-23 12:14:45 +030025 ttl: ${_param:aodh_alarm_history_ttl}
Ondrej Smolac91c0622017-01-30 14:09:44 +010026 debug: false
27 verbose: true
Dmitry Kalashnikbc186922017-03-28 22:44:03 +040028 region: ${_param:openstack_region}
Mykyta Karpinb96cbb32018-06-01 16:34:47 +030029 event_alarm_topic: ${_param:openstack_event_alarm_topic}
Ondrej Smolac91c0622017-01-30 14:09:44 +010030 database:
Oleh Hryhorova4908b02018-06-04 16:10:46 +030031 engine: "mysql"
Ondrej Smolac91c0622017-01-30 14:09:44 +010032 host: ${_param:openstack_database_address}
33 port: 3306
34 name: aodh
35 user: aodh
36 password: ${_param:mysql_aodh_password}
Oleksandr Shyshkod80ecd52018-09-04 18:06:42 +030037 x509:
38 enabled: ${_param:openstack_mysql_x509_enabled}
39 ca_file: ${_param:mysql_aodh_ssl_ca_file}
40 key_file: ${_param:mysql_aodh_client_ssl_key_file}
41 cert_file: ${_param:mysql_aodh_client_ssl_cert_file}
42 ssl:
43 enabled: ${_param:galera_ssl_enabled}
Ondrej Smolac91c0622017-01-30 14:09:44 +010044 bind:
45 host: ${_param:cluster_local_address}
46 port: 8042
47 identity:
48 engine: keystone
49 host: ${_param:keystone_service_host}
50 port: 35357
51 tenant: service
52 user: aodh
53 password: ${_param:keystone_aodh_password}
Mykyta Karpinf16f02d2018-07-05 12:49:46 +030054 region: ${_param:openstack_region}
Vasyl Saienko0343b682018-09-17 14:21:38 +030055 protocol: ${_param:cluster_internal_protocol}
Ondrej Smolac91c0622017-01-30 14:09:44 +010056 message_queue:
57 engine: rabbitmq
Oleksandr Shyshko3d1dd6f2018-09-20 18:22:04 +030058 port: ${_param:openstack_rabbitmq_port}
Ondrej Smolac91c0622017-01-30 14:09:44 +010059 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}
Oleksandr Bryndzii33646d02018-09-19 11:08:31 +030066 x509:
67 enabled: ${_param:openstack_rabbitmq_x509_enabled}
68 ca_file: ${_param:rabbitmq_aodh_ssl_ca_file}
69 key_file: ${_param:rabbitmq_aodh_client_ssl_key_file}
70 cert_file: ${_param:rabbitmq_aodh_client_ssl_cert_file}
71 ssl:
72 enabled: ${_param:rabbitmq_ssl_enabled}
Mykyta Karpina243f262018-07-23 12:14:45 +030073 # Check for expired alarm history every day at 2 AM
74 expirer:
75 cron:
76 minute: 0
77 hour: 2
Oleksandr Bryndziic72982c2018-10-24 11:50:20 +030078 cache:
79 security:
80 enabled: ${_param:aodh_memcache_security_enabled}
81 strategy: ${_param:openstack_memcache_security_strategy}
82 secret_key: ${_param:aodh_memcache_secret_key}