Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - service.cinder.control.cluster_control |
| 3 | - service.haproxy.proxy.single |
| 4 | - service.keepalived.cluster.single |
| 5 | - system.haproxy.proxy.listen.openstack.cinder |
Oleksandr Shyshko | a385029 | 2018-08-22 15:36:43 +0300 | [diff] [blame] | 6 | - system.salt.minion.cert.mysql.clients.openstack.cinder |
Oleksandr Bryndzii | 25cc13d | 2018-09-12 13:52:23 +0000 | [diff] [blame^] | 7 | - system.salt.minion.cert.rabbitmq.clients.openstack.cinder |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 8 | parameters: |
Vasyl Saienko | 047166c | 2018-03-09 11:17:45 +0200 | [diff] [blame] | 9 | _param: |
| 10 | cluster_internal_protocol: 'http' |
Oleksandr Shyshko | a385029 | 2018-08-22 15:36:43 +0300 | [diff] [blame] | 11 | openstack_mysql_x509_enabled: False |
| 12 | galera_ssl_enabled: False |
Oleksandr Bryndzii | 25cc13d | 2018-09-12 13:52:23 +0000 | [diff] [blame^] | 13 | openstack_rabbitmq_x509_enabled: False |
| 14 | rabbitmq_ssl_enabled: False |
Andrey Shestakov | 0c7e110 | 2017-08-10 13:39:04 +0300 | [diff] [blame] | 15 | linux: |
| 16 | system: |
| 17 | package: |
| 18 | python-pymysql: |
| 19 | fromrepo: ${_param:openstack_version} |
| 20 | version: latest |
Vasyl Saienko | 047166c | 2018-03-09 11:17:45 +0200 | [diff] [blame] | 21 | cinder: |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 22 | volume: |
| 23 | enabled: false |
| 24 | default_volume_type: "" |
| 25 | backend: {} |
| 26 | logging: |
| 27 | heka: |
| 28 | enabled: true |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 29 | controller: |
| 30 | enabled: true |
| 31 | default_volume_type: "" |
| 32 | backend: {} |
| 33 | version: ${_param:cinder_version} |
Vasyl Saienko | 01eb317 | 2018-07-16 13:44:53 +0300 | [diff] [blame] | 34 | role: ${_param:openstack_node_role} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 35 | osapi: |
| 36 | host: ${_param:cluster_local_address} |
| 37 | database: |
| 38 | engine: mysql |
| 39 | host: ${_param:openstack_database_address} |
| 40 | port: 3306 |
| 41 | name: cinder |
| 42 | user: cinder |
| 43 | password: ${_param:mysql_cinder_password} |
Oleksandr Shyshko | a385029 | 2018-08-22 15:36:43 +0300 | [diff] [blame] | 44 | x509: |
| 45 | enabled: ${_param:openstack_mysql_x509_enabled} |
| 46 | ca_file: ${_param:mysql_cinder_ssl_ca_file} |
| 47 | key_file: ${_param:mysql_cinder_client_ssl_key_file} |
| 48 | cert_file: ${_param:mysql_cinder_client_ssl_cert_file} |
| 49 | ssl: |
| 50 | enabled: ${_param:galera_ssl_enabled} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 51 | identity: |
| 52 | engine: keystone |
| 53 | region: ${_param:openstack_region} |
| 54 | host: ${_param:cluster_vip_address} |
| 55 | port: 35357 |
| 56 | tenant: service |
| 57 | user: cinder |
| 58 | password: ${_param:keystone_cinder_password} |
Vasyl Saienko | 047166c | 2018-03-09 11:17:45 +0200 | [diff] [blame] | 59 | protocol: ${_param:cluster_internal_protocol} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 60 | glance: |
| 61 | host: ${_param:cluster_vip_address} |
| 62 | port: 9292 |
Vasyl Saienko | 047166c | 2018-03-09 11:17:45 +0200 | [diff] [blame] | 63 | protocol: ${_param:cluster_internal_protocol} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 64 | message_queue: |
| 65 | engine: rabbitmq |
Damian Szeluga | 2267303 | 2017-04-19 13:55:25 +0200 | [diff] [blame] | 66 | members: |
| 67 | - host: ${_param:openstack_message_queue_node01_address} |
| 68 | - host: ${_param:openstack_message_queue_node02_address} |
| 69 | - host: ${_param:openstack_message_queue_node03_address} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 70 | user: openstack |
| 71 | password: ${_param:rabbitmq_openstack_password} |
| 72 | virtual_host: '/openstack' |
Oleksandr Bryndzii | 25cc13d | 2018-09-12 13:52:23 +0000 | [diff] [blame^] | 73 | x509: |
| 74 | enabled: ${_param:openstack_rabbitmq_x509_enabled} |
| 75 | ca_file: ${_param:rabbitmq_cinder_ssl_ca_file} |
| 76 | key_file: ${_param:rabbitmq_cinder_client_ssl_key_file} |
| 77 | cert_file: ${_param:rabbitmq_cinder_client_ssl_cert_file} |
| 78 | ssl: |
| 79 | enabled: ${_param:rabbitmq_ssl_enabled} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 80 | cache: |
| 81 | engine: memcached |
| 82 | members: |
| 83 | - host: ${_param:cluster_node01_address} |
| 84 | port: 11211 |
| 85 | - host: ${_param:cluster_node02_address} |
| 86 | port: 11211 |
| 87 | - host: ${_param:cluster_node03_address} |
| 88 | port: 11211 |
| 89 | |