blob: 02a5cd5f5c9ed234a2056208c3eeb95a454a1539 [file] [log] [blame]
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +02001classes:
Oleksii Grudev984d5852018-10-26 13:37:09 +03002- system.defaults
Vasyl Saienkoaba14762018-01-03 15:25:57 +02003- system.salt.minion.cert.mysql.server
4- system.salt.minion.cert.rabbitmq_server
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +02005- system.linux.system.lowmem
Oleksii Grudev984d5852018-10-26 13:37:09 +03006- system.linux.system.repo.mcp.mirror.v1.openstack
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +02007- system.linux.system.repo.mcp.extra
8- system.linux.storage.loopback
Vasyl Saienkoaba14762018-01-03 15:25:57 +02009- service.rabbitmq.server.ssl
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020010- system.rabbitmq.server.vhost.openstack
11- system.keystone.server.wsgi
12- system.keystone.server.single
Vasyl Saienkoaba14762018-01-03 15:25:57 +020013- service.galera.ssl
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020014- service.galera.master.cluster
15- system.galera.server.database.cinder
16- system.galera.server.database.designate
17- system.galera.server.database.glance
18- system.galera.server.database.heat
19- system.galera.server.database.keystone
20- system.galera.server.database.nova
Mykyta Karpin3561b432018-11-02 10:16:27 +020021- system.galera.server.database.neutron
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020022- system.keystone.client.single
Oleg Iurchenko31f26162017-11-22 09:19:35 +020023- system.keystone.client.service.cinder3
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020024- system.keystone.client.service.nova21
25- system.keystone.client.service.nova-placement
26- system.keystone.client.service.designate
27- system.glance.control.single
28- system.nova.control.single
29- system.neutron.control.openvswitch.single
30- system.neutron.client.service.public
31- system.heat.server.single
32- system.nova.compute.single
33- service.neutron.gateway.single
Mykyta Karpin625147e2019-02-07 16:45:12 +020034- system.nova.control.notification.messagingv2
35- system.neutron.control.notification.messagingv2
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020036- system.cinder.control.single
37- system.cinder.control.backend.lvm
38- service.cinder.volume.single
39- system.cinder.volume.backend.lvm
40- system.horizon.server.single
Vasyl Saienkoe23cfa52019-01-31 12:34:39 +000041- system.horizon.server.plugin.theme
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020042- system.bind.server.single
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020043- system.designate.server.single
44- system.designate.server.backend.bind
45parameters:
46 _param:
Oleg Iurchenko31f26162017-11-22 09:19:35 +020047 openstack_version: pike
Mykyta Karpin4bf97e12018-07-17 17:58:02 +030048 openstack_node_role: primary
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020049 cluster_public_host: ${_param:single_address}
50 cluster_public_protocol: http
Vasyl Saienko5aed7272018-07-04 18:40:26 +030051 openstack_region: CustomRegion
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020052 admin_email: root@localhost
53 rabbitmq_openstack_password: workshop
54 galera_server_cluster_name: openstack_cluster
55 galera_server_maintenance_password: workshop
56 galera_server_admin_password: workshop
Vasyl Saienkof87acfb2018-03-11 18:53:09 +000057 keystone_public_path: '/'
58 keystone_internal_path: '/'
59 keystone_admin_path: '/'
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020060 keystone_version: ${_param:openstack_version}
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020061 glance_version: ${_param:openstack_version}
62 nova_version: ${_param:openstack_version}
63 neutron_version: ${_param:openstack_version}
64 cinder_version: ${_param:openstack_version}
65 heat_version: ${_param:openstack_version}
66 horizon_version: ${_param:openstack_version}
67 designate_version: ${_param:openstack_version}
68 keystone_service_token: workshop
69 keystone_admin_password: workshop
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020070 keystone_ceilometer_password: workshop
71 keystone_cinder_password: workshop
72 keystone_glance_password: workshop
73 keystone_heat_password: workshop
74 keystone_neutron_password: workshop
75 keystone_nova_password: workshop
76 keystone_designate_password: workshop
77 keystone_service_host: ${_param:single_address}
78 mysql_keystone_password: workshop
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020079 mysql_glance_password: workshop
80 mysql_nova_password: workshop
81 mysql_neutron_password: workshop
82 mysql_cinder_password: workshop
83 mysql_heat_password: workshop
84 mysql_designate_password: workshop
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020085 heat_service_host: ${_param:single_address}
86 neutron_service_host: ${_param:single_address}
87 glance_service_host: ${_param:single_address}
88 cinder_service_host: ${_param:single_address}
89 designate_service_host: ${_param:single_address}
90 nova_service_host: ${_param:single_address}
91 control_address: ${_param:single_address}
92 metadata_password: workshop
93 cluster_vip_address: ${_param:single_address}
94 cluster_local_address: ${_param:single_address}
95 openstack_database_address: ${_param:single_address}
96 tenant_address: ${_param:single_address}
97 heat_domain_admin_password: workshop
98 horizon_secret_key: workshop
99 horizon_identity_encryption: none
100 horizon_identity_version: 2
101 horizon_identity_host: ${_param:single_address}
Mykyta Karpind93fbd82017-12-27 15:05:04 +0200102 designate_admin_api_enabled: true
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200103 designate_bind9_rndc_key: 4pc+X4PDqb2q+5o72dISm72LM1Ds9X2EYZjqg+nmsS7FhdTwzFFY8l/iEDmHxnyjkA33EQC8H+z0fLLBunoitw==
104 designate_pool_target_type: bind9
105 designate_domain_id: 5186883b-91fb-4891-bd49-e6769234a8fc
106 designate_pool_ns_records:
107 - hostname: 'ns1.example.org.'
108 priority: 10
109 designate_pool_nameservers:
110 - host: ${_param:single_address}
111 port: 53
112 designate_pool_target_masters:
113 - host: ${_param:single_address}
114 port: 5354
115 designate_pool_target_options:
116 host: ${_param:single_address}
117 port: 53
118 rndc_host: 127.0.0.1
119 rndc_port: 953
120 rndc_key_file: /etc/designate/rndc.key
121 designate_quota_zones: 40
122 designate_worker_enabled: true
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200123 openstack_public_neutron_subnet_gateway: 192.168.130.1
124 openstack_public_neutron_subnet_cidr: 192.168.130.0/24
125 openstack_public_neutron_subnet_allocation_start: 192.168.130.10
126 openstack_public_neutron_subnet_allocation_end: 192.168.130.254
Vasyl Saienkob1868d42018-01-29 14:02:05 +0200127 galera_ssl_enabled: true
Vasyl Saienko57886502018-02-02 00:06:59 +0200128 rabbitmq_ssl_enabled: false # untill rabbitmq formula with https://gerrit.mcp.mirantis.net/#/c/15198/ promoted to stable
Oleksii Grudev984d5852018-10-26 13:37:09 +0300129 openstack_rabbitmq_port: 5672 # for non-ssl use 5672/for ssl 5671
Oleg Iurchenko1baa22d2018-01-15 11:14:02 +0200130 runtest_tempest_cfg_dir: /root/rally_reports/
131 runtest_tempest_cfg_name: tempest_generated.conf
Mykyta Karpin9feffd52018-04-23 11:39:16 +0300132 runtest_tempest_log_file: /home/rally/rally_reports/tempest.log
sandriichenko30f429e2018-04-03 15:13:36 +0300133 runtest_tempest_public_net: public
Oleg Iurchenkof3f1f412018-01-30 15:55:38 +0200134 artifactory_user: artifactory_user
135 artifactory_password: artifactory_password
sgarbuz1a74acf2018-08-30 15:09:35 +0300136 openstack_log_appender: true
137 openstack_fluentd_handler_enabled: true
138 openstack_ossyslog_handler_enabled: true
Oleksii Grudev984d5852018-10-26 13:37:09 +0300139 openstack_memcache_security_enabled: false
Mykyta Karpin29e9ffe2018-11-26 18:47:03 +0200140 glance_image_cirros_location: 'https://artifactory.mcp.mirantis.net/artifactory/test-images/cirros-0.3.5-x86_64-disk.img'
141 glance_image_fedora_location: 'https://artifactory.mcp.mirantis.net/artifactory/test-images/Fedora-Cloud-Base-27-1.6.x86_64.qcow2'
Oleh Hryhorovd7bb4502018-12-05 15:40:36 +0200142 openstack_control_address: ${_param:single_address}
Vasyl Saienko2831f892018-12-21 18:37:13 +0200143 glance_cors_allowed_origin: "http://${_param:single_address}:8078"
Mykyta Karpin625147e2019-02-07 16:45:12 +0200144 openstack_notification_topics: 'notifications'
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200145 galera:
146 master:
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200147 innodb_buffer_pool_size: 1024M
148 max_connections: 1000
149 slave:
150 enabled: false
Vasyl Saienko5e38df52018-02-22 14:45:58 +0200151 rabbitmq:
152 server:
153 ssl:
154 enabled: ${_param:rabbitmq_ssl_enabled}
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200155 neutron:
156 server:
Vasyl Saienkof18dbac2018-02-25 23:24:37 +0200157 # Temporary install neutron-plugin-ml2 untill https://gerrit.mcp.mirantis.net/#/c/16262/ promoted
158 # to stable
159 pkgs:
160 - neutron-server
161 - python-neutron-lbaas
162 - gettext-base
163 - python-pycadf
164 - neutron-plugin-ml2
Mykyta Karpin672fde12017-12-08 17:12:34 +0200165 api_workers: 2
166 rpc_state_report_workers: 2
167 rpc_workers: 2
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200168 message_queue:
Oleksii Grudev984d5852018-10-26 13:37:09 +0300169 port: ${_param:openstack_rabbitmq_port}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200170 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200171 enabled: ${_param:rabbitmq_ssl_enabled}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200172 database:
173 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200174 enabled: ${_param:galera_ssl_enabled}
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200175 gateway:
Mykyta Karpin672fde12017-12-08 17:12:34 +0200176 metadata:
177 workers: 2
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200178 agent_mode: dvr_snat
179 dvr: True
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200180 message_queue:
Oleksii Grudev984d5852018-10-26 13:37:09 +0300181 port: ${_param:openstack_rabbitmq_port}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200182 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200183 enabled: ${_param:rabbitmq_ssl_enabled}
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200184 nova:
185 compute:
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200186 vncproxy_url: http://${_param:single_address}:6080
187 network:
188 user: neutron
189 password: ${_param:keystone_neutron_password}
190 tenant: service
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200191 message_queue:
Oleksii Grudev984d5852018-10-26 13:37:09 +0300192 port: ${_param:openstack_rabbitmq_port}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200193 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200194 enabled: ${_param:rabbitmq_ssl_enabled}
Maksym Shalamov91711e42018-08-03 14:03:17 +0300195 # Since in AIO by default option config_drive is false,
196 # due to nova controller and compute states rewrite
197 # configs each, we must set config_drive option
198 # explicitly for runtest formula to discover the correct settings
199 config_drive:
200 forced: false
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200201 controller:
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200202 vncproxy_url: http://${_param:single_address}:6080
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200203 database:
204 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200205 enabled: ${_param:galera_ssl_enabled}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200206 message_queue:
Oleksii Grudev984d5852018-10-26 13:37:09 +0300207 port: ${_param:openstack_rabbitmq_port}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200208 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200209 enabled: ${_param:rabbitmq_ssl_enabled}
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200210 cinder:
211 controller:
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200212 database:
213 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200214 enabled: ${_param:galera_ssl_enabled}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200215 message_queue:
Oleksii Grudev984d5852018-10-26 13:37:09 +0300216 port: ${_param:openstack_rabbitmq_port}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200217 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200218 enabled: ${_param:rabbitmq_ssl_enabled}
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200219 volume:
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200220 database:
221 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200222 enabled: ${_param:galera_ssl_enabled}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200223 message_queue:
Oleksii Grudev984d5852018-10-26 13:37:09 +0300224 port: ${_param:openstack_rabbitmq_port}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200225 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200226 enabled: ${_param:rabbitmq_ssl_enabled}
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200227 horizon:
228 server:
229 secure: False
Oleh Hryhorovda502a82018-03-19 19:14:04 +0200230 identity:
Oleh Hryhorov8a8dd9f2018-03-20 10:59:45 +0200231 encryption: ${_param:horizon_identity_encryption}
Oleh Hryhorovda502a82018-03-19 19:14:04 +0200232 api_versions:
233 identity: 3
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200234 designate:
235 server:
236 quota:
237 zones: ${_param:designate_quota_zones}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200238 database:
239 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200240 enabled: ${_param:galera_ssl_enabled}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200241 message_queue:
Oleksii Grudev984d5852018-10-26 13:37:09 +0300242 port: ${_param:openstack_rabbitmq_port}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200243 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200244 enabled: ${_param:rabbitmq_ssl_enabled}
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200245 worker:
246 enabled: ${_param:designate_worker_enabled}
247 glance:
sgarbuz4a703e82018-03-14 14:44:09 +0200248 client:
sgarbuz8127d4c2018-03-29 12:57:30 +0300249 enabled: True
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +0200250 server:
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200251 database:
252 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200253 enabled: ${_param:galera_ssl_enabled}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200254 message_queue:
Oleksii Grudev984d5852018-10-26 13:37:09 +0300255 port: ${_param:openstack_rabbitmq_port}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200256 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200257 enabled: ${_param:rabbitmq_ssl_enabled}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200258 keystone:
259 server:
260 database:
261 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200262 enabled: ${_param:galera_ssl_enabled}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200263 message_queue:
Oleksii Grudev984d5852018-10-26 13:37:09 +0300264 port: ${_param:openstack_rabbitmq_port}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200265 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200266 enabled: ${_param:rabbitmq_ssl_enabled}
Vasyl Saienko23bee972018-03-29 11:16:31 +0300267 client:
268 enabled: true
269 server:
270 identity:
271 admin:
272 api_version: 3
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200273 heat:
274 server:
Mykyta Karpin3aa94772019-01-30 09:06:46 +0200275 reauthentication_auth_method: 'trusts'
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200276 database:
277 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200278 enabled: ${_param:galera_ssl_enabled}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200279 message_queue:
Oleksii Grudev984d5852018-10-26 13:37:09 +0300280 port: ${_param:openstack_rabbitmq_port}
Vasyl Saienkoaba14762018-01-03 15:25:57 +0200281 ssl:
Vasyl Saienko91d66f12018-01-11 17:19:31 +0200282 enabled: ${_param:rabbitmq_ssl_enabled}
Oleksandr Pidrepnyiafcceff2019-02-15 18:01:29 +0200283 linux:
284 system:
285 job:
286 periodically_get_horizon_home_page:
287 command: "MAX_TIME=60 ; SLEEP_TIME=15 ; COUNT=$((MAX_TIME/SLEEP_TIME)) ; for i in `seq 1 $COUNT`; do timeout $SLEEP_TIME sh -c \" curl -fsL --insecure --connect-timeout $SLEEP_TIME --max-time $SLEEP_TIME ${_param:cluster_public_protocol}://${_param:single_address}:8078 -o /dev/null ; sleep $SLEEP_TIME \" ; done"
288 enabled: true
289 user: root
290 minute: '*'