blob: 53ec4177f610fa8ed1481147fb8790ce37d916df [file] [log] [blame]
Éric Lemoine67201962016-12-14 14:48:30 +00001classes:
2- service.aodh.server.cluster
Mykyta Karpin882dcac2018-11-30 16:37:28 +02003- system.aodh.upgrade
Oleksandr Shyshkod80ecd52018-09-04 18:06:42 +03004- system.salt.minion.cert.mysql.clients.openstack.aodh
Ondrej Smolae4108862017-10-16 16:19:41 +02005- service.haproxy.proxy.single
Éric Lemoine67201962016-12-14 14:48:30 +00006- system.haproxy.proxy.listen.openstack.aodh
Ondrej Smolae4108862017-10-16 16:19:41 +02007- system.keepalived.cluster.instance.openstack_telemetry_vip
Oleksandr Bryndzii33646d02018-09-19 11:08:31 +03008- system.salt.minion.cert.rabbitmq.clients.openstack.aodh
Ondrej Smolac91c0622017-01-30 14:09:44 +01009parameters:
Mykyta Karpinb96cbb32018-06-01 16:34:47 +030010 _param:
11 openstack_event_alarm_topic: alarm.all
Mykyta Karpina243f262018-07-23 12:14:45 +030012 # Keep alarm history in database for 30 days
13 aodh_alarm_history_ttl: 2592000
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
sgarbuz5f58dd72019-05-20 14:10:11 +030036 user: ${_param:mysql_aodh_username}
Ondrej Smolac91c0622017-01-30 14:09:44 +010037 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
sgarbuz5f58dd72019-05-20 14:10:11 +030053 user: ${_param:keystone_aodh_username}
Ondrej Smolac91c0622017-01-30 14:09:44 +010054 password: ${_param:keystone_aodh_password}
Mykyta Karpinf16f02d2018-07-05 12:49:46 +030055 region: ${_param:openstack_region}
Vasyl Saienko0343b682018-09-17 14:21:38 +030056 protocol: ${_param:cluster_internal_protocol}
Ondrej Smolac91c0622017-01-30 14:09:44 +010057 message_queue:
58 engine: rabbitmq
Oleksandr Shyshko3d1dd6f2018-09-20 18:22:04 +030059 port: ${_param:openstack_rabbitmq_port}
Ondrej Smolac91c0622017-01-30 14:09:44 +010060 user: openstack
61 password: ${_param:rabbitmq_openstack_password}
62 virtual_host: '/openstack'
63 members:
64 - host: ${_param:openstack_message_queue_node01_address}
65 - host: ${_param:openstack_message_queue_node02_address}
Dmitry Kalashnikbc186922017-03-28 22:44:03 +040066 - host: ${_param:openstack_message_queue_node03_address}
Oleksandr Bryndzii33646d02018-09-19 11:08:31 +030067 x509:
68 enabled: ${_param:openstack_rabbitmq_x509_enabled}
69 ca_file: ${_param:rabbitmq_aodh_ssl_ca_file}
70 key_file: ${_param:rabbitmq_aodh_client_ssl_key_file}
71 cert_file: ${_param:rabbitmq_aodh_client_ssl_cert_file}
72 ssl:
73 enabled: ${_param:rabbitmq_ssl_enabled}
Mykyta Karpina243f262018-07-23 12:14:45 +030074 # Check for expired alarm history every day at 2 AM
75 expirer:
76 cron:
77 minute: 0
78 hour: 2
Oleksandr Bryndziic72982c2018-10-24 11:50:20 +030079 cache:
80 security:
81 enabled: ${_param:aodh_memcache_security_enabled}
82 strategy: ${_param:openstack_memcache_security_strategy}
83 secret_key: ${_param:aodh_memcache_secret_key}