blob: bae6a02530050e242f81a064c43dd206c8c871c0 [file] [log] [blame]
Tatyana Leontovichf3718442018-10-31 13:36:13 +02001# Set the repository suite, one of the: 'nightly', 'testing', 'stable', or any other required
2{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'testing') %}
3
4{% import 'cookied-cicd-queens-dvr-sl/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'cookied-cicd-queens-dvr-sl/underlay--user-data1604-swp.yaml' as CLOUDINIT_USER_DATA_1604_SWP with context %}
6
7---
8aliases:
9 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
10 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
11 - &cloudinit_user_data_1604_swp {{ CLOUDINIT_USER_DATA_1604_SWP }}
12
13{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-cicd-queens-dvr-sl') %}
14{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME) + '.local' %}
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +020015{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01') %}
16{% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01') %}
17{% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02') %}
18{% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03') %}
19{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01') %}
20{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02') %}
21{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03') %}
22{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001') %}
23{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002') %}
24{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01') %}
25{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02') %}
26{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03') %}
27{% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01') %}
28{% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02') %}
29{% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03') %}
30{% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01') %}
31{% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02') %}
32{% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03') %}
33{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01') %}
34{% set HOSTNAME_GTW02 = os_env('HOSTNAME_GTW02', 'gtw02') %}
35{% set HOSTNAME_GTW03 = os_env('HOSTNAME_GTW03', 'gtw03') %}
36{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01') %}
Tatyana Leontovich63a2c602019-02-21 13:24:20 +020037{% set HOSTNAME_PRX02 = os_env('HOSTNAME_PRX02', 'prx02') %}
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +020038{% set HOSTNAME_KMN01 = os_env('HOSTNAME_KMN01', 'kmn01') %}
39{% set HOSTNAME_KMN02 = os_env('HOSTNAME_KMN02', 'kmn02') %}
40{% set HOSTNAME_KMN03 = os_env('HOSTNAME_KMN03', 'kmn03') %}
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +020041{% set HOSTNAME_CMN01 = os_env('HOSTNAME_CMN01', 'cmn01') %}
42{% set HOSTNAME_CMN02 = os_env('HOSTNAME_CMN02', 'cmn02') %}
43{% set HOSTNAME_CMN03 = os_env('HOSTNAME_CMN03', 'cmn03') %}
44{% set HOSTNAME_RGW01 = os_env('HOSTNAME_RGW01', 'rgw01') %}
45{% set HOSTNAME_RGW02 = os_env('HOSTNAME_RGW02', 'rgw02') %}
46{% set HOSTNAME_RGW03 = os_env('HOSTNAME_RGW03', 'rgw03') %}
47{% set HOSTNAME_OSD01 = os_env('HOSTNAME_OSD01', 'osd001') %}
48{% set HOSTNAME_OSD02 = os_env('HOSTNAME_OSD02', 'osd002') %}
49{% set HOSTNAME_OSD03 = os_env('HOSTNAME_OSD03', 'osd003') %}
Tatyana Leontovich63a2c602019-02-21 13:24:20 +020050{% set HOSTNAME_DNS01 = os_env('HOSTNAME_DNS01', 'dns01') %}
51{% set HOSTNAME_DNS02 = os_env('HOSTNAME_DNS02', 'dns02') %}
52
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +020053
Tatyana Leontovichf3718442018-10-31 13:36:13 +020054
55template:
56 devops_settings:
57 env_name: {{ os_env('ENV_NAME', 'cookied-cicd-queens-dvr-sl_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
58
59 address_pools:
60 private-pool01:
61 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
62 params:
63 ip_reserved:
64 gateway: +1
65 l2_network_device: +1
66 default_{{ HOSTNAME_CFG01 }}: +15
Tatyana Leontovichf3718442018-10-31 13:36:13 +020067 default_{{ HOSTNAME_CID }}: +90
68 default_{{ HOSTNAME_CID01 }}: +91
69 default_{{ HOSTNAME_CID02 }}: +92
70 default_{{ HOSTNAME_CID03 }}: +93
71 default_{{ HOSTNAME_CTL01 }}: +101
72 default_{{ HOSTNAME_CTL02 }}: +102
73 default_{{ HOSTNAME_CTL03 }}: +103
74 default_{{ HOSTNAME_CMP01 }}: +105
75 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +020076 default_{{ HOSTNAME_KMN01 }}: +45
77 default_{{ HOSTNAME_KMN02 }}: +46
78 default_{{ HOSTNAME_KMN03 }}: +47
Tatyana Leontovichf3718442018-10-31 13:36:13 +020079 default_{{ HOSTNAME_MON01 }}: +71
80 default_{{ HOSTNAME_MON02 }}: +72
81 default_{{ HOSTNAME_MON03 }}: +73
82 default_{{ HOSTNAME_LOG01 }}: +61
83 default_{{ HOSTNAME_LOG02 }}: +62
84 default_{{ HOSTNAME_LOG03 }}: +63
85 default_{{ HOSTNAME_MTR01 }}: +86
86 default_{{ HOSTNAME_MTR02 }}: +87
87 default_{{ HOSTNAME_MTR03 }}: +88
88 default_{{ HOSTNAME_GTW01 }}: +110
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +020089 default_{{ HOSTNAME_GTW02 }}: +111
90 default_{{ HOSTNAME_GTW03 }}: +112
Tatyana Leontovichf3718442018-10-31 13:36:13 +020091 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich63a2c602019-02-21 13:24:20 +020092 default_{{ HOSTNAME_PRX02 }}: +122
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +020093 default_{{ HOSTNAME_OSD01 }}: +37
94 default_{{ HOSTNAME_OSD02 }}: +38
95 default_{{ HOSTNAME_OSD03 }}: +39
96 default_{{ HOSTNAME_CMN01 }}: +96
97 default_{{ HOSTNAME_CMN02 }}: +97
98 default_{{ HOSTNAME_CMN03 }}: +98
99 default_{{ HOSTNAME_RGW01 }}: +76
100 default_{{ HOSTNAME_RGW02 }}: +77
101 default_{{ HOSTNAME_RGW03 }}: +78
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200102 default_{{ HOSTNAME_DNS01 }}: +113
103 default_{{ HOSTNAME_DNS02 }}: +114
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200104 ip_ranges:
105 dhcp: [+90, -10]
106
107 admin-pool01:
108 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
109 params:
110 ip_reserved:
111 gateway: +1
112 l2_network_device: +1
113 default_{{ HOSTNAME_CFG01 }}: +15
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200114 default_{{ HOSTNAME_CID }}: +90
115 default_{{ HOSTNAME_CID01 }}: +91
116 default_{{ HOSTNAME_CID02 }}: +92
117 default_{{ HOSTNAME_CID03 }}: +93
118 default_{{ HOSTNAME_CTL01 }}: +101
119 default_{{ HOSTNAME_CTL02 }}: +102
120 default_{{ HOSTNAME_CTL03 }}: +103
121 default_{{ HOSTNAME_CMP01 }}: +105
122 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +0200123 default_{{ HOSTNAME_KMN01 }}: +45
124 default_{{ HOSTNAME_KMN02 }}: +46
125 default_{{ HOSTNAME_KMN03 }}: +47
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200126 default_{{ HOSTNAME_MON01 }}: +71
127 default_{{ HOSTNAME_MON02 }}: +72
128 default_{{ HOSTNAME_MON03 }}: +73
129 default_{{ HOSTNAME_LOG01 }}: +61
130 default_{{ HOSTNAME_LOG02 }}: +62
131 default_{{ HOSTNAME_LOG03 }}: +63
132 default_{{ HOSTNAME_MTR01 }}: +86
133 default_{{ HOSTNAME_MTR02 }}: +87
134 default_{{ HOSTNAME_MTR03 }}: +88
135 default_{{ HOSTNAME_GTW01 }}: +110
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +0200136 default_{{ HOSTNAME_GTW02 }}: +111
137 default_{{ HOSTNAME_GTW03 }}: +112
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200138 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200139 default_{{ HOSTNAME_PRX02 }}: +122
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +0200140 default_{{ HOSTNAME_OSD01 }}: +37
141 default_{{ HOSTNAME_OSD02 }}: +38
142 default_{{ HOSTNAME_OSD03 }}: +39
143 default_{{ HOSTNAME_CMN01 }}: +96
144 default_{{ HOSTNAME_CMN02 }}: +97
145 default_{{ HOSTNAME_CMN03 }}: +98
146 default_{{ HOSTNAME_RGW01 }}: +76
147 default_{{ HOSTNAME_RGW02 }}: +77
148 default_{{ HOSTNAME_RGW03 }}: +78
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200149 default_{{ HOSTNAME_DNS01 }}: +113
150 default_{{ HOSTNAME_DNS02 }}: +114
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200151 ip_ranges:
152 dhcp: [+90, -10]
153
154 tenant-pool01:
155 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
156 params:
157 ip_reserved:
158 gateway: +1
159 l2_network_device: +1
160 default_{{ HOSTNAME_CFG01 }}: +15
161 default_{{ HOSTNAME_CTL01 }}: +101
162 default_{{ HOSTNAME_CTL02 }}: +102
163 default_{{ HOSTNAME_CTL03 }}: +103
164 default_{{ HOSTNAME_CMP01 }}: +105
165 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +0200166 default_{{ HOSTNAME_KMN01 }}: +45
167 default_{{ HOSTNAME_KMN02 }}: +46
168 default_{{ HOSTNAME_KMN03 }}: +47
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200169 default_{{ HOSTNAME_MON01 }}: +71
170 default_{{ HOSTNAME_MON02 }}: +72
171 default_{{ HOSTNAME_MON03 }}: +73
172 default_{{ HOSTNAME_LOG01 }}: +61
173 default_{{ HOSTNAME_LOG02 }}: +62
174 default_{{ HOSTNAME_LOG03 }}: +63
175 default_{{ HOSTNAME_MTR01 }}: +86
176 default_{{ HOSTNAME_MTR02 }}: +87
177 default_{{ HOSTNAME_MTR03 }}: +88
178 default_{{ HOSTNAME_GTW01 }}: +110
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +0200179 default_{{ HOSTNAME_GTW02 }}: +111
180 default_{{ HOSTNAME_GTW03 }}: +112
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200181 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200182 default_{{ HOSTNAME_PRX02 }}: +122
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +0200183 default_{{ HOSTNAME_OSD01 }}: +37
184 default_{{ HOSTNAME_OSD02 }}: +38
185 default_{{ HOSTNAME_OSD03 }}: +39
186 default_{{ HOSTNAME_CMN01 }}: +96
187 default_{{ HOSTNAME_CMN02 }}: +97
188 default_{{ HOSTNAME_CMN03 }}: +98
189 default_{{ HOSTNAME_RGW01 }}: +76
190 default_{{ HOSTNAME_RGW02 }}: +77
191 default_{{ HOSTNAME_RGW03 }}: +78
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200192 default_{{ HOSTNAME_DNS01 }}: +113
193 default_{{ HOSTNAME_DNS02 }}: +114
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200194 ip_ranges:
195 dhcp: [+10, -10]
196
197 external-pool01:
198 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
199 params:
200 ip_reserved:
201 gateway: +1
202 l2_network_device: +1
203 default_{{ HOSTNAME_CFG01 }}: +15
204 default_{{ HOSTNAME_CTL01 }}: +101
205 default_{{ HOSTNAME_CTL02 }}: +102
206 default_{{ HOSTNAME_CTL03 }}: +103
207 default_{{ HOSTNAME_CMP01 }}: +105
208 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +0200209 default_{{ HOSTNAME_KMN01 }}: +45
210 default_{{ HOSTNAME_KMN02 }}: +46
211 default_{{ HOSTNAME_KMN03 }}: +47
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200212 default_{{ HOSTNAME_MON01 }}: +71
213 default_{{ HOSTNAME_MON02 }}: +72
214 default_{{ HOSTNAME_MON03 }}: +73
215 default_{{ HOSTNAME_LOG01 }}: +61
216 default_{{ HOSTNAME_LOG02 }}: +62
217 default_{{ HOSTNAME_LOG03 }}: +63
218 default_{{ HOSTNAME_MTR01 }}: +86
219 default_{{ HOSTNAME_MTR02 }}: +87
220 default_{{ HOSTNAME_MTR03 }}: +88
221 default_{{ HOSTNAME_GTW01 }}: +110
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +0200222 default_{{ HOSTNAME_GTW02 }}: +111
223 default_{{ HOSTNAME_GTW03 }}: +112
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200224 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200225 default_{{ HOSTNAME_PRX02 }}: +122
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +0200226 default_{{ HOSTNAME_OSD01 }}: +37
227 default_{{ HOSTNAME_OSD02 }}: +38
228 default_{{ HOSTNAME_OSD03 }}: +39
229 default_{{ HOSTNAME_CMN01 }}: +96
230 default_{{ HOSTNAME_CMN02 }}: +97
231 default_{{ HOSTNAME_CMN03 }}: +98
232 default_{{ HOSTNAME_RGW01 }}: +76
233 default_{{ HOSTNAME_RGW02 }}: +77
234 default_{{ HOSTNAME_RGW03 }}: +78
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200235 default_{{ HOSTNAME_DNS01 }}: +113
236 default_{{ HOSTNAME_DNS02 }}: +114
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200237 ip_ranges:
238 dhcp: [+180, +220]
239
240 groups:
241 - name: default
242 driver:
243 name: devops.driver.libvirt
244 params:
245 connection_string: !os_env CONNECTION_STRING, qemu:///system
246 storage_pool_name: !os_env STORAGE_POOL_NAME, default
247 stp: False
248 hpet: False
249 enable_acpi: true
250 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
251 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
252
253 network_pools:
254 admin: admin-pool01
255 private: private-pool01
256 tenant: tenant-pool01
257 external: external-pool01
258
259 l2_network_devices:
260 private:
261 address_pool: private-pool01
262 dhcp: false
263 forward:
264 mode: route
265
266 admin:
267 address_pool: admin-pool01
268 dhcp: true
269 forward:
270 mode: nat
271
272 tenant:
273 address_pool: tenant-pool01
274 dhcp: false
275
276 external:
277 address_pool: external-pool01
278 dhcp: false
279 forward:
280 mode: route
281
282
283 group_volumes:
284 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
285 source_image: {{ os_env('MCP_IMAGE_PATH1604') }} # http://ci.mcp.mirantis.net:8085/images/ubuntu-16-04-x64-mcpproposed.qcow2
286 format: qcow2
287 - name: cfg01_day01_image # Pre-configured day01 image
288 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
289 format: qcow2
290 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
291 source_image: !os_env MCP_IMAGE_PATH1604
292 format: qcow2
293
294 nodes:
295 - name: {{ HOSTNAME_CFG01 }}
296 role: salt_master
297 params:
298 vcpu: {{ os_env('CFG_NODE_CPU', 3) }}
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200299 memory: {{ os_env('CFG_NODE_MEMORY', 16384) }}
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200300 boot:
301 - hd
302 volumes:
303 - name: system
304 capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }}
305 backing_store: cfg01_day01_image
306 format: qcow2
307 - name: config
308 capacity: 1
309 format: raw
310 device: cdrom
311 bus: ide
312 # source_image: !os_env CFG01_CONFIG_PATH # no source image required.
313 # it will be uploaded after config drive generation
314 interfaces:
315 - label: ens3
316 l2_network_device: admin
317 interface_model: *interface_model
318 - label: ens4
319 l2_network_device: private
320 interface_model: *interface_model
321 network_config:
322 ens3:
323 networks:
324 - admin
325 ens4:
326 networks:
327 - private
328
329 - name: {{ HOSTNAME_CTL01 }}
330 role: salt_minion
331 params:
332 vcpu: !os_env SLAVE_NODE_CPU, 2
333 memory: !os_env SLAVE_NODE_MEMORY, 16384
334 boot:
335 - hd
336 cloud_init_volume_name: iso
337 cloud_init_iface_up: ens3
338 volumes:
339 - name: system
340 capacity: !os_env NODE_VOLUME_SIZE, 150
341 backing_store: mcp_ubuntu_1604_image
342 format: qcow2
343 - name: iso # Volume with name 'iso' will be used
344 # for store image with cloud-init metadata.
345 capacity: 1
346 format: raw
347 device: cdrom
348 bus: ide
349 cloudinit_meta_data: *cloudinit_meta_data
350 cloudinit_user_data: *cloudinit_user_data_1604_swp
351
352 interfaces: &interfaces
353 - label: ens3
354 l2_network_device: admin
355 interface_model: *interface_model
356 - label: ens4
357 l2_network_device: private
358 interface_model: *interface_model
359 network_config: &network_config
360 ens3:
361 networks:
362 - admin
363 ens4:
364 networks:
365 - private
366
367 - name: {{ HOSTNAME_CTL02 }}
368 role: salt_minion
369 params:
370 vcpu: !os_env SLAVE_NODE_CPU, 2
371 memory: !os_env SLAVE_NODE_MEMORY, 16384
372 boot:
373 - hd
374 cloud_init_volume_name: iso
375 cloud_init_iface_up: ens3
376 volumes:
377 - name: system
378 capacity: !os_env NODE_VOLUME_SIZE, 150
379 backing_store: mcp_ubuntu_1604_image
380 format: qcow2
381 - name: iso # Volume with name 'iso' will be used
382 # for store image with cloud-init metadata.
383 capacity: 1
384 format: raw
385 device: cdrom
386 bus: ide
387 cloudinit_meta_data: *cloudinit_meta_data
388 cloudinit_user_data: *cloudinit_user_data_1604_swp
389
390 interfaces: *interfaces
391 network_config: *network_config
392
393 - name: {{ HOSTNAME_CTL03 }}
394 role: salt_minion
395 params:
396 vcpu: !os_env SLAVE_NODE_CPU, 2
397 memory: !os_env SLAVE_NODE_MEMORY, 16384
398 boot:
399 - hd
400 cloud_init_volume_name: iso
401 cloud_init_iface_up: ens3
402 volumes:
403 - name: system
404 capacity: !os_env NODE_VOLUME_SIZE, 150
405 backing_store: mcp_ubuntu_1604_image
406 format: qcow2
407 - name: iso # Volume with name 'iso' will be used
408 # for store image with cloud-init metadata.
409 capacity: 1
410 format: raw
411 device: cdrom
412 bus: ide
413 cloudinit_meta_data: *cloudinit_meta_data
414 cloudinit_user_data: *cloudinit_user_data_1604_swp
415
416 interfaces: *interfaces
417 network_config: *network_config
418
419 - name: {{ HOSTNAME_MON01 }}
420 role: salt_minion
421 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200422 vcpu: !os_env SLAVE_NODE_CPU, 1
423 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200424 boot:
425 - hd
426 cloud_init_volume_name: iso
427 cloud_init_iface_up: ens3
428 volumes:
429 - name: system
430 capacity: !os_env NODE_VOLUME_SIZE, 150
431 backing_store: mcp_ubuntu_1604_image
432 format: qcow2
433 - name: iso # Volume with name 'iso' will be used
434 # for store image with cloud-init metadata.
435 capacity: 1
436 format: raw
437 device: cdrom
438 bus: ide
439 cloudinit_meta_data: *cloudinit_meta_data
440 cloudinit_user_data: *cloudinit_user_data_1604_swp
441
442 interfaces: *interfaces
443 network_config: *network_config
444
445 - name: {{ HOSTNAME_MON02 }}
446 role: salt_minion
447 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200448 vcpu: !os_env SLAVE_NODE_CPU, 1
449 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200450 boot:
451 - hd
452 cloud_init_volume_name: iso
453 cloud_init_iface_up: ens3
454 volumes:
455 - name: system
456 capacity: !os_env NODE_VOLUME_SIZE, 150
457 backing_store: mcp_ubuntu_1604_image
458 format: qcow2
459 - name: iso # Volume with name 'iso' will be used
460 # for store image with cloud-init metadata.
461 capacity: 1
462 format: raw
463 device: cdrom
464 bus: ide
465 cloudinit_meta_data: *cloudinit_meta_data
466 cloudinit_user_data: *cloudinit_user_data_1604_swp
467
468 interfaces: *interfaces
469 network_config: *network_config
470
471 - name: {{ HOSTNAME_MON03 }}
472 role: salt_minion
473 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200474 vcpu: !os_env SLAVE_NODE_CPU, 1
475 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200476 boot:
477 - hd
478 cloud_init_volume_name: iso
479 cloud_init_iface_up: ens3
480 volumes:
481 - name: system
482 capacity: !os_env NODE_VOLUME_SIZE, 150
483 backing_store: mcp_ubuntu_1604_image
484 format: qcow2
485 - name: iso # Volume with name 'iso' will be used
486 # for store image with cloud-init metadata.
487 capacity: 1
488 format: raw
489 device: cdrom
490 bus: ide
491 cloudinit_meta_data: *cloudinit_meta_data
492 cloudinit_user_data: *cloudinit_user_data_1604_swp
493
494 interfaces: *interfaces
495 network_config: *network_config
496
497 - name: {{ HOSTNAME_LOG01 }}
498 role: salt_minion
499 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200500 vcpu: !os_env SLAVE_NODE_CPU, 1
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200501 memory: !os_env SLAVE_NODE_MEMORY, 4096
502 boot:
503 - hd
504 cloud_init_volume_name: iso
505 cloud_init_iface_up: ens3
506 volumes:
507 - name: system
508 capacity: !os_env NODE_VOLUME_SIZE, 150
509 backing_store: mcp_ubuntu_1604_image
510 format: qcow2
511 - name: iso # Volume with name 'iso' will be used
512 # for store image with cloud-init metadata.
513 capacity: 1
514 format: raw
515 device: cdrom
516 bus: ide
517 cloudinit_meta_data: *cloudinit_meta_data
518 cloudinit_user_data: *cloudinit_user_data_1604_swp
519
520 interfaces: *interfaces
521 network_config: *network_config
522
523 - name: {{ HOSTNAME_LOG02 }}
524 role: salt_minion
525 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200526 vcpu: !os_env SLAVE_NODE_CPU, 1
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200527 memory: !os_env SLAVE_NODE_MEMORY, 4096
528 boot:
529 - hd
530 cloud_init_volume_name: iso
531 cloud_init_iface_up: ens3
532 volumes:
533 - name: system
534 capacity: !os_env NODE_VOLUME_SIZE, 150
535 backing_store: mcp_ubuntu_1604_image
536 format: qcow2
537 - name: iso # Volume with name 'iso' will be used
538 # for store image with cloud-init metadata.
539 capacity: 1
540 format: raw
541 device: cdrom
542 bus: ide
543 cloudinit_meta_data: *cloudinit_meta_data
544 cloudinit_user_data: *cloudinit_user_data_1604_swp
545
546 interfaces: *interfaces
547 network_config: *network_config
548
549 - name: {{ HOSTNAME_LOG03 }}
550 role: salt_minion
551 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200552 vcpu: !os_env SLAVE_NODE_CPU, 1
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200553 memory: !os_env SLAVE_NODE_MEMORY, 4096
554 boot:
555 - hd
556 cloud_init_volume_name: iso
557 cloud_init_iface_up: ens3
558 volumes:
559 - name: system
560 capacity: !os_env NODE_VOLUME_SIZE, 150
561 backing_store: mcp_ubuntu_1604_image
562 format: qcow2
563 - name: iso # Volume with name 'iso' will be used
564 # for store image with cloud-init metadata.
565 capacity: 1
566 format: raw
567 device: cdrom
568 bus: ide
569 cloudinit_meta_data: *cloudinit_meta_data
570 cloudinit_user_data: *cloudinit_user_data_1604_swp
571
572 interfaces: *interfaces
573 network_config: *network_config
574
575 - name: {{ HOSTNAME_MTR01 }}
576 role: salt_minion
577 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200578 vcpu: !os_env SLAVE_NODE_CPU, 1
579 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200580 boot:
581 - hd
582 cloud_init_volume_name: iso
583 cloud_init_iface_up: ens3
584 volumes:
585 - name: system
586 capacity: !os_env NODE_VOLUME_SIZE, 150
587 backing_store: mcp_ubuntu_1604_image
588 format: qcow2
589 - name: iso # Volume with name 'iso' will be used
590 # for store image with cloud-init metadata.
591 capacity: 1
592 format: raw
593 device: cdrom
594 bus: ide
595 cloudinit_meta_data: *cloudinit_meta_data
596 cloudinit_user_data: *cloudinit_user_data_1604_swp
597
598 interfaces: *interfaces
599 network_config: *network_config
600
601 - name: {{ HOSTNAME_MTR02 }}
602 role: salt_minion
603 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200604 vcpu: !os_env SLAVE_NODE_CPU, 1
605 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200606 boot:
607 - hd
608 cloud_init_volume_name: iso
609 cloud_init_iface_up: ens3
610 volumes:
611 - name: system
612 capacity: !os_env NODE_VOLUME_SIZE, 150
613 backing_store: mcp_ubuntu_1604_image
614 format: qcow2
615 - name: iso # Volume with name 'iso' will be used
616 # for store image with cloud-init metadata.
617 capacity: 1
618 format: raw
619 device: cdrom
620 bus: ide
621 cloudinit_meta_data: *cloudinit_meta_data
622 cloudinit_user_data: *cloudinit_user_data_1604_swp
623
624 interfaces: *interfaces
625 network_config: *network_config
626
627 - name: {{ HOSTNAME_MTR03 }}
628 role: salt_minion
629 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200630 vcpu: !os_env SLAVE_NODE_CPU, 1
631 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200632 boot:
633 - hd
634 cloud_init_volume_name: iso
635 cloud_init_iface_up: ens3
636 volumes:
637 - name: system
638 capacity: !os_env NODE_VOLUME_SIZE, 150
639 backing_store: mcp_ubuntu_1604_image
640 format: qcow2
641 - name: iso # Volume with name 'iso' will be used
642 # for store image with cloud-init metadata.
643 capacity: 1
644 format: raw
645 device: cdrom
646 bus: ide
647 cloudinit_meta_data: *cloudinit_meta_data
648 cloudinit_user_data: *cloudinit_user_data_1604_swp
649
650 interfaces: *interfaces
651 network_config: *network_config
652
653 - name: {{ HOSTNAME_PRX01 }}
654 role: salt_minion
655 params:
656 vcpu: !os_env SLAVE_NODE_CPU, 1
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200657 memory: !os_env SLAVE_NODE_MEMORY, 4096
658 boot:
659 - hd
660 cloud_init_volume_name: iso
661 cloud_init_iface_up: ens3
662 volumes:
663 - name: system
664 capacity: !os_env NODE_VOLUME_SIZE, 150
665 backing_store: mcp_ubuntu_1604_image
666 format: qcow2
667 - name: iso # Volume with name 'iso' will be used
668 # for store image with cloud-init metadata.
669 capacity: 1
670 format: raw
671 device: cdrom
672 bus: ide
673 cloudinit_meta_data: *cloudinit_meta_data
674 cloudinit_user_data: *cloudinit_user_data_1604_swp
675
676 interfaces:
677 - label: ens3
678 l2_network_device: admin
679 interface_model: *interface_model
680 - label: ens4
681 l2_network_device: private
682 interface_model: *interface_model
683 - label: ens5
684 l2_network_device: external
685 interface_model: *interface_model
686 network_config:
687 ens3:
688 networks:
689 - admin
690 ens4:
691 networks:
692 - private
693 ens5:
694 networks:
695 - external
696
697 - name: {{ HOSTNAME_PRX02 }}
698 role: salt_minion
699 params:
700 vcpu: !os_env SLAVE_NODE_CPU, 1
701 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200702 boot:
703 - hd
704 cloud_init_volume_name: iso
705 cloud_init_iface_up: ens3
706 volumes:
707 - name: system
708 capacity: !os_env NODE_VOLUME_SIZE, 150
709 backing_store: mcp_ubuntu_1604_image
710 format: qcow2
711 - name: iso # Volume with name 'iso' will be used
712 # for store image with cloud-init metadata.
713 capacity: 1
714 format: raw
715 device: cdrom
716 bus: ide
717 cloudinit_meta_data: *cloudinit_meta_data
718 cloudinit_user_data: *cloudinit_user_data_1604_swp
719
Dennis Dmitrievb612c442018-11-28 16:42:49 +0200720 interfaces:
721 - label: ens3
722 l2_network_device: admin
723 interface_model: *interface_model
724 - label: ens4
725 l2_network_device: private
726 interface_model: *interface_model
727 - label: ens5
728 l2_network_device: external
729 interface_model: *interface_model
730 network_config:
731 ens3:
732 networks:
733 - admin
734 ens4:
735 networks:
736 - private
737 ens5:
738 networks:
739 - external
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200740
741 - name: {{ HOSTNAME_CMP01 }}
742 role: salt_minion
743 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200744 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200745 memory: !os_env SLAVE_NODE_MEMORY, 4096
746 boot:
747 - hd
748 cloud_init_volume_name: iso
749 cloud_init_iface_up: ens3
750 volumes:
751 - name: system
752 capacity: !os_env NODE_VOLUME_SIZE, 150
753 backing_store: cloudimage1604
754 format: qcow2
755 - name: cinder
756 capacity: 50
757 format: qcow2
758 - name: iso # Volume with name 'iso' will be used
759 # for store image with cloud-init metadata.
760 capacity: 1
761 format: raw
762 device: cdrom
763 bus: ide
764 cloudinit_meta_data: *cloudinit_meta_data
765 cloudinit_user_data: *cloudinit_user_data_1604_swp
766
767
768 interfaces: &all_interfaces
769 - label: ens3
770 l2_network_device: admin
771 interface_model: *interface_model
772 - label: ens4
773 l2_network_device: private
774 interface_model: *interface_model
775 - label: ens5
776 l2_network_device: tenant
777 interface_model: *interface_model
778 - label: ens6
779 l2_network_device: external
780 interface_model: *interface_model
781 network_config: &all_network_config
782 ens3:
783 networks:
784 - admin
785 ens4:
786 networks:
787 - private
788 ens5:
789 networks:
790 - tenant
791 ens6:
792 networks:
793 - external
794
795 - name: {{ HOSTNAME_CMP02 }}
796 role: salt_minion
797 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200798 vcpu: !os_env SLAVE_NODE_CPU, 2
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200799 memory: !os_env SLAVE_NODE_MEMORY, 4096
800 boot:
801 - hd
802 cloud_init_volume_name: iso
803 cloud_init_iface_up: ens3
804 volumes:
805 - name: system
806 capacity: !os_env NODE_VOLUME_SIZE, 150
807 backing_store: cloudimage1604
808 format: qcow2
809 - name: cinder
810 capacity: 50
811 format: qcow2
812 - name: iso # Volume with name 'iso' will be used
813 # for store image with cloud-init metadata.
814 capacity: 1
815 format: raw
816 device: cdrom
817 bus: ide
818 cloudinit_meta_data: *cloudinit_meta_data
819 cloudinit_user_data: *cloudinit_user_data_1604_swp
820
821 interfaces: *all_interfaces
822 network_config: *all_network_config
823
824 - name: {{ HOSTNAME_GTW01 }}
825 role: salt_minion
826 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200827 vcpu: !os_env SLAVE_NODE_CPU, 1
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +0200828 memory: !os_env SLAVE_NODE_MEMORY, 4096
829 boot:
830 - hd
831 cloud_init_volume_name: iso
832 cloud_init_iface_up: ens3
833 volumes:
834 - name: system
835 capacity: !os_env NODE_VOLUME_SIZE, 150
836 backing_store: cloudimage1604
837 format: qcow2
838 - name: iso # Volume with name 'iso' will be used
839 # for store image with cloud-init metadata.
840 capacity: 1
841 format: raw
842 device: cdrom
843 bus: ide
844 cloudinit_meta_data: *cloudinit_meta_data
845 cloudinit_user_data: *cloudinit_user_data_1604_swp
846
847 interfaces: *all_interfaces
848 network_config: *all_network_config
849
850 - name: {{ HOSTNAME_GTW02 }}
851 role: salt_minion
852 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200853 vcpu: !os_env SLAVE_NODE_CPU, 1
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +0200854 memory: !os_env SLAVE_NODE_MEMORY, 4096
855 boot:
856 - hd
857 cloud_init_volume_name: iso
858 cloud_init_iface_up: ens3
859 volumes:
860 - name: system
861 capacity: !os_env NODE_VOLUME_SIZE, 150
862 backing_store: cloudimage1604
863 format: qcow2
864 - name: iso # Volume with name 'iso' will be used
865 # for store image with cloud-init metadata.
866 capacity: 1
867 format: raw
868 device: cdrom
869 bus: ide
870 cloudinit_meta_data: *cloudinit_meta_data
871 cloudinit_user_data: *cloudinit_user_data_1604_swp
872
873 interfaces: *all_interfaces
874 network_config: *all_network_config
875
876 - name: {{ HOSTNAME_GTW03 }}
877 role: salt_minion
878 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200879 vcpu: !os_env SLAVE_NODE_CPU, 1
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200880 memory: !os_env SLAVE_NODE_MEMORY, 4096
881 boot:
882 - hd
883 cloud_init_volume_name: iso
884 cloud_init_iface_up: ens3
885 volumes:
886 - name: system
887 capacity: !os_env NODE_VOLUME_SIZE, 150
888 backing_store: cloudimage1604
889 format: qcow2
890 - name: iso # Volume with name 'iso' will be used
891 # for store image with cloud-init metadata.
892 capacity: 1
893 format: raw
894 device: cdrom
895 bus: ide
896 cloudinit_meta_data: *cloudinit_meta_data
897 cloudinit_user_data: *cloudinit_user_data_1604_swp
898
899 interfaces: *all_interfaces
900 network_config: *all_network_config
901
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200902 - name: {{ HOSTNAME_CID01 }}
903 role: salt_minion
904 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200905 vcpu: {{ os_env('CID_NODE_CPU', 1) }}
906 memory: {{ os_env('CID_NODE_MEMORY', 16384) }}
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200907 boot:
908 - hd
909 cloud_init_volume_name: iso
910 cloud_init_iface_up: ens3
911 volumes:
912 - name: system
913 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
914 backing_store: mcp_ubuntu_1604_image
915 format: qcow2
916 - name: iso # Volume with name 'iso' will be used
917 # for store image with cloud-init metadata.
918 capacity: 1
919 format: raw
920 device: cdrom
921 bus: ide
922 cloudinit_meta_data: *cloudinit_meta_data
923 cloudinit_user_data: *cloudinit_user_data_1604_swp
924
925 interfaces: *interfaces
926 network_config: *network_config
927
928 - name: {{ HOSTNAME_CID02 }}
929 role: salt_minion
930 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200931 vcpu: {{ os_env('CID_NODE_CPU', 1) }}
932 memory: {{ os_env('CID_NODE_MEMORY', 16384) }}
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200933 boot:
934 - hd
935 cloud_init_volume_name: iso
936 cloud_init_iface_up: ens3
937 volumes:
938 - name: system
939 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
940 backing_store: mcp_ubuntu_1604_image
941 format: qcow2
942 - name: iso # Volume with name 'iso' will be used
943 # for store image with cloud-init metadata.
944 capacity: 1
945 format: raw
946 device: cdrom
947 bus: ide
948 cloudinit_meta_data: *cloudinit_meta_data
949 cloudinit_user_data: *cloudinit_user_data_1604_swp
950
951 interfaces: *interfaces
952 network_config: *network_config
953
954 - name: {{ HOSTNAME_CID03 }}
955 role: salt_minion
956 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200957 vcpu: {{ os_env('CID_NODE_CPU', 1) }}
958 memory: {{ os_env('CID_NODE_MEMORY', 16384) }}
Tatyana Leontovichf3718442018-10-31 13:36:13 +0200959 boot:
960 - hd
961 cloud_init_volume_name: iso
962 cloud_init_iface_up: ens3
963 volumes:
964 - name: system
965 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
966 backing_store: mcp_ubuntu_1604_image
967 format: qcow2
968 - name: iso # Volume with name 'iso' will be used
969 # for store image with cloud-init metadata.
970 capacity: 1
971 format: raw
972 device: cdrom
973 bus: ide
974 cloudinit_meta_data: *cloudinit_meta_data
975 cloudinit_user_data: *cloudinit_user_data_1604_swp
976
977 interfaces: *interfaces
978 network_config: *network_config
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +0200979
980 - name: {{ HOSTNAME_KMN01 }}
981 role: salt_minion
982 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200983 vcpu: !os_env SLAVE_NODE_CPU, 1
984 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +0200985 boot:
986 - hd
987 cloud_init_volume_name: iso
988 cloud_init_iface_up: ens3
989 volumes:
990 - name: system
991 capacity: !os_env NODE_VOLUME_SIZE, 150
992 backing_store: mcp_ubuntu_1604_image
993 format: qcow2
994 - name: iso # Volume with name 'iso' will be used
995 # for store image with cloud-init metadata.
996 capacity: 1
997 format: raw
998 device: cdrom
999 bus: ide
1000 cloudinit_meta_data: *cloudinit_meta_data
1001 cloudinit_user_data: *cloudinit_user_data_1604_swp
1002
1003 interfaces: *interfaces
1004 network_config: *network_config
1005
1006 - name: {{ HOSTNAME_KMN02 }}
1007 role: salt_minion
1008 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001009 vcpu: !os_env SLAVE_NODE_CPU, 1
1010 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +02001011 boot:
1012 - hd
1013 cloud_init_volume_name: iso
1014 cloud_init_iface_up: ens3
1015 volumes:
1016 - name: system
1017 capacity: !os_env NODE_VOLUME_SIZE, 150
1018 backing_store: mcp_ubuntu_1604_image
1019 format: qcow2
1020 - name: iso # Volume with name 'iso' will be used
1021 # for store image with cloud-init metadata.
1022 capacity: 1
1023 format: raw
1024 device: cdrom
1025 bus: ide
1026 cloudinit_meta_data: *cloudinit_meta_data
1027 cloudinit_user_data: *cloudinit_user_data_1604_swp
1028
1029 interfaces: *interfaces
1030 network_config: *network_config
1031
1032 - name: {{ HOSTNAME_KMN03 }}
1033 role: salt_minion
1034 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001035 vcpu: !os_env SLAVE_NODE_CPU, 1
1036 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitrieve6fc3402019-02-12 17:29:38 +02001037 boot:
1038 - hd
1039 cloud_init_volume_name: iso
1040 cloud_init_iface_up: ens3
1041 volumes:
1042 - name: system
1043 capacity: !os_env NODE_VOLUME_SIZE, 150
1044 backing_store: mcp_ubuntu_1604_image
1045 format: qcow2
1046 - name: iso # Volume with name 'iso' will be used
1047 # for store image with cloud-init metadata.
1048 capacity: 1
1049 format: raw
1050 device: cdrom
1051 bus: ide
1052 cloudinit_meta_data: *cloudinit_meta_data
1053 cloudinit_user_data: *cloudinit_user_data_1604_swp
1054
1055 interfaces: *interfaces
1056 network_config: *network_config
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +02001057
1058 - name: {{ HOSTNAME_CMN01 }}
1059 role: salt_minion
1060 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001061 vcpu: !os_env SLAVE_NODE_CPU, 1
1062 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +02001063 boot:
1064 - hd
1065 cloud_init_volume_name: iso
1066 cloud_init_iface_up: ens3
1067 volumes:
1068 - name: system
1069 capacity: !os_env NODE_VOLUME_SIZE, 150
1070 backing_store: cloudimage1604
1071 format: qcow2
1072 - name: iso # Volume with name 'iso' will be used
1073 # for store image with cloud-init metadata.
1074 capacity: 1
1075 format: raw
1076 device: cdrom
1077 bus: ide
1078 cloudinit_meta_data: *cloudinit_meta_data
1079 cloudinit_user_data: *cloudinit_user_data_1604_swp
1080
1081 interfaces: *interfaces
1082 network_config: *network_config
1083
1084 - name: {{ HOSTNAME_CMN02 }}
1085 role: salt_minion
1086 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001087 vcpu: !os_env SLAVE_NODE_CPU, 1
1088 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +02001089 boot:
1090 - hd
1091 cloud_init_volume_name: iso
1092 cloud_init_iface_up: ens3
1093 volumes:
1094 - name: system
1095 capacity: !os_env NODE_VOLUME_SIZE, 150
1096 backing_store: cloudimage1604
1097 format: qcow2
1098 - name: iso # Volume with name 'iso' will be used
1099 # for store image with cloud-init metadata.
1100 capacity: 1
1101 format: raw
1102 device: cdrom
1103 bus: ide
1104 cloudinit_meta_data: *cloudinit_meta_data
1105 cloudinit_user_data: *cloudinit_user_data_1604_swp
1106
1107 interfaces: *interfaces
1108 network_config: *network_config
1109
1110 - name: {{ HOSTNAME_CMN03 }}
1111 role: salt_minion
1112 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001113 vcpu: !os_env SLAVE_NODE_CPU, 1
1114 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +02001115 boot:
1116 - hd
1117 cloud_init_volume_name: iso
1118 cloud_init_iface_up: ens3
1119 volumes:
1120 - name: system
1121 capacity: !os_env NODE_VOLUME_SIZE, 150
1122 backing_store: cloudimage1604
1123 format: qcow2
1124 - name: iso # Volume with name 'iso' will be used
1125 # for store image with cloud-init metadata.
1126 capacity: 1
1127 format: raw
1128 device: cdrom
1129 bus: ide
1130 cloudinit_meta_data: *cloudinit_meta_data
1131 cloudinit_user_data: *cloudinit_user_data_1604_swp
1132
1133 interfaces: *interfaces
1134 network_config: *network_config
1135
1136 - name: {{ HOSTNAME_OSD01 }}
1137 role: salt_minion
1138 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001139 vcpu: !os_env SLAVE_NODE_CPU, 1
1140 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +02001141 boot:
1142 - hd
1143 cloud_init_volume_name: iso
1144 cloud_init_iface_up: ens3
1145 volumes:
1146 - name: system
1147 capacity: !os_env NODE_VOLUME_SIZE, 150
1148 backing_store: cloudimage1604
1149 format: qcow2
1150 - name: ceph_osd
1151 capacity: 50
1152 format: qcow2
1153 - name: ceph_journal
1154 capacity: 50
1155 format: qcow2
1156 - name: iso # Volume with name 'iso' will be used
1157 # for store image with cloud-init metadata.
1158 capacity: 1
1159 format: raw
1160 device: cdrom
1161 bus: ide
1162 cloudinit_meta_data: *cloudinit_meta_data
1163 cloudinit_user_data: *cloudinit_user_data_1604_swp
1164
1165 interfaces: *interfaces
1166 network_config: *network_config
1167
1168 - name: {{ HOSTNAME_OSD02 }}
1169 role: salt_minion
1170 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001171 vcpu: !os_env SLAVE_NODE_CPU, 1
1172 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +02001173 boot:
1174 - hd
1175 cloud_init_volume_name: iso
1176 cloud_init_iface_up: ens3
1177 volumes:
1178 - name: system
1179 capacity: !os_env NODE_VOLUME_SIZE, 150
1180 backing_store: cloudimage1604
1181 format: qcow2
1182 - name: ceph_osd
1183 capacity: 50
1184 format: qcow2
1185 - name: ceph_journal
1186 capacity: 50
1187 format: qcow2
1188 - name: iso # Volume with name 'iso' will be used
1189 # for store image with cloud-init metadata.
1190 capacity: 1
1191 format: raw
1192 device: cdrom
1193 bus: ide
1194 cloudinit_meta_data: *cloudinit_meta_data
1195 cloudinit_user_data: *cloudinit_user_data_1604_swp
1196
1197 interfaces: *interfaces
1198 network_config: *network_config
1199
1200 - name: {{ HOSTNAME_OSD03 }}
1201 role: salt_minion
1202 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001203 vcpu: !os_env SLAVE_NODE_CPU, 1
1204 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +02001205 boot:
1206 - hd
1207 cloud_init_volume_name: iso
1208 cloud_init_iface_up: ens3
1209 volumes:
1210 - name: system
1211 capacity: !os_env NODE_VOLUME_SIZE, 150
1212 backing_store: cloudimage1604
1213 format: qcow2
1214 - name: ceph_osd
1215 capacity: 50
1216 format: qcow2
1217 - name: ceph_journal
1218 capacity: 50
1219 format: qcow2
1220 - name: iso # Volume with name 'iso' will be used
1221 # for store image with cloud-init metadata.
1222 capacity: 1
1223 format: raw
1224 device: cdrom
1225 bus: ide
1226 cloudinit_meta_data: *cloudinit_meta_data
1227 cloudinit_user_data: *cloudinit_user_data_1604_swp
1228
1229 interfaces: *interfaces
1230 network_config: *network_config
1231
1232 - name: {{ HOSTNAME_RGW01 }}
1233 role: salt_minion
1234 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001235 vcpu: !os_env SLAVE_NODE_CPU, 1
1236 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +02001237 boot:
1238 - hd
1239 cloud_init_volume_name: iso
1240 cloud_init_iface_up: ens3
1241 volumes:
1242 - name: system
1243 capacity: !os_env NODE_VOLUME_SIZE, 150
1244 backing_store: cloudimage1604
1245 format: qcow2
1246 - name: iso # Volume with name 'iso' will be used
1247 # for store image with cloud-init metadata.
1248 capacity: 1
1249 format: raw
1250 device: cdrom
1251 bus: ide
1252 cloudinit_meta_data: *cloudinit_meta_data
1253 cloudinit_user_data: *cloudinit_user_data_1604_swp
1254
1255 interfaces: *interfaces
1256 network_config: *network_config
1257
1258 - name: {{ HOSTNAME_RGW02 }}
1259 role: salt_minion
1260 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001261 vcpu: !os_env SLAVE_NODE_CPU, 1
1262 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +02001263 boot:
1264 - hd
1265 cloud_init_volume_name: iso
1266 cloud_init_iface_up: ens3
1267 volumes:
1268 - name: system
1269 capacity: !os_env NODE_VOLUME_SIZE, 150
1270 backing_store: cloudimage1604
1271 format: qcow2
1272 - name: iso # Volume with name 'iso' will be used
1273 # for store image with cloud-init metadata.
1274 capacity: 1
1275 format: raw
1276 device: cdrom
1277 bus: ide
1278 cloudinit_meta_data: *cloudinit_meta_data
1279 cloudinit_user_data: *cloudinit_user_data_1604_swp
1280
1281 interfaces: *interfaces
1282 network_config: *network_config
1283
1284 - name: {{ HOSTNAME_RGW03 }}
1285 role: salt_minion
1286 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001287 vcpu: !os_env SLAVE_NODE_CPU, 1
1288 memory: !os_env SLAVE_NODE_MEMORY, 4096
1289 boot:
1290 - hd
1291 cloud_init_volume_name: iso
1292 cloud_init_iface_up: ens3
1293 volumes:
1294 - name: system
1295 capacity: !os_env NODE_VOLUME_SIZE, 150
1296 backing_store: cloudimage1604
1297 format: qcow2
1298 - name: iso # Volume with name 'iso' will be used
1299 # for store image with cloud-init metadata.
1300 capacity: 1
1301 format: raw
1302 device: cdrom
1303 bus: ide
1304 cloudinit_meta_data: *cloudinit_meta_data
1305 cloudinit_user_data: *cloudinit_user_data_1604_swp
1306
1307 interfaces: *interfaces
1308 network_config: *network_config
1309
1310 - name: {{ HOSTNAME_DNS01 }}
1311 role: salt_minion
1312 params:
1313 vcpu: !os_env SLAVE_NODE_CPU, 1
1314 memory: !os_env SLAVE_NODE_MEMORY, 4096
1315 boot:
1316 - hd
1317 cloud_init_volume_name: iso
1318 cloud_init_iface_up: ens3
1319 volumes:
1320 - name: system
1321 capacity: !os_env NODE_VOLUME_SIZE, 150
1322 backing_store: cloudimage1604
1323 format: qcow2
1324 - name: iso # Volume with name 'iso' will be used
1325 # for store image with cloud-init metadata.
1326 capacity: 1
1327 format: raw
1328 device: cdrom
1329 bus: ide
1330 cloudinit_meta_data: *cloudinit_meta_data
1331 cloudinit_user_data: *cloudinit_user_data_1604_swp
1332
1333 interfaces: *interfaces
1334 network_config: *network_config
1335
1336 - name: {{ HOSTNAME_DNS02 }}
1337 role: salt_minion
1338 params:
1339 vcpu: !os_env SLAVE_NODE_CPU, 1
1340 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich0ea26dc2019-02-20 13:31:17 +02001341 boot:
1342 - hd
1343 cloud_init_volume_name: iso
1344 cloud_init_iface_up: ens3
1345 volumes:
1346 - name: system
1347 capacity: !os_env NODE_VOLUME_SIZE, 150
1348 backing_store: cloudimage1604
1349 format: qcow2
1350 - name: iso # Volume with name 'iso' will be used
1351 # for store image with cloud-init metadata.
1352 capacity: 1
1353 format: raw
1354 device: cdrom
1355 bus: ide
1356 cloudinit_meta_data: *cloudinit_meta_data
1357 cloudinit_user_data: *cloudinit_user_data_1604_swp
1358
1359 interfaces: *interfaces
1360 network_config: *network_config