blob: 503537e485a473817b793fdf357f995e9b9dc135 [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'
Oleksandr Shyshkoa3850292018-08-22 15:36:43 +030011 openstack_mysql_x509_enabled: False
12 galera_ssl_enabled: False
Oleksandr Bryndzii25cc13d2018-09-12 13:52:23 +000013 openstack_rabbitmq_x509_enabled: False
14 rabbitmq_ssl_enabled: False
Andrey Shestakov0c7e1102017-08-10 13:39:04 +030015 linux:
16 system:
17 package:
18 python-pymysql:
19 fromrepo: ${_param:openstack_version}
20 version: latest
Vasyl Saienko047166c2018-03-09 11:17:45 +020021 cinder:
Ondrej Smola03ff34e2016-12-01 01:30:33 +010022 volume:
23 enabled: false
24 default_volume_type: ""
25 backend: {}
26 logging:
27 heka:
28 enabled: true
Ondrej Smola03ff34e2016-12-01 01:30:33 +010029 controller:
30 enabled: true
31 default_volume_type: ""
32 backend: {}
33 version: ${_param:cinder_version}
Vasyl Saienko01eb3172018-07-16 13:44:53 +030034 role: ${_param:openstack_node_role}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010035 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 Shyshkoa3850292018-08-22 15:36:43 +030044 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 Smola03ff34e2016-12-01 01:30:33 +010051 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 Saienko047166c2018-03-09 11:17:45 +020059 protocol: ${_param:cluster_internal_protocol}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010060 glance:
61 host: ${_param:cluster_vip_address}
62 port: 9292
Vasyl Saienko047166c2018-03-09 11:17:45 +020063 protocol: ${_param:cluster_internal_protocol}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010064 message_queue:
65 engine: rabbitmq
Damian Szeluga22673032017-04-19 13:55:25 +020066 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 Smola03ff34e2016-12-01 01:30:33 +010070 user: openstack
71 password: ${_param:rabbitmq_openstack_password}
72 virtual_host: '/openstack'
Oleksandr Bryndzii25cc13d2018-09-12 13:52:23 +000073 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 Smola03ff34e2016-12-01 01:30:33 +010080 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