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