blob: 444050a531c699d1adc169f3cd0e86ec73952c19 [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
Oleksandr Shyshko3d1dd6f2018-09-20 18:22:04 +030017 openstack_rabbitmq_port: 5672
Dmitry Teselkin986260f2018-08-30 19:07:25 +030018 linux:
19 system:
20 cron:
21 user:
22 aodh:
23 enabled: true
Ondrej Smolac91c0622017-01-30 14:09:44 +010024 aodh:
25 server:
26 enabled: true
Mykyta Karpindc2b1c12018-07-17 10:17:06 +030027 role: ${_param:openstack_node_role}
Ondrej Smolac91c0622017-01-30 14:09:44 +010028 version: ${_param:aodh_version}
29 cluster: true
Mykyta Karpina243f262018-07-23 12:14:45 +030030 ttl: ${_param:aodh_alarm_history_ttl}
Ondrej Smolac91c0622017-01-30 14:09:44 +010031 debug: false
32 verbose: true
Dmitry Kalashnikbc186922017-03-28 22:44:03 +040033 region: ${_param:openstack_region}
Mykyta Karpinb96cbb32018-06-01 16:34:47 +030034 event_alarm_topic: ${_param:openstack_event_alarm_topic}
Ondrej Smolac91c0622017-01-30 14:09:44 +010035 database:
Oleh Hryhorova4908b02018-06-04 16:10:46 +030036 engine: "mysql"
Ondrej Smolac91c0622017-01-30 14:09:44 +010037 host: ${_param:openstack_database_address}
38 port: 3306
39 name: aodh
40 user: aodh
41 password: ${_param:mysql_aodh_password}
Oleksandr Shyshkod80ecd52018-09-04 18:06:42 +030042 x509:
43 enabled: ${_param:openstack_mysql_x509_enabled}
44 ca_file: ${_param:mysql_aodh_ssl_ca_file}
45 key_file: ${_param:mysql_aodh_client_ssl_key_file}
46 cert_file: ${_param:mysql_aodh_client_ssl_cert_file}
47 ssl:
48 enabled: ${_param:galera_ssl_enabled}
Ondrej Smolac91c0622017-01-30 14:09:44 +010049 bind:
50 host: ${_param:cluster_local_address}
51 port: 8042
52 identity:
53 engine: keystone
54 host: ${_param:keystone_service_host}
55 port: 35357
56 tenant: service
57 user: aodh
58 password: ${_param:keystone_aodh_password}
Mykyta Karpinf16f02d2018-07-05 12:49:46 +030059 region: ${_param:openstack_region}
Vasyl Saienko0343b682018-09-17 14:21:38 +030060 protocol: ${_param:cluster_internal_protocol}
Ondrej Smolac91c0622017-01-30 14:09:44 +010061 message_queue:
62 engine: rabbitmq
Oleksandr Shyshko3d1dd6f2018-09-20 18:22:04 +030063 port: ${_param:openstack_rabbitmq_port}
Ondrej Smolac91c0622017-01-30 14:09:44 +010064 user: openstack
65 password: ${_param:rabbitmq_openstack_password}
66 virtual_host: '/openstack'
67 members:
68 - host: ${_param:openstack_message_queue_node01_address}
69 - host: ${_param:openstack_message_queue_node02_address}
Dmitry Kalashnikbc186922017-03-28 22:44:03 +040070 - host: ${_param:openstack_message_queue_node03_address}
Oleksandr Bryndzii33646d02018-09-19 11:08:31 +030071 x509:
72 enabled: ${_param:openstack_rabbitmq_x509_enabled}
73 ca_file: ${_param:rabbitmq_aodh_ssl_ca_file}
74 key_file: ${_param:rabbitmq_aodh_client_ssl_key_file}
75 cert_file: ${_param:rabbitmq_aodh_client_ssl_cert_file}
76 ssl:
77 enabled: ${_param:rabbitmq_ssl_enabled}
Mykyta Karpina243f262018-07-23 12:14:45 +030078 # Check for expired alarm history every day at 2 AM
79 expirer:
80 cron:
81 minute: 0
82 hour: 2