blob: 5bc5c75a69f2d7c4e465801ed33b591eb4787bfd [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
Ondrej Smola03ff34e2016-12-01 01:30:33 +01007parameters:
Vasyl Saienko047166c2018-03-09 11:17:45 +02008 _param:
9 cluster_internal_protocol: 'http'
Oleksandr Shyshkoa3850292018-08-22 15:36:43 +030010 openstack_mysql_x509_enabled: False
11 galera_ssl_enabled: False
Andrey Shestakov0c7e1102017-08-10 13:39:04 +030012 linux:
13 system:
14 package:
15 python-pymysql:
16 fromrepo: ${_param:openstack_version}
17 version: latest
Vasyl Saienko047166c2018-03-09 11:17:45 +020018 cinder:
Ondrej Smola03ff34e2016-12-01 01:30:33 +010019 volume:
20 enabled: false
21 default_volume_type: ""
22 backend: {}
23 logging:
24 heka:
25 enabled: true
Ondrej Smola03ff34e2016-12-01 01:30:33 +010026 controller:
27 enabled: true
28 default_volume_type: ""
29 backend: {}
30 version: ${_param:cinder_version}
Vasyl Saienko01eb3172018-07-16 13:44:53 +030031 role: ${_param:openstack_node_role}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010032 osapi:
33 host: ${_param:cluster_local_address}
34 database:
35 engine: mysql
36 host: ${_param:openstack_database_address}
37 port: 3306
38 name: cinder
39 user: cinder
40 password: ${_param:mysql_cinder_password}
Oleksandr Shyshkoa3850292018-08-22 15:36:43 +030041 x509:
42 enabled: ${_param:openstack_mysql_x509_enabled}
43 ca_file: ${_param:mysql_cinder_ssl_ca_file}
44 key_file: ${_param:mysql_cinder_client_ssl_key_file}
45 cert_file: ${_param:mysql_cinder_client_ssl_cert_file}
46 ssl:
47 enabled: ${_param:galera_ssl_enabled}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010048 identity:
49 engine: keystone
50 region: ${_param:openstack_region}
51 host: ${_param:cluster_vip_address}
52 port: 35357
53 tenant: service
54 user: cinder
55 password: ${_param:keystone_cinder_password}
Vasyl Saienko047166c2018-03-09 11:17:45 +020056 protocol: ${_param:cluster_internal_protocol}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010057 glance:
58 host: ${_param:cluster_vip_address}
59 port: 9292
Vasyl Saienko047166c2018-03-09 11:17:45 +020060 protocol: ${_param:cluster_internal_protocol}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010061 message_queue:
62 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'
70 cache:
71 engine: memcached
72 members:
73 - host: ${_param:cluster_node01_address}
74 port: 11211
75 - host: ${_param:cluster_node02_address}
76 port: 11211
77 - host: ${_param:cluster_node03_address}
78 port: 11211
79