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