Éric Lemoine | 6720196 | 2016-12-14 14:48:30 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - service.aodh.server.cluster |
Oleksandr Shyshko | d80ecd5 | 2018-09-04 18:06:42 +0300 | [diff] [blame] | 3 | - system.salt.minion.cert.mysql.clients.openstack.aodh |
Ondrej Smola | e410886 | 2017-10-16 16:19:41 +0200 | [diff] [blame] | 4 | - service.haproxy.proxy.single |
Éric Lemoine | 6720196 | 2016-12-14 14:48:30 +0000 | [diff] [blame] | 5 | - system.haproxy.proxy.listen.openstack.aodh |
Ondrej Smola | e410886 | 2017-10-16 16:19:41 +0200 | [diff] [blame] | 6 | - system.keepalived.cluster.instance.openstack_telemetry_vip |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 7 | parameters: |
Mykyta Karpin | b96cbb3 | 2018-06-01 16:34:47 +0300 | [diff] [blame] | 8 | _param: |
| 9 | openstack_event_alarm_topic: alarm.all |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 10 | # Keep alarm history in database for 30 days |
| 11 | aodh_alarm_history_ttl: 2592000 |
Oleksandr Shyshko | d80ecd5 | 2018-09-04 18:06:42 +0300 | [diff] [blame] | 12 | openstack_mysql_x509_enabled: False |
| 13 | galera_ssl_enabled: False |
Dmitry Teselkin | 986260f | 2018-08-30 19:07:25 +0300 | [diff] [blame] | 14 | linux: |
| 15 | system: |
| 16 | cron: |
| 17 | user: |
| 18 | aodh: |
| 19 | enabled: true |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 20 | aodh: |
| 21 | server: |
| 22 | enabled: true |
Mykyta Karpin | dc2b1c1 | 2018-07-17 10:17:06 +0300 | [diff] [blame] | 23 | role: ${_param:openstack_node_role} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 24 | version: ${_param:aodh_version} |
| 25 | cluster: true |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 26 | ttl: ${_param:aodh_alarm_history_ttl} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 27 | debug: false |
| 28 | verbose: true |
Dmitry Kalashnik | bc18692 | 2017-03-28 22:44:03 +0400 | [diff] [blame] | 29 | region: ${_param:openstack_region} |
Mykyta Karpin | b96cbb3 | 2018-06-01 16:34:47 +0300 | [diff] [blame] | 30 | event_alarm_topic: ${_param:openstack_event_alarm_topic} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 31 | database: |
Oleh Hryhorov | a4908b0 | 2018-06-04 16:10:46 +0300 | [diff] [blame] | 32 | engine: "mysql" |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 33 | host: ${_param:openstack_database_address} |
| 34 | port: 3306 |
| 35 | name: aodh |
| 36 | user: aodh |
| 37 | password: ${_param:mysql_aodh_password} |
Oleksandr Shyshko | d80ecd5 | 2018-09-04 18:06:42 +0300 | [diff] [blame] | 38 | 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 Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 45 | 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 Karpin | f16f02d | 2018-07-05 12:49:46 +0300 | [diff] [blame] | 55 | region: ${_param:openstack_region} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 56 | 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 Kalashnik | bc18692 | 2017-03-28 22:44:03 +0400 | [diff] [blame] | 65 | - host: ${_param:openstack_message_queue_node03_address} |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 66 | # Check for expired alarm history every day at 2 AM |
| 67 | expirer: |
| 68 | cron: |
| 69 | minute: 0 |
| 70 | hour: 2 |