blob: a42d3b61d8d4f86fc3cce66fc47c35856d5a4c6c [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001classes:
2- service.keystone.server.cluster
3- service.keepalived.cluster.single
Ondrej Smola03ff34e2016-12-01 01:30:33 +01004- system.haproxy.proxy.listen.openstack.keystone
Petr Michalec8eca2052017-01-16 15:12:26 +01005- system.haproxy.proxy.listen.openstack.keystone.standalone
Oleksii Grudeve4ee26e2018-08-14 16:51:23 +03006- system.linux.system.users.keystone
Oleksii Grudev614facd2018-08-20 13:20:29 +03007- system.keystone.server.fernet_rotation.cluster
Oleksandr Shyshkoc4dd2d72018-08-30 18:30:59 +03008- system.salt.minion.cert.mysql.clients.openstack.keystone
Oleksandr Bryndziia85aeec2018-09-12 13:53:36 +00009- system.salt.minion.cert.rabbitmq.clients.openstack.keystone
Ondrej Smola03ff34e2016-12-01 01:30:33 +010010parameters:
Daniel Cechebf82af2017-10-04 16:42:22 +020011 _param:
danys944df63fb2017-10-05 08:40:10 +020012 keystone_tokens_expiration: 3600
Vasyl Saienko01eb3172018-07-16 13:44:53 +030013 openstack_node_role: primary
Oleksandr Shyshkoc4dd2d72018-08-30 18:30:59 +030014 openstack_mysql_x509_enabled: False
Oleksandr Bryndziia85aeec2018-09-12 13:53:36 +000015 openstack_rabbitmq_x509_enabled: False
Oleksandr Shyshkoc4dd2d72018-08-30 18:30:59 +030016 galera_ssl_enabled: False
Oleksandr Bryndziia85aeec2018-09-12 13:53:36 +000017 rabbitmq_ssl_enabled: False
Oleksandr Shyshko3d1dd6f2018-09-20 18:22:04 +030018 openstack_rabbitmq_port: 5672
Andrey Shestakov0c7e1102017-08-10 13:39:04 +030019 linux:
20 system:
21 package:
22 python-pymysql:
23 fromrepo: ${_param:openstack_version}
24 version: latest
Jakub Pavlikfe19b082018-01-10 15:41:21 +010025 python-cryptography:
26 fromrepo: ${_param:openstack_version}
27 version: latest
Ondrej Smola03ff34e2016-12-01 01:30:33 +010028 keystone:
29 server:
30 enabled: true
31 version: ${_param:keystone_version}
32 service_token: ${_param:keystone_service_token}
33 service_tenant: service
34 admin_tenant: admin
35 admin_name: admin
36 admin_password: ${_param:keystone_admin_password}
37 admin_email: ${_param:admin_email}
Vasyl Saienko01eb3172018-07-16 13:44:53 +030038 role: ${_param:openstack_node_role}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010039 bind:
40 address: ${_param:cluster_local_address}
41 private_address: ${_param:cluster_vip_address}
42 private_port: 35357
43 public_address: ${_param:cluster_vip_address}
44 public_port: 5000
45 region: ${_param:openstack_region}
46 database:
47 engine: mysql
48 host: ${_param:openstack_database_address}
49 name: keystone
50 password: ${_param:mysql_keystone_password}
51 user: keystone
Oleksandr Shyshkoc4dd2d72018-08-30 18:30:59 +030052 x509:
53 enabled: ${_param:openstack_mysql_x509_enabled}
54 ca_file: ${_param:mysql_keystone_ssl_ca_file}
55 key_file: ${_param:mysql_keystone_client_ssl_key_file}
56 cert_file: ${_param:mysql_keystone_client_ssl_cert_file}
57 ssl:
58 enabled: ${_param:galera_ssl_enabled}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010059 tokens:
60 engine: fernet
danys944df63fb2017-10-05 08:40:10 +020061 expiration: ${_param:keystone_tokens_expiration}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010062 max_active_keys: 3
63 location: /var/lib/keystone/fernet-keys
Andrey Shestakov9490db92017-06-15 17:17:37 +030064 credential:
65 location: /var/lib/keystone/credential-keys
Ondrej Smola03ff34e2016-12-01 01:30:33 +010066 message_queue:
Oleksandr Shyshko3d1dd6f2018-09-20 18:22:04 +030067 port: ${_param:openstack_rabbitmq_port}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010068 engine: rabbitmq
Damian Szeluga22673032017-04-19 13:55:25 +020069 members:
70 - host: ${_param:openstack_message_queue_node01_address}
71 - host: ${_param:openstack_message_queue_node02_address}
72 - host: ${_param:openstack_message_queue_node03_address}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010073 user: openstack
74 password: ${_param:rabbitmq_openstack_password}
75 virtual_host: '/openstack'
Damian Szeluga22673032017-04-19 13:55:25 +020076 ha_queues: true
Oleksandr Bryndziia85aeec2018-09-12 13:53:36 +000077 x509:
78 enabled: ${_param:openstack_rabbitmq_x509_enabled}
79 ca_file: ${_param:rabbitmq_keystone_ssl_ca_file}
80 key_file: ${_param:rabbitmq_keystone_client_ssl_key_file}
81 cert_file: ${_param:rabbitmq_keystone_client_ssl_cert_file}
82 ssl:
83 enabled: ${_param:rabbitmq_ssl_enabled}
Petr Michalece7103842017-02-02 07:21:01 +010084 auth_methods:
85 - password
86 - token