blob: 248d63e1c2d94d63bcdd5f4c00f805f7ee452e9a [file] [log] [blame]
Pavel Glazov0225ba82018-11-14 13:01:25 +04001# 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-mcp-mitaka-dvr-ceph/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'cookied-mcp-mitaka-dvr-ceph/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'cookied-mcp-mitaka-dvr-ceph/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
7
8aliases:
9 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
10 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
11 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
12 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
13
14{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-mcp-mitaka-dvr-ceph') %}
15{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME) + '.local' %}
16{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.') %}
17{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.') %}
18{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.') %}
19{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.') %}
20{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001.') %}
21{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002.') %}
22{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.') %}
23{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.') %}
24{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.') %}
25{% set HOSTNAME_CMN01 = os_env('HOSTNAME_CMN01', 'cmn01.') %}
26{% set HOSTNAME_CMN02 = os_env('HOSTNAME_CMN02', 'cmn02.') %}
27{% set HOSTNAME_CMN03 = os_env('HOSTNAME_CMN03', 'cmn03.') %}
28{% set HOSTNAME_RGW01 = os_env('HOSTNAME_CMN01', 'rgw01.') %}
29{% set HOSTNAME_RGW02 = os_env('HOSTNAME_CMN02', 'rgw02.') %}
30{% set HOSTNAME_RGW03 = os_env('HOSTNAME_CMN03', 'rgw03.') %}
31{% set HOSTNAME_OSD01 = os_env('HOSTNAME_OSD01', 'osd001.') %}
32{% set HOSTNAME_OSD02 = os_env('HOSTNAME_OSD02', 'osd002.') %}
33{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.') %}
34{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.') %}
35
36template:
37 devops_settings:
38 env_name: {{ os_env('ENV_NAME', 'cookied-mcp-mitaka-dvr-ceph_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
39
40 address_pools:
41 private-pool01:
42 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
43 params:
44 ip_reserved:
45 gateway: +1
46 l2_network_device: +1
47 default_{{ HOSTNAME_CFG01 }}: +100
48 default_{{ HOSTNAME_CTL01 }}: +101
49 default_{{ HOSTNAME_CTL02 }}: +102
50 default_{{ HOSTNAME_CTL03 }}: +103
51 default_{{ HOSTNAME_CMP01 }}: +105
52 default_{{ HOSTNAME_CMP02 }}: +106
53 default_{{ HOSTNAME_MON01 }}: +107
54 default_{{ HOSTNAME_MON02 }}: +108
55 default_{{ HOSTNAME_MON03 }}: +109
56 default_{{ HOSTNAME_OSD01 }}: +94
57 default_{{ HOSTNAME_OSD02 }}: +95
58 default_{{ HOSTNAME_CMN01 }}: +96
59 default_{{ HOSTNAME_CMN02 }}: +97
60 default_{{ HOSTNAME_CMN03 }}: +98
61 default_{{ HOSTNAME_RGW01 }}: +76
62 default_{{ HOSTNAME_RGW02 }}: +77
63 default_{{ HOSTNAME_RGW03 }}: +78
64 default_{{ HOSTNAME_GTW01 }}: +110
65 default_{{ HOSTNAME_PRX01 }}: +121
66 ip_ranges:
67 dhcp: [+90, -10]
68
69 admin-pool01:
70 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
71 params:
72 ip_reserved:
73 gateway: +1
74 l2_network_device: +1
75 default_{{ HOSTNAME_CFG01 }}: +90
76 default_{{ HOSTNAME_CTL01 }}: +101
77 default_{{ HOSTNAME_CTL02 }}: +102
78 default_{{ HOSTNAME_CTL03 }}: +103
79 default_{{ HOSTNAME_CMP01 }}: +105
80 default_{{ HOSTNAME_CMP02 }}: +106
81 default_{{ HOSTNAME_MON01 }}: +107
82 default_{{ HOSTNAME_MON02 }}: +108
83 default_{{ HOSTNAME_MON03 }}: +109
84 default_{{ HOSTNAME_OSD01 }}: +94
85 default_{{ HOSTNAME_OSD02 }}: +95
86 default_{{ HOSTNAME_CMN01 }}: +96
87 default_{{ HOSTNAME_CMN02 }}: +97
88 default_{{ HOSTNAME_CMN03 }}: +98
89 default_{{ HOSTNAME_RGW01 }}: +76
90 default_{{ HOSTNAME_RGW02 }}: +77
91 default_{{ HOSTNAME_RGW03 }}: +78
92 default_{{ HOSTNAME_GTW01 }}: +110
93 default_{{ HOSTNAME_PRX01 }}: +121
94 ip_ranges:
95 dhcp: [+90, -10]
96
97 tenant-pool01:
98 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
99 params:
100 ip_reserved:
101 gateway: +1
102 l2_network_device: +1
103 default_{{ HOSTNAME_CFG01 }}: +100
104 default_{{ HOSTNAME_CTL01 }}: +101
105 default_{{ HOSTNAME_CTL02 }}: +102
106 default_{{ HOSTNAME_CTL03 }}: +103
107 default_{{ HOSTNAME_CMP01 }}: +105
108 default_{{ HOSTNAME_CMP02 }}: +106
109 default_{{ HOSTNAME_MON01 }}: +107
110 default_{{ HOSTNAME_MON02 }}: +108
111 default_{{ HOSTNAME_MON03 }}: +109
112 default_{{ HOSTNAME_OSD01 }}: +94
113 default_{{ HOSTNAME_OSD02 }}: +95
114 default_{{ HOSTNAME_CMN01 }}: +96
115 default_{{ HOSTNAME_CMN02 }}: +97
116 default_{{ HOSTNAME_CMN03 }}: +98
117 default_{{ HOSTNAME_RGW01 }}: +76
118 default_{{ HOSTNAME_RGW02 }}: +77
119 default_{{ HOSTNAME_RGW03 }}: +78
120 default_{{ HOSTNAME_GTW01 }}: +110
121 default_{{ HOSTNAME_PRX01 }}: +121
122 ip_ranges:
123 dhcp: [+10, -10]
124
125 external-pool01:
126 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
127 params:
128 ip_reserved:
129 gateway: +1
130 l2_network_device: +1
131 default_{{ HOSTNAME_CFG01 }}: +100
132 default_{{ HOSTNAME_CTL01 }}: +101
133 default_{{ HOSTNAME_CTL02 }}: +102
134 default_{{ HOSTNAME_CTL03 }}: +103
135 default_{{ HOSTNAME_CMP01 }}: +105
136 default_{{ HOSTNAME_CMP02 }}: +106
137 default_{{ HOSTNAME_MON01 }}: +107
138 default_{{ HOSTNAME_MON02 }}: +108
139 default_{{ HOSTNAME_MON03 }}: +109
140 default_{{ HOSTNAME_OSD01 }}: +94
141 default_{{ HOSTNAME_OSD02 }}: +95
142 default_{{ HOSTNAME_CMN01 }}: +96
143 default_{{ HOSTNAME_CMN02 }}: +97
144 default_{{ HOSTNAME_CMN03 }}: +98
145 default_{{ HOSTNAME_RGW01 }}: +76
146 default_{{ HOSTNAME_RGW02 }}: +77
147 default_{{ HOSTNAME_RGW03 }}: +78
148 default_{{ HOSTNAME_GTW01 }}: +110
149 default_{{ HOSTNAME_PRX01 }}: +121
150 ip_ranges:
151 dhcp: [+10, -10]
152
153
154 groups:
155 - name: default
156 driver:
157 name: devops.driver.libvirt
158 params:
159 connection_string: !os_env CONNECTION_STRING, qemu:///system
160 storage_pool_name: !os_env STORAGE_POOL_NAME, default
161 stp: False
162 hpet: False
163 enable_acpi: true
164 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
165 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
166
167 network_pools:
168 admin: admin-pool01
169 private: private-pool01
170 tenant: tenant-pool01
171 external: external-pool01
172
173 l2_network_devices:
174 private:
175 address_pool: private-pool01
176 dhcp: false
177 forward:
178 mode: route
179
180 admin:
181 address_pool: admin-pool01
182 dhcp: true
183 forward:
184 mode: nat
185
186 tenant:
187 address_pool: tenant-pool01
188 dhcp: false
189
190 external:
191 address_pool: external-pool01
192 dhcp: true
193 forward:
194 mode: route
195
196
197 group_volumes:
198 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
199 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
200 format: qcow2
201 - name: cfg01_day01_image # Pre-configured day01 image
202 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
203 format: qcow2
204 - name: mcp_ubuntu_1604_image # Pre-configured image for VCP nodes initially based on kvm nodes.
205 # http://images.mirantis.com/ubuntu-16-04-x64-latest.qcow2 (preffered)
206 # or
207 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
208 source_image: {{ os_env('MCP_IMAGE_PATH1604', os_env('IMAGE_PATH1604')) }}
209 format: qcow2
210
211 nodes:
212 - name: {{ HOSTNAME_CFG01 }}
213 role: salt_master
214 params:
215 vcpu: !os_env SLAVE_NODE_CPU, 2
216 memory: !os_env SLAVE_NODE_MEMORY, 8192
217 boot:
218 - hd
219 cloud_init_volume_name: iso
220 cloud_init_iface_up: ens3
221 volumes:
222 - name: system
223 capacity: !os_env NODE_VOLUME_SIZE, 150
224 backing_store: cfg01_day01_image
225 format: qcow2
226 - name: iso # Volume with name 'iso' will be used
227 # for store image with cloud-init metadata.
228 capacity: 1
229 format: raw
230 device: cdrom
231 bus: ide
232 cloudinit_meta_data: *cloudinit_meta_data
233 cloudinit_user_data: *cloudinit_user_data_cfg01
234
235 interfaces:
236 - label: ens3
237 l2_network_device: admin
238 interface_model: *interface_model
239 - label: ens4
240 l2_network_device: private
241 interface_model: *interface_model
242 network_config:
243 ens3:
244 networks:
245 - admin
246 ens4:
247 networks:
248 - private
249
250 - name: {{ HOSTNAME_CTL01 }}
251 role: salt_minion
252 params:
253 vcpu: !os_env SLAVE_NODE_CPU, 2
254 memory: !os_env SLAVE_NODE_MEMORY, 16384
255 boot:
256 - hd
257 cloud_init_volume_name: iso
258 cloud_init_iface_up: ens3
259 volumes:
260 - name: system
261 capacity: !os_env NODE_VOLUME_SIZE, 150
262 backing_store: mcp_ubuntu_1604_image
263 format: qcow2
264 - name: iso # Volume with name 'iso' will be used
265 # for store image with cloud-init metadata.
266 capacity: 1
267 format: raw
268 device: cdrom
269 bus: ide
270 cloudinit_meta_data: *cloudinit_meta_data
271 cloudinit_user_data: *cloudinit_user_data_1604
272
273 interfaces: &interfaces
274 - label: ens3
275 l2_network_device: admin
276 interface_model: *interface_model
277 - label: ens4
278 l2_network_device: private
279 interface_model: *interface_model
280 network_config: &network_config
281 ens3:
282 networks:
283 - admin
284 ens4:
285 networks:
286 - private
287
288 - name: {{ HOSTNAME_CTL02 }}
289 role: salt_minion
290 params:
291 vcpu: !os_env SLAVE_NODE_CPU, 2
292 memory: !os_env SLAVE_NODE_MEMORY, 16384
293 boot:
294 - hd
295 cloud_init_volume_name: iso
296 cloud_init_iface_up: ens3
297 volumes:
298 - name: system
299 capacity: !os_env NODE_VOLUME_SIZE, 150
300 backing_store: mcp_ubuntu_1604_image
301 format: qcow2
302 - name: iso # Volume with name 'iso' will be used
303 # for store image with cloud-init metadata.
304 capacity: 1
305 format: raw
306 device: cdrom
307 bus: ide
308 cloudinit_meta_data: *cloudinit_meta_data
309 cloudinit_user_data: *cloudinit_user_data_1604
310
311 interfaces: *interfaces
312 network_config: *network_config
313
314 - name: {{ HOSTNAME_CTL03 }}
315 role: salt_minion
316 params:
317 vcpu: !os_env SLAVE_NODE_CPU, 2
318 memory: !os_env SLAVE_NODE_MEMORY, 16384
319 boot:
320 - hd
321 cloud_init_volume_name: iso
322 cloud_init_iface_up: ens3
323 volumes:
324 - name: system
325 capacity: !os_env NODE_VOLUME_SIZE, 150
326 backing_store: mcp_ubuntu_1604_image
327 format: qcow2
328 - name: iso # Volume with name 'iso' will be used
329 # for store image with cloud-init metadata.
330 capacity: 1
331 format: raw
332 device: cdrom
333 bus: ide
334 cloudinit_meta_data: *cloudinit_meta_data
335 cloudinit_user_data: *cloudinit_user_data_1604
336
337 interfaces: *interfaces
338 network_config: *network_config
339
340 - name: {{ HOSTNAME_MON01 }}
341 role: salt_minion
342 params:
343 vcpu: !os_env SLAVE_NODE_CPU, 3
344 memory: !os_env SLAVE_NODE_MEMORY, 6144
345 boot:
346 - hd
347 cloud_init_volume_name: iso
348 cloud_init_iface_up: ens3
349 volumes:
350 - name: system
351 capacity: !os_env NODE_VOLUME_SIZE, 150
352 backing_store: mcp_ubuntu_1604_image
353 format: qcow2
354 - name: iso # Volume with name 'iso' will be used
355 # for store image with cloud-init metadata.
356 capacity: 1
357 format: raw
358 device: cdrom
359 bus: ide
360 cloudinit_meta_data: *cloudinit_meta_data
361 cloudinit_user_data: *cloudinit_user_data_1604
362
363 interfaces: *interfaces
364 network_config: *network_config
365
366 - name: {{ HOSTNAME_MON02 }}
367 role: salt_minion
368 params:
369 vcpu: !os_env SLAVE_NODE_CPU, 3
370 memory: !os_env SLAVE_NODE_MEMORY, 6144
371 boot:
372 - hd
373 cloud_init_volume_name: iso
374 cloud_init_iface_up: ens3
375 volumes:
376 - name: system
377 capacity: !os_env NODE_VOLUME_SIZE, 150
378 backing_store: mcp_ubuntu_1604_image
379 format: qcow2
380 - name: iso # Volume with name 'iso' will be used
381 # for store image with cloud-init metadata.
382 capacity: 1
383 format: raw
384 device: cdrom
385 bus: ide
386 cloudinit_meta_data: *cloudinit_meta_data
387 cloudinit_user_data: *cloudinit_user_data_1604
388
389 interfaces: *interfaces
390 network_config: *network_config
391
392 - name: {{ HOSTNAME_MON03 }}
393 role: salt_minion
394 params:
395 vcpu: !os_env SLAVE_NODE_CPU, 3
396 memory: !os_env SLAVE_NODE_MEMORY, 6144
397 boot:
398 - hd
399 cloud_init_volume_name: iso
400 cloud_init_iface_up: ens3
401 volumes:
402 - name: system
403 capacity: !os_env NODE_VOLUME_SIZE, 150
404 backing_store: mcp_ubuntu_1604_image
405 format: qcow2
406 - name: iso # Volume with name 'iso' will be used
407 # for store image with cloud-init metadata.
408 capacity: 1
409 format: raw
410 device: cdrom
411 bus: ide
412 cloudinit_meta_data: *cloudinit_meta_data
413 cloudinit_user_data: *cloudinit_user_data_1604
414
415 interfaces: *interfaces
416 network_config: *network_config
417
418 - name: {{ HOSTNAME_PRX01 }}
419 role: salt_minion
420 params:
421 vcpu: !os_env SLAVE_NODE_CPU, 1
422 memory: !os_env SLAVE_NODE_MEMORY, 8192
423 boot:
424 - hd
425 cloud_init_volume_name: iso
426 cloud_init_iface_up: ens3
427 volumes:
428 - name: system
429 capacity: !os_env NODE_VOLUME_SIZE, 150
430 backing_store: mcp_ubuntu_1604_image
431 format: qcow2
432 - name: iso # Volume with name 'iso' will be used
433 # for store image with cloud-init metadata.
434 capacity: 1
435 format: raw
436 device: cdrom
437 bus: ide
438 cloudinit_meta_data: *cloudinit_meta_data
439 cloudinit_user_data: *cloudinit_user_data_1604
440
441 interfaces: *interfaces
442 network_config: *network_config
443
444
445 - name: {{ HOSTNAME_CMP01 }}
446 role: salt_minion
447 params:
448 vcpu: !os_env SLAVE_NODE_CPU, 3
449 memory: !os_env SLAVE_NODE_MEMORY, 4096
450 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: cloudimage1604
458 format: qcow2
459 - name: cinder
460 capacity: 50
461 format: qcow2
462 - name: iso # Volume with name 'iso' will be used
463 # for store image with cloud-init metadata.
464 capacity: 1
465 format: raw
466 device: cdrom
467 bus: ide
468 cloudinit_meta_data: *cloudinit_meta_data
469 cloudinit_user_data: *cloudinit_user_data_1604
470
471
472 interfaces: &all_interfaces
473 - label: ens3
474 l2_network_device: admin
475 interface_model: *interface_model
476 - label: ens4
477 l2_network_device: private
478 interface_model: *interface_model
479 - label: ens5
480 l2_network_device: tenant
481 interface_model: *interface_model
482 - label: ens6
483 l2_network_device: external
484 interface_model: *interface_model
485 network_config: &all_network_config
486 ens3:
487 networks:
488 - admin
489 ens4:
490 networks:
491 - private
492 ens5:
493 networks:
494 - tenant
495 ens6:
496 networks:
497 - external
498
499 - name: {{ HOSTNAME_CMP02 }}
500 role: salt_minion
501 params:
502 vcpu: !os_env SLAVE_NODE_CPU, 3
503 memory: !os_env SLAVE_NODE_MEMORY, 4096
504 boot:
505 - hd
506 cloud_init_volume_name: iso
507 cloud_init_iface_up: ens3
508 volumes:
509 - name: system
510 capacity: !os_env NODE_VOLUME_SIZE, 150
511 backing_store: cloudimage1604
512 format: qcow2
513 - name: cinder
514 capacity: 50
515 format: qcow2
516 - name: iso # Volume with name 'iso' will be used
517 # for store image with cloud-init metadata.
518 capacity: 1
519 format: raw
520 device: cdrom
521 bus: ide
522 cloudinit_meta_data: *cloudinit_meta_data
523 cloudinit_user_data: *cloudinit_user_data_1604
524
525 interfaces: *all_interfaces
526 network_config: *all_network_config
527
528 - name: {{ HOSTNAME_GTW01 }}
529 role: salt_minion
530 params:
531 vcpu: !os_env SLAVE_NODE_CPU, 1
532 memory: !os_env SLAVE_NODE_MEMORY, 2048
533 boot:
534 - hd
535 cloud_init_volume_name: iso
536 cloud_init_iface_up: ens3
537 volumes:
538 - name: system
539 capacity: !os_env NODE_VOLUME_SIZE, 150
540 backing_store: cloudimage1604
541 format: qcow2
542 - name: iso # Volume with name 'iso' will be used
543 # for store image with cloud-init metadata.
544 capacity: 1
545 format: raw
546 device: cdrom
547 bus: ide
548 cloudinit_meta_data: *cloudinit_meta_data
549 cloudinit_user_data: *cloudinit_user_data_1604
550
551 interfaces: *all_interfaces
552 network_config: *all_network_config
553
554 - name: {{ HOSTNAME_CMN01 }}
555 role: salt_minion
556 params:
557 vcpu: !os_env SLAVE_NODE_CPU, 2
558 memory: !os_env SLAVE_NODE_MEMORY, 2048
559 boot:
560 - hd
561 cloud_init_volume_name: iso
562 cloud_init_iface_up: ens3
563 volumes:
564 - name: system
565 capacity: !os_env NODE_VOLUME_SIZE, 150
566 backing_store: cloudimage1604
567 format: qcow2
568 - name: iso # Volume with name 'iso' will be used
569 # for store image with cloud-init metadata.
570 capacity: 1
571 format: raw
572 device: cdrom
573 bus: ide
574 cloudinit_meta_data: *cloudinit_meta_data
575 cloudinit_user_data: *cloudinit_user_data_1604
576
577 interfaces: *interfaces
578 network_config: *network_config
579
580 - name: {{ HOSTNAME_CMN02 }}
581 role: salt_minion
582 params:
583 vcpu: !os_env SLAVE_NODE_CPU, 2
584 memory: !os_env SLAVE_NODE_MEMORY, 2048
585 boot:
586 - hd
587 cloud_init_volume_name: iso
588 cloud_init_iface_up: ens3
589 volumes:
590 - name: system
591 capacity: !os_env NODE_VOLUME_SIZE, 150
592 backing_store: cloudimage1604
593 format: qcow2
594 - name: iso # Volume with name 'iso' will be used
595 # for store image with cloud-init metadata.
596 capacity: 1
597 format: raw
598 device: cdrom
599 bus: ide
600 cloudinit_meta_data: *cloudinit_meta_data
601 cloudinit_user_data: *cloudinit_user_data_1604
602
603 interfaces: *interfaces
604 network_config: *network_config
605
606 - name: {{ HOSTNAME_CMN03 }}
607 role: salt_minion
608 params:
609 vcpu: !os_env SLAVE_NODE_CPU, 2
610 memory: !os_env SLAVE_NODE_MEMORY, 2048
611 boot:
612 - hd
613 cloud_init_volume_name: iso
614 cloud_init_iface_up: ens3
615 volumes:
616 - name: system
617 capacity: !os_env NODE_VOLUME_SIZE, 150
618 backing_store: cloudimage1604
619 format: qcow2
620 - name: iso # Volume with name 'iso' will be used
621 # for store image with cloud-init metadata.
622 capacity: 1
623 format: raw
624 device: cdrom
625 bus: ide
626 cloudinit_meta_data: *cloudinit_meta_data
627 cloudinit_user_data: *cloudinit_user_data_1604
628
629 interfaces: *interfaces
630 network_config: *network_config
631
632 - name: {{ HOSTNAME_OSD01 }}
633 role: salt_minion
634 params:
635 vcpu: !os_env SLAVE_NODE_CPU, 2
636 memory: !os_env SLAVE_NODE_MEMORY, 2048
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: ceph_osd
647 capacity: 50
648 format: qcow2
649 - name: ceph_journal
650 capacity: 50
651 format: qcow2
652 - name: iso # Volume with name 'iso' will be used
653 # for store image with cloud-init metadata.
654 capacity: 1
655 format: raw
656 device: cdrom
657 bus: ide
658 cloudinit_meta_data: *cloudinit_meta_data
659 cloudinit_user_data: *cloudinit_user_data_1604
660
661 interfaces: *interfaces
662 network_config: *network_config
663
664 - name: {{ HOSTNAME_OSD02 }}
665 role: salt_minion
666 params:
667 vcpu: !os_env SLAVE_NODE_CPU, 2
668 memory: !os_env SLAVE_NODE_MEMORY, 2048
669 boot:
670 - hd
671 cloud_init_volume_name: iso
672 cloud_init_iface_up: ens3
673 volumes:
674 - name: system
675 capacity: !os_env NODE_VOLUME_SIZE, 150
676 backing_store: cloudimage1604
677 format: qcow2
678 - name: ceph_osd
679 capacity: 50
680 format: qcow2
681 - name: ceph_journal
682 capacity: 50
683 format: qcow2
684 - name: iso # Volume with name 'iso' will be used
685 # for store image with cloud-init metadata.
686 capacity: 1
687 format: raw
688 device: cdrom
689 bus: ide
690 cloudinit_meta_data: *cloudinit_meta_data
691 cloudinit_user_data: *cloudinit_user_data_1604
692
693 interfaces: *interfaces
694 network_config: *network_config
695
696 - name: {{ HOSTNAME_RGW01 }}
697 role: salt_minion
698 params:
699 vcpu: !os_env SLAVE_NODE_CPU, 2
700 memory: !os_env SLAVE_NODE_MEMORY, 2048
701 boot:
702 - hd
703 cloud_init_volume_name: iso
704 cloud_init_iface_up: ens3
705 volumes:
706 - name: system
707 capacity: !os_env NODE_VOLUME_SIZE, 150
708 backing_store: cloudimage1604
709 format: qcow2
710 - name: iso # Volume with name 'iso' will be used
711 # for store image with cloud-init metadata.
712 capacity: 1
713 format: raw
714 device: cdrom
715 bus: ide
716 cloudinit_meta_data: *cloudinit_meta_data
717 cloudinit_user_data: *cloudinit_user_data_1604
718
719 interfaces: *interfaces
720 network_config: *network_config
721
722 - name: {{ HOSTNAME_RGW02 }}
723 role: salt_minion
724 params:
725 vcpu: !os_env SLAVE_NODE_CPU, 2
726 memory: !os_env SLAVE_NODE_MEMORY, 2048
727 boot:
728 - hd
729 cloud_init_volume_name: iso
730 cloud_init_iface_up: ens3
731 volumes:
732 - name: system
733 capacity: !os_env NODE_VOLUME_SIZE, 150
734 backing_store: cloudimage1604
735 format: qcow2
736 - name: iso # Volume with name 'iso' will be used
737 # for store image with cloud-init metadata.
738 capacity: 1
739 format: raw
740 device: cdrom
741 bus: ide
742 cloudinit_meta_data: *cloudinit_meta_data
743 cloudinit_user_data: *cloudinit_user_data_1604
744
745 interfaces: *interfaces
746 network_config: *network_config
747 - name: {{ HOSTNAME_RGW03 }}
748 role: salt_minion
749 params:
750 vcpu: !os_env SLAVE_NODE_CPU, 2
751 memory: !os_env SLAVE_NODE_MEMORY, 2048
752 boot:
753 - hd
754 cloud_init_volume_name: iso
755 cloud_init_iface_up: ens3
756 volumes:
757 - name: system
758 capacity: !os_env NODE_VOLUME_SIZE, 150
759 backing_store: cloudimage1604
760 format: qcow2
761 - name: iso # Volume with name 'iso' will be used
762 # for store image with cloud-init metadata.
763 capacity: 1
764 format: raw
765 device: cdrom
766 bus: ide
767 cloudinit_meta_data: *cloudinit_meta_data
768 cloudinit_user_data: *cloudinit_user_data_1604
769
770 interfaces: *interfaces
771 network_config: *network_config