Éric Lemoine | 6720196 | 2016-12-14 14:48:30 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - service.aodh.server.cluster |
Mykyta Karpin | 882dcac | 2018-11-30 16:37:28 +0200 | [diff] [blame] | 3 | - system.aodh.upgrade |
Oleksandr Shyshko | d80ecd5 | 2018-09-04 18:06:42 +0300 | [diff] [blame] | 4 | - system.salt.minion.cert.mysql.clients.openstack.aodh |
Ondrej Smola | e410886 | 2017-10-16 16:19:41 +0200 | [diff] [blame] | 5 | - service.haproxy.proxy.single |
Éric Lemoine | 6720196 | 2016-12-14 14:48:30 +0000 | [diff] [blame] | 6 | - system.haproxy.proxy.listen.openstack.aodh |
Ondrej Smola | e410886 | 2017-10-16 16:19:41 +0200 | [diff] [blame] | 7 | - system.keepalived.cluster.instance.openstack_telemetry_vip |
Oleksandr Bryndzii | 33646d0 | 2018-09-19 11:08:31 +0300 | [diff] [blame] | 8 | - system.salt.minion.cert.rabbitmq.clients.openstack.aodh |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 9 | parameters: |
Mykyta Karpin | b96cbb3 | 2018-06-01 16:34:47 +0300 | [diff] [blame] | 10 | _param: |
| 11 | openstack_event_alarm_topic: alarm.all |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 12 | # Keep alarm history in database for 30 days |
| 13 | aodh_alarm_history_ttl: 2592000 |
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 |
sgarbuz | 5f58dd7 | 2019-05-20 14:10:11 +0300 | [diff] [blame] | 36 | user: ${_param:mysql_aodh_username} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 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 |
sgarbuz | 5f58dd7 | 2019-05-20 14:10:11 +0300 | [diff] [blame] | 53 | user: ${_param:keystone_aodh_username} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 54 | password: ${_param:keystone_aodh_password} |
Mykyta Karpin | f16f02d | 2018-07-05 12:49:46 +0300 | [diff] [blame] | 55 | region: ${_param:openstack_region} |
Vasyl Saienko | 0343b68 | 2018-09-17 14:21:38 +0300 | [diff] [blame] | 56 | protocol: ${_param:cluster_internal_protocol} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 57 | message_queue: |
| 58 | engine: rabbitmq |
Oleksandr Shyshko | 3d1dd6f | 2018-09-20 18:22:04 +0300 | [diff] [blame] | 59 | port: ${_param:openstack_rabbitmq_port} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 60 | user: openstack |
| 61 | password: ${_param:rabbitmq_openstack_password} |
| 62 | virtual_host: '/openstack' |
Oleksandr Shyshko | 613e04e | 2019-08-07 12:08:51 +0300 | [diff] [blame] | 63 | use_vip_address: ${_param:openstack_rabbitmq_standalone_mode} |
| 64 | host: ${_param:openstack_message_queue_address} |
Ondrej Smola | c91c062 | 2017-01-30 14:09:44 +0100 | [diff] [blame] | 65 | members: |
| 66 | - host: ${_param:openstack_message_queue_node01_address} |
| 67 | - host: ${_param:openstack_message_queue_node02_address} |
Dmitry Kalashnik | bc18692 | 2017-03-28 22:44:03 +0400 | [diff] [blame] | 68 | - host: ${_param:openstack_message_queue_node03_address} |
Oleksandr Bryndzii | 33646d0 | 2018-09-19 11:08:31 +0300 | [diff] [blame] | 69 | x509: |
| 70 | enabled: ${_param:openstack_rabbitmq_x509_enabled} |
| 71 | ca_file: ${_param:rabbitmq_aodh_ssl_ca_file} |
| 72 | key_file: ${_param:rabbitmq_aodh_client_ssl_key_file} |
| 73 | cert_file: ${_param:rabbitmq_aodh_client_ssl_cert_file} |
| 74 | ssl: |
| 75 | enabled: ${_param:rabbitmq_ssl_enabled} |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 76 | # Check for expired alarm history every day at 2 AM |
| 77 | expirer: |
| 78 | cron: |
| 79 | minute: 0 |
| 80 | hour: 2 |
Oleksandr Bryndzii | c72982c | 2018-10-24 11:50:20 +0300 | [diff] [blame] | 81 | cache: |
| 82 | security: |
| 83 | enabled: ${_param:aodh_memcache_security_enabled} |
| 84 | strategy: ${_param:openstack_memcache_security_strategy} |
| 85 | secret_key: ${_param:aodh_memcache_secret_key} |