blob: e34f55cdf44c5c50915f08f75dda54fe05705a39 [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001classes:
2- service.cinder.control.cluster_control
3- service.haproxy.proxy.single
4- service.keepalived.cluster.single
5- system.haproxy.proxy.listen.openstack.cinder
Oleksandr Shyshkoa3850292018-08-22 15:36:43 +03006- system.salt.minion.cert.mysql.clients.openstack.cinder
Oleksandr Bryndzii25cc13d2018-09-12 13:52:23 +00007- system.salt.minion.cert.rabbitmq.clients.openstack.cinder
Ondrej Smola03ff34e2016-12-01 01:30:33 +01008parameters:
Vasyl Saienko047166c2018-03-09 11:17:45 +02009 _param:
10 cluster_internal_protocol: 'http'
Andrey Shestakov0c7e1102017-08-10 13:39:04 +030011 linux:
12 system:
13 package:
14 python-pymysql:
15 fromrepo: ${_param:openstack_version}
16 version: latest
Vasyl Saienko047166c2018-03-09 11:17:45 +020017 cinder:
Ondrej Smola03ff34e2016-12-01 01:30:33 +010018 volume:
19 enabled: false
20 default_volume_type: ""
21 backend: {}
22 logging:
23 heka:
24 enabled: true
Ondrej Smola03ff34e2016-12-01 01:30:33 +010025 controller:
26 enabled: true
27 default_volume_type: ""
28 backend: {}
29 version: ${_param:cinder_version}
Vasyl Saienko01eb3172018-07-16 13:44:53 +030030 role: ${_param:openstack_node_role}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010031 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 Shyshkoa3850292018-08-22 15:36:43 +030040 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 Smola03ff34e2016-12-01 01:30:33 +010047 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 Saienko047166c2018-03-09 11:17:45 +020055 protocol: ${_param:cluster_internal_protocol}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010056 glance:
57 host: ${_param:cluster_vip_address}
58 port: 9292
Vasyl Saienko047166c2018-03-09 11:17:45 +020059 protocol: ${_param:cluster_internal_protocol}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010060 message_queue:
Oleksandr Shyshko3d1dd6f2018-09-20 18:22:04 +030061 port: ${_param:openstack_rabbitmq_port}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010062 engine: rabbitmq
Damian Szeluga22673032017-04-19 13:55:25 +020063 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 Smola03ff34e2016-12-01 01:30:33 +010067 user: openstack
68 password: ${_param:rabbitmq_openstack_password}
69 virtual_host: '/openstack'
Oleksandr Bryndzii25cc13d2018-09-12 13:52:23 +000070 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 Smola03ff34e2016-12-01 01:30:33 +010077 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