blob: c53173bb9206df91a1528fb01c0e646539036db8 [file] [log] [blame]
Oleksii Butenkoba680de2018-08-23 14:15:19 +03001{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'proposed') %}
2
Tatyana Leontovich6603e902018-12-04 15:11:19 +02003{% import 'cookied-cicd-pike-dvr-ceph/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
4{% import 'cookied-cicd-pike-dvr-ceph/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
Oleksii Butenkoba680de2018-08-23 14:15:19 +03005
6---
7aliases:
8 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
9 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030010 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
11
Tatyana Leontovich6603e902018-12-04 15:11:19 +020012{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-cicd-pike-dvr-ceph') %}
Oleksii Butenko236db652018-10-10 14:45:31 +030013{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030014{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
15{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
16{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
17{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
Tatyana Leontovich6603e902018-12-04 15:11:19 +020018{% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01.' + DOMAIN_NAME) %}
19{% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02.' + DOMAIN_NAME) %}
20{% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03.' + DOMAIN_NAME) %}
Oleksii Butenkof5c86102018-09-10 13:29:53 +030021{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp1.' + DOMAIN_NAME) %}
22{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp2.' + DOMAIN_NAME) %}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030023{% set HOSTNAME_CMN01 = os_env('HOSTNAME_CMN01', 'cmn01.' + DOMAIN_NAME) %}
24{% set HOSTNAME_CMN02 = os_env('HOSTNAME_CMN02', 'cmn02.' + DOMAIN_NAME) %}
25{% set HOSTNAME_CMN03 = os_env('HOSTNAME_CMN03', 'cmn03.' + DOMAIN_NAME) %}
Tatyana Leontovich6603e902018-12-04 15:11:19 +020026{% set HOSTNAME_RGW01 = os_env('HOSTNAME_RGW01', 'rgw01.' + DOMAIN_NAME) %}
27{% set HOSTNAME_RGW02 = os_env('HOSTNAME_RGW02', 'rgw02.' + DOMAIN_NAME) %}
28{% set HOSTNAME_RGW03 = os_env('HOSTNAME_RGW03', 'rgw03.' + DOMAIN_NAME) %}
Oleksii Butenkof5c86102018-09-10 13:29:53 +030029{% set HOSTNAME_OSD01 = os_env('HOSTNAME_OSD01', 'osd1.' + DOMAIN_NAME) %}
30{% set HOSTNAME_OSD02 = os_env('HOSTNAME_OSD02', 'osd2.' + DOMAIN_NAME) %}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030031{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
32{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
Tatyana Leontovich6603e902018-12-04 15:11:19 +020033{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %}
34{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %}
35{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %}
36{% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01.' + DOMAIN_NAME) %}
37{% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02.' + DOMAIN_NAME) %}
38{% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03.' + DOMAIN_NAME) %}
39{% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01.' + DOMAIN_NAME) %}
40{% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02.' + DOMAIN_NAME) %}
41{% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03.' + DOMAIN_NAME) %}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030042
43template:
44 devops_settings:
Tatyana Leontovich6603e902018-12-04 15:11:19 +020045 env_name: {{ os_env('ENV_NAME', 'cookied-cicd-pike-dvr-ceph_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030046
47 address_pools:
48 private-pool01:
49 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
50 params:
51 ip_reserved:
52 gateway: +1
53 l2_network_device: +1
54 default_{{ HOSTNAME_CFG01 }}: +15
55 default_{{ HOSTNAME_CTL01 }}: +11
56 default_{{ HOSTNAME_CTL02 }}: +12
57 default_{{ HOSTNAME_CTL03 }}: +13
58 default_{{ HOSTNAME_CMP01 }}: +105
59 default_{{ HOSTNAME_CMP02 }}: +106
Tatyana Leontovich6603e902018-12-04 15:11:19 +020060 default_{{ HOSTNAME_CID }}: +90
61 default_{{ HOSTNAME_CID01 }}: +91
62 default_{{ HOSTNAME_CID02 }}: +92
63 default_{{ HOSTNAME_CID03 }}: +93
Oleksii Butenkof5c86102018-09-10 13:29:53 +030064 default_{{ HOSTNAME_OSD01 }}: +94
65 default_{{ HOSTNAME_OSD02 }}: +95
Oleksii Butenkoba680de2018-08-23 14:15:19 +030066 default_{{ HOSTNAME_CMN01 }}: +96
67 default_{{ HOSTNAME_CMN02 }}: +97
68 default_{{ HOSTNAME_CMN03 }}: +98
69 default_{{ HOSTNAME_RGW01 }}: +76
70 default_{{ HOSTNAME_RGW02 }}: +77
71 default_{{ HOSTNAME_RGW03 }}: +78
72 default_{{ HOSTNAME_GTW01 }}: +110
73 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich6603e902018-12-04 15:11:19 +020074 default_{{ HOSTNAME_MON01 }}: +71
75 default_{{ HOSTNAME_MON02 }}: +72
76 default_{{ HOSTNAME_MON03 }}: +73
77 default_{{ HOSTNAME_LOG01 }}: +61
78 default_{{ HOSTNAME_LOG02 }}: +62
79 default_{{ HOSTNAME_LOG03 }}: +63
80 default_{{ HOSTNAME_MTR01 }}: +51
81 default_{{ HOSTNAME_MTR02 }}: +52
82 default_{{ HOSTNAME_MTR03 }}: +53
Oleksii Butenkoba680de2018-08-23 14:15:19 +030083 ip_ranges:
Tatyana Leontovich6603e902018-12-04 15:11:19 +020084 dhcp: [+10, -10]
Oleksii Butenkoba680de2018-08-23 14:15:19 +030085
86 admin-pool01:
87 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
88 params:
89 ip_reserved:
90 gateway: +1
91 l2_network_device: +1
92 default_{{ HOSTNAME_CFG01 }}: +15
93 default_{{ HOSTNAME_CTL01 }}: +11
94 default_{{ HOSTNAME_CTL02 }}: +12
95 default_{{ HOSTNAME_CTL03 }}: +13
96 default_{{ HOSTNAME_CMP01 }}: +105
97 default_{{ HOSTNAME_CMP02 }}: +106
Tatyana Leontovich6603e902018-12-04 15:11:19 +020098 default_{{ HOSTNAME_CID }}: +90
99 default_{{ HOSTNAME_CID01 }}: +91
100 default_{{ HOSTNAME_CID02 }}: +92
101 default_{{ HOSTNAME_CID03 }}: +93
Oleksii Butenkof5c86102018-09-10 13:29:53 +0300102 default_{{ HOSTNAME_OSD01 }}: +94
103 default_{{ HOSTNAME_OSD02 }}: +95
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300104 default_{{ HOSTNAME_CMN01 }}: +96
105 default_{{ HOSTNAME_CMN02 }}: +97
106 default_{{ HOSTNAME_CMN03 }}: +98
107 default_{{ HOSTNAME_RGW01 }}: +76
108 default_{{ HOSTNAME_RGW02 }}: +77
109 default_{{ HOSTNAME_RGW03 }}: +78
110 default_{{ HOSTNAME_GTW01 }}: +110
111 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200112 default_{{ HOSTNAME_MON01 }}: +71
113 default_{{ HOSTNAME_MON02 }}: +72
114 default_{{ HOSTNAME_MON03 }}: +73
115 default_{{ HOSTNAME_LOG01 }}: +61
116 default_{{ HOSTNAME_LOG02 }}: +62
117 default_{{ HOSTNAME_LOG03 }}: +63
118 default_{{ HOSTNAME_MTR01 }}: +51
119 default_{{ HOSTNAME_MTR02 }}: +52
120 default_{{ HOSTNAME_MTR03 }}: +53
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300121 ip_ranges:
122 dhcp: [+70, -10]
123
124 tenant-pool01:
125 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
126 params:
127 ip_reserved:
128 gateway: +1
129 l2_network_device: +1
130 default_{{ HOSTNAME_CFG01 }}: +15
131 default_{{ HOSTNAME_CTL01 }}: +11
132 default_{{ HOSTNAME_CTL02 }}: +12
133 default_{{ HOSTNAME_CTL03 }}: +13
134 default_{{ HOSTNAME_CMP01 }}: +105
135 default_{{ HOSTNAME_CMP02 }}: +106
Oleksii Butenkof5c86102018-09-10 13:29:53 +0300136 default_{{ HOSTNAME_OSD01 }}: +94
137 default_{{ HOSTNAME_OSD02 }}: +95
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300138 default_{{ HOSTNAME_CMN01 }}: +96
139 default_{{ HOSTNAME_CMN02 }}: +97
140 default_{{ HOSTNAME_CMN03 }}: +98
141 default_{{ HOSTNAME_RGW01 }}: +76
142 default_{{ HOSTNAME_RGW02 }}: +77
143 default_{{ HOSTNAME_RGW03 }}: +78
144 default_{{ HOSTNAME_GTW01 }}: +110
145 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200146 default_{{ HOSTNAME_MON01 }}: +71
147 default_{{ HOSTNAME_MON02 }}: +72
148 default_{{ HOSTNAME_MON03 }}: +73
149 default_{{ HOSTNAME_LOG01 }}: +61
150 default_{{ HOSTNAME_LOG02 }}: +62
151 default_{{ HOSTNAME_LOG03 }}: +63
152 default_{{ HOSTNAME_MTR01 }}: +51
153 default_{{ HOSTNAME_MTR02 }}: +52
154 default_{{ HOSTNAME_MTR03 }}: +53
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300155 ip_ranges:
156 dhcp: [+10, -10]
157
158 external-pool01:
159 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
160 params:
161 ip_reserved:
162 gateway: +1
163 l2_network_device: +1
164 default_{{ HOSTNAME_CFG01 }}: +15
165 default_{{ HOSTNAME_CTL01 }}: +11
166 default_{{ HOSTNAME_CTL02 }}: +12
167 default_{{ HOSTNAME_CTL03 }}: +13
168 default_{{ HOSTNAME_CMP01 }}: +105
169 default_{{ HOSTNAME_CMP02 }}: +106
Oleksii Butenkof5c86102018-09-10 13:29:53 +0300170 default_{{ HOSTNAME_OSD01 }}: +94
171 default_{{ HOSTNAME_OSD02 }}: +95
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300172 default_{{ HOSTNAME_CMN01 }}: +96
173 default_{{ HOSTNAME_CMN02 }}: +97
174 default_{{ HOSTNAME_CMN03 }}: +98
175 default_{{ HOSTNAME_RGW01 }}: +76
176 default_{{ HOSTNAME_RGW02 }}: +77
177 default_{{ HOSTNAME_RGW03 }}: +78
178 default_{{ HOSTNAME_GTW01 }}: +110
179 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200180 default_{{ HOSTNAME_MON01 }}: +71
181 default_{{ HOSTNAME_MON02 }}: +72
182 default_{{ HOSTNAME_MON03 }}: +73
183 default_{{ HOSTNAME_LOG01 }}: +61
184 default_{{ HOSTNAME_LOG02 }}: +62
185 default_{{ HOSTNAME_LOG03 }}: +63
186 default_{{ HOSTNAME_MTR01 }}: +51
187 default_{{ HOSTNAME_MTR02 }}: +52
188 default_{{ HOSTNAME_MTR03 }}: +53
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300189 ip_ranges:
Oleksii Butenko7c2c55b2018-09-20 15:22:13 +0300190 dhcp: [+130, +230]
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300191
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300192 groups:
193 - name: default
194 driver:
195 name: devops.driver.libvirt
196 params:
197 connection_string: !os_env CONNECTION_STRING, qemu:///system
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200198 storage_pool_name: !os_env STORAGE_POOL_NAME, default
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300199 stp: False
200 hpet: False
201 enable_acpi: true
202 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
203 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
204
205 network_pools:
206 admin: admin-pool01
207 private: private-pool01
208 tenant: tenant-pool01
209 external: external-pool01
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300210
211 l2_network_devices:
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300212 admin:
213 address_pool: admin-pool01
214 dhcp: true
215 forward:
216 mode: nat
217
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200218 private:
219 address_pool: private-pool01
220 dhcp: false
221 forward:
222 mode: route
223
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300224 tenant:
225 address_pool: tenant-pool01
226 dhcp: false
227
228 external:
229 address_pool: external-pool01
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200230 dhcp: false
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300231 forward:
232 mode: route
233
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300234 group_volumes:
235 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200236 source_image: {{ os_env('MCP_IMAGE_PATH1604') }} # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300237 format: qcow2
238 - name: cfg01_day01_image # Pre-configured day01 image
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200239 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300240 format: qcow2
241 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
242 source_image: !os_env MCP_IMAGE_PATH1604
243 format: qcow2
244
245 nodes:
246 - name: {{ HOSTNAME_CFG01 }}
247 role: salt_master
248 params:
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200249 vcpu: {{ os_env('CFG_NODE_CPU', 3) }}
Dennis Dmitriev19afa872018-12-21 15:18:51 +0200250 memory: {{ os_env('CFG_NODE_MEMORY', 12288) }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300251 boot:
252 - hd
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300253 volumes:
254 - name: system
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200255 capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300256 backing_store: cfg01_day01_image
257 format: qcow2
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200258 - name: config
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300259 capacity: 1
260 format: raw
261 device: cdrom
262 bus: ide
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300263
264 interfaces:
265 - label: ens3
266 l2_network_device: admin
267 interface_model: *interface_model
268 - label: ens4
269 l2_network_device: private
270 interface_model: *interface_model
271 network_config:
272 ens3:
273 networks:
274 - admin
275 ens4:
276 networks:
277 - private
278
279 - name: {{ HOSTNAME_CTL01 }}
280 role: salt_minion
281 params:
282 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200283 memory: !os_env SLAVE_NODE_MEMORY, 6144
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300284 boot:
285 - hd
286 cloud_init_volume_name: iso
287 cloud_init_iface_up: ens3
288 volumes:
289 - name: system
290 capacity: !os_env NODE_VOLUME_SIZE, 150
291 backing_store: mcp_ubuntu_1604_image
292 format: qcow2
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300293 - name: iso # Volume with name 'iso' will be used
294 # for store image with cloud-init metadata.
295 capacity: 1
296 format: raw
297 device: cdrom
298 bus: ide
299 cloudinit_meta_data: *cloudinit_meta_data
300 cloudinit_user_data: *cloudinit_user_data_1604
301
302 interfaces: &interfaces
303 - label: ens3
304 l2_network_device: admin
305 interface_model: *interface_model
306 - label: ens4
307 l2_network_device: private
308 interface_model: *interface_model
309 network_config: &network_config
310 ens3:
311 networks:
312 - admin
313 ens4:
314 networks:
315 - private
316
317 - name: {{ HOSTNAME_CTL02 }}
318 role: salt_minion
319 params:
320 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200321 memory: !os_env SLAVE_NODE_MEMORY, 6144
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300322 boot:
323 - hd
324 cloud_init_volume_name: iso
325 cloud_init_iface_up: ens3
326 volumes:
327 - name: system
328 capacity: !os_env NODE_VOLUME_SIZE, 150
329 backing_store: mcp_ubuntu_1604_image
330 format: qcow2
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300331 - name: iso # Volume with name 'iso' will be used
332 # for store image with cloud-init metadata.
333 capacity: 1
334 format: raw
335 device: cdrom
336 bus: ide
337 cloudinit_meta_data: *cloudinit_meta_data
338 cloudinit_user_data: *cloudinit_user_data_1604
339
340 interfaces: *interfaces
341 network_config: *network_config
342
343 - name: {{ HOSTNAME_CTL03 }}
344 role: salt_minion
345 params:
346 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200347 memory: !os_env SLAVE_NODE_MEMORY, 6144
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300348 boot:
349 - hd
350 cloud_init_volume_name: iso
351 cloud_init_iface_up: ens3
352 volumes:
353 - name: system
354 capacity: !os_env NODE_VOLUME_SIZE, 150
355 backing_store: mcp_ubuntu_1604_image
356 format: qcow2
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300357 - name: iso # Volume with name 'iso' will be used
358 # for store image with cloud-init metadata.
359 capacity: 1
360 format: raw
361 device: cdrom
362 bus: ide
363 cloudinit_meta_data: *cloudinit_meta_data
364 cloudinit_user_data: *cloudinit_user_data_1604
365
366 interfaces: *interfaces
367 network_config: *network_config
368
369 - name: {{ HOSTNAME_CMN01 }}
370 role: salt_minion
371 params:
372 vcpu: !os_env SLAVE_NODE_CPU, 2
373 memory: !os_env SLAVE_NODE_MEMORY, 2048
374 boot:
375 - hd
376 cloud_init_volume_name: iso
377 cloud_init_iface_up: ens3
378 volumes:
379 - name: system
380 capacity: !os_env NODE_VOLUME_SIZE, 150
381 backing_store: cloudimage1604
382 format: qcow2
383 - name: iso # Volume with name 'iso' will be used
384 # for store image with cloud-init metadata.
385 capacity: 1
386 format: raw
387 device: cdrom
388 bus: ide
389 cloudinit_meta_data: *cloudinit_meta_data
390 cloudinit_user_data: *cloudinit_user_data_1604
391
392 interfaces: *interfaces
393 network_config: *network_config
394
395 - name: {{ HOSTNAME_CMN02 }}
396 role: salt_minion
397 params:
398 vcpu: !os_env SLAVE_NODE_CPU, 2
399 memory: !os_env SLAVE_NODE_MEMORY, 2048
400 boot:
401 - hd
402 cloud_init_volume_name: iso
403 cloud_init_iface_up: ens3
404 volumes:
405 - name: system
406 capacity: !os_env NODE_VOLUME_SIZE, 150
407 backing_store: cloudimage1604
408 format: qcow2
409 - name: iso # Volume with name 'iso' will be used
410 # for store image with cloud-init metadata.
411 capacity: 1
412 format: raw
413 device: cdrom
414 bus: ide
415 cloudinit_meta_data: *cloudinit_meta_data
416 cloudinit_user_data: *cloudinit_user_data_1604
417
418 interfaces: *interfaces
419 network_config: *network_config
420
421 - name: {{ HOSTNAME_CMN03 }}
422 role: salt_minion
423 params:
424 vcpu: !os_env SLAVE_NODE_CPU, 2
425 memory: !os_env SLAVE_NODE_MEMORY, 2048
426 boot:
427 - hd
428 cloud_init_volume_name: iso
429 cloud_init_iface_up: ens3
430 volumes:
431 - name: system
432 capacity: !os_env NODE_VOLUME_SIZE, 150
433 backing_store: cloudimage1604
434 format: qcow2
435 - name: iso # Volume with name 'iso' will be used
436 # for store image with cloud-init metadata.
437 capacity: 1
438 format: raw
439 device: cdrom
440 bus: ide
441 cloudinit_meta_data: *cloudinit_meta_data
442 cloudinit_user_data: *cloudinit_user_data_1604
443
444 interfaces: *interfaces
445 network_config: *network_config
446
Oleksii Butenkof5c86102018-09-10 13:29:53 +0300447 - name: {{ HOSTNAME_OSD01 }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300448 role: salt_minion
449 params:
450 vcpu: !os_env SLAVE_NODE_CPU, 2
451 memory: !os_env SLAVE_NODE_MEMORY, 2048
452 boot:
453 - hd
454 cloud_init_volume_name: iso
455 cloud_init_iface_up: ens3
456 volumes:
457 - name: system
458 capacity: !os_env NODE_VOLUME_SIZE, 150
459 backing_store: cloudimage1604
460 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300461 - name: ceph_osd
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300462 capacity: 50
463 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300464 - name: ceph_journal
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300465 capacity: 50
466 format: qcow2
467 - name: iso # Volume with name 'iso' will be used
468 # for store image with cloud-init metadata.
469 capacity: 1
470 format: raw
471 device: cdrom
472 bus: ide
473 cloudinit_meta_data: *cloudinit_meta_data
474 cloudinit_user_data: *cloudinit_user_data_1604
475
476 interfaces: *interfaces
477 network_config: *network_config
478
Oleksii Butenkof5c86102018-09-10 13:29:53 +0300479 - name: {{ HOSTNAME_OSD02 }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300480 role: salt_minion
481 params:
482 vcpu: !os_env SLAVE_NODE_CPU, 2
483 memory: !os_env SLAVE_NODE_MEMORY, 2048
484 boot:
485 - hd
486 cloud_init_volume_name: iso
487 cloud_init_iface_up: ens3
488 volumes:
489 - name: system
490 capacity: !os_env NODE_VOLUME_SIZE, 150
491 backing_store: cloudimage1604
492 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300493 - name: ceph_osd
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300494 capacity: 50
495 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300496 - name: ceph_journal
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300497 capacity: 50
498 format: qcow2
499 - name: iso # Volume with name 'iso' will be used
500 # for store image with cloud-init metadata.
501 capacity: 1
502 format: raw
503 device: cdrom
504 bus: ide
505 cloudinit_meta_data: *cloudinit_meta_data
506 cloudinit_user_data: *cloudinit_user_data_1604
507
508 interfaces: *interfaces
509 network_config: *network_config
510
511 - name: {{ HOSTNAME_RGW01 }}
512 role: salt_minion
513 params:
514 vcpu: !os_env SLAVE_NODE_CPU, 2
515 memory: !os_env SLAVE_NODE_MEMORY, 2048
516 boot:
517 - hd
518 cloud_init_volume_name: iso
519 cloud_init_iface_up: ens3
520 volumes:
521 - name: system
522 capacity: !os_env NODE_VOLUME_SIZE, 150
523 backing_store: cloudimage1604
524 format: qcow2
525 - name: iso # Volume with name 'iso' will be used
526 # for store image with cloud-init metadata.
527 capacity: 1
528 format: raw
529 device: cdrom
530 bus: ide
531 cloudinit_meta_data: *cloudinit_meta_data
532 cloudinit_user_data: *cloudinit_user_data_1604
533
534 interfaces: *interfaces
535 network_config: *network_config
536
537 - name: {{ HOSTNAME_RGW02 }}
538 role: salt_minion
539 params:
540 vcpu: !os_env SLAVE_NODE_CPU, 2
541 memory: !os_env SLAVE_NODE_MEMORY, 2048
542 boot:
543 - hd
544 cloud_init_volume_name: iso
545 cloud_init_iface_up: ens3
546 volumes:
547 - name: system
548 capacity: !os_env NODE_VOLUME_SIZE, 150
549 backing_store: cloudimage1604
550 format: qcow2
551 - name: iso # Volume with name 'iso' will be used
552 # for store image with cloud-init metadata.
553 capacity: 1
554 format: raw
555 device: cdrom
556 bus: ide
557 cloudinit_meta_data: *cloudinit_meta_data
558 cloudinit_user_data: *cloudinit_user_data_1604
559
560 interfaces: *interfaces
561 network_config: *network_config
562 - name: {{ HOSTNAME_RGW03 }}
563 role: salt_minion
564 params:
565 vcpu: !os_env SLAVE_NODE_CPU, 2
566 memory: !os_env SLAVE_NODE_MEMORY, 2048
567 boot:
568 - hd
569 cloud_init_volume_name: iso
570 cloud_init_iface_up: ens3
571 volumes:
572 - name: system
573 capacity: !os_env NODE_VOLUME_SIZE, 150
574 backing_store: cloudimage1604
575 format: qcow2
576 - name: iso # Volume with name 'iso' will be used
577 # for store image with cloud-init metadata.
578 capacity: 1
579 format: raw
580 device: cdrom
581 bus: ide
582 cloudinit_meta_data: *cloudinit_meta_data
583 cloudinit_user_data: *cloudinit_user_data_1604
584
585 interfaces: *interfaces
586 network_config: *network_config
587
588 - name: {{ HOSTNAME_PRX01 }}
589 role: salt_minion
590 params:
591 vcpu: !os_env SLAVE_NODE_CPU, 1
592 memory: !os_env SLAVE_NODE_MEMORY, 2048
593 boot:
594 - hd
595 cloud_init_volume_name: iso
596 cloud_init_iface_up: ens3
597 volumes:
598 - name: system
599 capacity: !os_env NODE_VOLUME_SIZE, 150
600 backing_store: mcp_ubuntu_1604_image
601 format: qcow2
602 - name: iso # Volume with name 'iso' will be used
603 # for store image with cloud-init metadata.
604 capacity: 1
605 format: raw
606 device: cdrom
607 bus: ide
608 cloudinit_meta_data: *cloudinit_meta_data
609 cloudinit_user_data: *cloudinit_user_data_1604
610
Tatyana Leontovich924e0002019-01-04 16:20:11 +0200611 interfaces:
612 - label: ens3
613 l2_network_device: admin
614 interface_model: *interface_model
615 - label: ens4
616 l2_network_device: private
617 interface_model: *interface_model
618 - label: ens5
619 l2_network_device: external
620 interface_model: *interface_model
621 network_config:
622 ens3:
623 networks:
624 - admin
625 ens4:
626 networks:
627 - private
628 ens5:
629 networks:
630 - external
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300631
632 - name: {{ HOSTNAME_CMP01 }}
633 role: salt_minion
634 params:
635 vcpu: !os_env SLAVE_NODE_CPU, 3
636 memory: !os_env SLAVE_NODE_MEMORY, 4096
637 boot:
638 - hd
639 cloud_init_volume_name: iso
640 cloud_init_iface_up: ens3
641 volumes:
642 - name: system
643 capacity: !os_env NODE_VOLUME_SIZE, 150
644 backing_store: cloudimage1604
645 format: qcow2
646 - name: iso # Volume with name 'iso' will be used
647 # for store image with cloud-init metadata.
648 capacity: 1
649 format: raw
650 device: cdrom
651 bus: ide
652 cloudinit_meta_data: *cloudinit_meta_data
653 cloudinit_user_data: *cloudinit_user_data_1604
654
655
656 interfaces: &all_interfaces
657 - label: ens3
658 l2_network_device: admin
659 interface_model: *interface_model
660 - label: ens4
661 l2_network_device: private
662 interface_model: *interface_model
663 - label: ens5
664 l2_network_device: tenant
665 interface_model: *interface_model
666 - label: ens6
667 l2_network_device: external
668 interface_model: *interface_model
669 network_config: &all_network_config
670 ens3:
671 networks:
672 - admin
673 ens4:
674 networks:
675 - private
676 ens5:
677 networks:
678 - tenant
679 ens6:
680 networks:
681 - external
682
683 - name: {{ HOSTNAME_CMP02 }}
684 role: salt_minion
685 params:
686 vcpu: !os_env SLAVE_NODE_CPU, 3
687 memory: !os_env SLAVE_NODE_MEMORY, 4096
688 boot:
689 - hd
690 cloud_init_volume_name: iso
691 cloud_init_iface_up: ens3
692 volumes:
693 - name: system
694 capacity: !os_env NODE_VOLUME_SIZE, 150
695 backing_store: cloudimage1604
696 format: qcow2
697 - name: iso # Volume with name 'iso' will be used
698 # for store image with cloud-init metadata.
699 capacity: 1
700 format: raw
701 device: cdrom
702 bus: ide
703 cloudinit_meta_data: *cloudinit_meta_data
704 cloudinit_user_data: *cloudinit_user_data_1604
705
706 interfaces: *all_interfaces
707 network_config: *all_network_config
708
709 - name: {{ HOSTNAME_GTW01 }}
710 role: salt_minion
711 params:
712 vcpu: !os_env SLAVE_NODE_CPU, 4
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200713 memory: !os_env SLAVE_NODE_MEMORY, 2048
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300714 boot:
715 - hd
716 cloud_init_volume_name: iso
717 cloud_init_iface_up: ens3
718 volumes:
719 - name: system
720 capacity: !os_env NODE_VOLUME_SIZE, 150
721 backing_store: cloudimage1604
722 format: qcow2
723 - name: iso # Volume with name 'iso' will be used
724 # for store image with cloud-init metadata.
725 capacity: 1
726 format: raw
727 device: cdrom
728 bus: ide
729 cloudinit_meta_data: *cloudinit_meta_data
730 cloudinit_user_data: *cloudinit_user_data_1604
731
732 interfaces: *all_interfaces
733 network_config: *all_network_config
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200734
735 - name: {{ HOSTNAME_CID01 }}
736 role: salt_minion
737 params:
738 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
739 memory: {{ os_env('CID_NODE_MEMORY', 6144) }}
740 boot:
741 - hd
742 cloud_init_volume_name: iso
743 cloud_init_iface_up: ens3
744 volumes:
745 - name: system
746 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
747 backing_store: mcp_ubuntu_1604_image
748 format: qcow2
749 - name: iso # Volume with name 'iso' will be used
750 # for store image with cloud-init metadata.
751 capacity: 1
752 format: raw
753 device: cdrom
754 bus: ide
755 cloudinit_meta_data: *cloudinit_meta_data
756 cloudinit_user_data: *cloudinit_user_data_1604
757
758 interfaces: *interfaces
759 network_config: *network_config
760
761 - name: {{ HOSTNAME_CID02 }}
762 role: salt_minion
763 params:
764 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
765 memory: {{ os_env('CID_NODE_MEMORY', 6144) }}
766 boot:
767 - hd
768 cloud_init_volume_name: iso
769 cloud_init_iface_up: ens3
770 volumes:
771 - name: system
772 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
773 backing_store: mcp_ubuntu_1604_image
774 format: qcow2
775 - name: iso # Volume with name 'iso' will be used
776 # for store image with cloud-init metadata.
777 capacity: 1
778 format: raw
779 device: cdrom
780 bus: ide
781 cloudinit_meta_data: *cloudinit_meta_data
782 cloudinit_user_data: *cloudinit_user_data_1604
783
784 interfaces: *interfaces
785 network_config: *network_config
786
787 - name: {{ HOSTNAME_CID03 }}
788 role: salt_minion
789 params:
790 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
791 memory: {{ os_env('CID_NODE_MEMORY', 6144) }}
792 boot:
793 - hd
794 cloud_init_volume_name: iso
795 cloud_init_iface_up: ens3
796 volumes:
797 - name: system
798 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
799 backing_store: mcp_ubuntu_1604_image
800 format: qcow2
801 - name: iso # Volume with name 'iso' will be used
802 # for store image with cloud-init metadata.
803 capacity: 1
804 format: raw
805 device: cdrom
806 bus: ide
807 cloudinit_meta_data: *cloudinit_meta_data
808 cloudinit_user_data: *cloudinit_user_data_1604
809
810 interfaces: *interfaces
811 network_config: *network_config
812
813 - name: {{ HOSTNAME_MON01 }}
814 role: salt_minion
815 params:
816 vcpu: !os_env SLAVE_NODE_CPU, 2
817 memory: !os_env SLAVE_NODE_MEMORY, 2048
818 boot:
819 - hd
820 cloud_init_volume_name: iso
821 cloud_init_iface_up: ens3
822 volumes:
823 - name: system
824 capacity: !os_env NODE_VOLUME_SIZE, 150
825 backing_store: mcp_ubuntu_1604_image
826 format: qcow2
827 - name: iso # Volume with name 'iso' will be used
828 # for store image with cloud-init metadata.
829 capacity: 1
830 format: raw
831 device: cdrom
832 bus: ide
833 cloudinit_meta_data: *cloudinit_meta_data
834 cloudinit_user_data: *cloudinit_user_data_1604
835
836 interfaces: *interfaces
837 network_config: *network_config
838
839 - name: {{ HOSTNAME_MON02 }}
840 role: salt_minion
841 params:
842 vcpu: !os_env SLAVE_NODE_CPU, 2
843 memory: !os_env SLAVE_NODE_MEMORY, 2048
844 boot:
845 - hd
846 cloud_init_volume_name: iso
847 cloud_init_iface_up: ens3
848 volumes:
849 - name: system
850 capacity: !os_env NODE_VOLUME_SIZE, 150
851 backing_store: mcp_ubuntu_1604_image
852 format: qcow2
853 - name: iso # Volume with name 'iso' will be used
854 # for store image with cloud-init metadata.
855 capacity: 1
856 format: raw
857 device: cdrom
858 bus: ide
859 cloudinit_meta_data: *cloudinit_meta_data
860 cloudinit_user_data: *cloudinit_user_data_1604
861
862 interfaces: *interfaces
863 network_config: *network_config
864
865 - name: {{ HOSTNAME_MON03 }}
866 role: salt_minion
867 params:
868 vcpu: !os_env SLAVE_NODE_CPU, 2
869 memory: !os_env SLAVE_NODE_MEMORY, 2048
870 boot:
871 - hd
872 cloud_init_volume_name: iso
873 cloud_init_iface_up: ens3
874 volumes:
875 - name: system
876 capacity: !os_env NODE_VOLUME_SIZE, 150
877 backing_store: mcp_ubuntu_1604_image
878 format: qcow2
879 - name: iso # Volume with name 'iso' will be used
880 # for store image with cloud-init metadata.
881 capacity: 1
882 format: raw
883 device: cdrom
884 bus: ide
885 cloudinit_meta_data: *cloudinit_meta_data
886 cloudinit_user_data: *cloudinit_user_data_1604
887
888 interfaces: *interfaces
889 network_config: *network_config
890
891 - name: {{ HOSTNAME_LOG01 }}
892 role: salt_minion
893 params:
894 vcpu: !os_env SLAVE_NODE_CPU, 2
895 memory: !os_env SLAVE_NODE_MEMORY, 2048
896 boot:
897 - hd
898 cloud_init_volume_name: iso
899 cloud_init_iface_up: ens3
900 volumes:
901 - name: system
902 capacity: !os_env NODE_VOLUME_SIZE, 150
903 backing_store: mcp_ubuntu_1604_image
904 format: qcow2
905 - name: iso # Volume with name 'iso' will be used
906 # for store image with cloud-init metadata.
907 capacity: 1
908 format: raw
909 device: cdrom
910 bus: ide
911 cloudinit_meta_data: *cloudinit_meta_data
912 cloudinit_user_data: *cloudinit_user_data_1604
913
914 interfaces: *interfaces
915 network_config: *network_config
916
917 - name: {{ HOSTNAME_LOG02 }}
918 role: salt_minion
919 params:
920 vcpu: !os_env SLAVE_NODE_CPU, 2
921 memory: !os_env SLAVE_NODE_MEMORY, 2048
922 boot:
923 - hd
924 cloud_init_volume_name: iso
925 cloud_init_iface_up: ens3
926 volumes:
927 - name: system
928 capacity: !os_env NODE_VOLUME_SIZE, 150
929 backing_store: mcp_ubuntu_1604_image
930 format: qcow2
931 - name: iso # Volume with name 'iso' will be used
932 # for store image with cloud-init metadata.
933 capacity: 1
934 format: raw
935 device: cdrom
936 bus: ide
937 cloudinit_meta_data: *cloudinit_meta_data
938 cloudinit_user_data: *cloudinit_user_data_1604
939
940 interfaces: *interfaces
941 network_config: *network_config
942
943 - name: {{ HOSTNAME_LOG03 }}
944 role: salt_minion
945 params:
946 vcpu: !os_env SLAVE_NODE_CPU, 2
947 memory: !os_env SLAVE_NODE_MEMORY, 2048
948 boot:
949 - hd
950 cloud_init_volume_name: iso
951 cloud_init_iface_up: ens3
952 volumes:
953 - name: system
954 capacity: !os_env NODE_VOLUME_SIZE, 150
955 backing_store: mcp_ubuntu_1604_image
956 format: qcow2
957 - name: iso # Volume with name 'iso' will be used
958 # for store image with cloud-init metadata.
959 capacity: 1
960 format: raw
961 device: cdrom
962 bus: ide
963 cloudinit_meta_data: *cloudinit_meta_data
964 cloudinit_user_data: *cloudinit_user_data_1604
965
966 interfaces: *interfaces
967 network_config: *network_config
968
969 - name: {{ HOSTNAME_MTR01 }}
970 role: salt_minion
971 params:
972 vcpu: !os_env SLAVE_NODE_CPU, 2
973 memory: !os_env SLAVE_NODE_MEMORY, 2048
974 boot:
975 - hd
976 cloud_init_volume_name: iso
977 cloud_init_iface_up: ens3
978 volumes:
979 - name: system
980 capacity: !os_env NODE_VOLUME_SIZE, 150
981 backing_store: mcp_ubuntu_1604_image
982 format: qcow2
983 - name: iso # Volume with name 'iso' will be used
984 # for store image with cloud-init metadata.
985 capacity: 1
986 format: raw
987 device: cdrom
988 bus: ide
989 cloudinit_meta_data: *cloudinit_meta_data
990 cloudinit_user_data: *cloudinit_user_data_1604
991
992 interfaces: *interfaces
993 network_config: *network_config
994
995 - name: {{ HOSTNAME_MTR02 }}
996 role: salt_minion
997 params:
998 vcpu: !os_env SLAVE_NODE_CPU, 2
999 memory: !os_env SLAVE_NODE_MEMORY, 2048
1000 boot:
1001 - hd
1002 cloud_init_volume_name: iso
1003 cloud_init_iface_up: ens3
1004 volumes:
1005 - name: system
1006 capacity: !os_env NODE_VOLUME_SIZE, 150
1007 backing_store: mcp_ubuntu_1604_image
1008 format: qcow2
1009 - name: iso # Volume with name 'iso' will be used
1010 # for store image with cloud-init metadata.
1011 capacity: 1
1012 format: raw
1013 device: cdrom
1014 bus: ide
1015 cloudinit_meta_data: *cloudinit_meta_data
1016 cloudinit_user_data: *cloudinit_user_data_1604
1017
1018 interfaces: *interfaces
1019 network_config: *network_config
1020
1021 - name: {{ HOSTNAME_MTR03 }}
1022 role: salt_minion
1023 params:
1024 vcpu: !os_env SLAVE_NODE_CPU, 2
1025 memory: !os_env SLAVE_NODE_MEMORY, 2048
1026 boot:
1027 - hd
1028 cloud_init_volume_name: iso
1029 cloud_init_iface_up: ens3
1030 volumes:
1031 - name: system
1032 capacity: !os_env NODE_VOLUME_SIZE, 150
1033 backing_store: mcp_ubuntu_1604_image
1034 format: qcow2
1035 - name: iso # Volume with name 'iso' will be used
1036 # for store image with cloud-init metadata.
1037 capacity: 1
1038 format: raw
1039 device: cdrom
1040 bus: ide
1041 cloudinit_meta_data: *cloudinit_meta_data
1042 cloudinit_user_data: *cloudinit_user_data_1604
1043
1044 interfaces: *interfaces
1045 network_config: *network_config