blob: d9dcdafa28e1a711ffdcf80a22bf90ac4e72b5ad [file] [log] [blame]
Dennis Dmitriev0f624a82018-06-11 12:57:13 +03001# 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{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-cicd-k8s-calico') %}
5{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
6{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
7{% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01.' + DOMAIN_NAME) %}
8{% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02.' + DOMAIN_NAME) %}
9{% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03.' + DOMAIN_NAME) %}
10
11{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
12{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
13{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
Dennis Dmitrievb3b37492018-07-08 21:23:00 +030014{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001.' + DOMAIN_NAME) %}
15{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002.' + DOMAIN_NAME) %}
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +030016{% set HOSTNAME_CMP03 = os_env('HOSTNAME_CMP03', 'cmp003.' + DOMAIN_NAME) %}
17{% set HOSTNAME_CMP04 = os_env('HOSTNAME_CMP04', 'cmp004.' + DOMAIN_NAME) %}
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030018{% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01.' + DOMAIN_NAME) %}
19{% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02.' + DOMAIN_NAME) %}
20{% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03.' + DOMAIN_NAME) %}
21{% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01.' + DOMAIN_NAME) %}
22{% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02.' + DOMAIN_NAME) %}
23{% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03.' + DOMAIN_NAME) %}
24{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %}
25{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %}
26{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %}
27{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
28{% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %}
29{% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %}
30{% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %}
31
32{% import 'cookied-cicd-k8s-calico/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030033{% import 'cookied-cicd-k8s-calico/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
34{% import 'cookied-cicd-k8s-calico/underlay--user-data1604-swp.yaml' as CLOUDINIT_USER_DATA_1604_SWP with context %}
35
36---
37aliases:
38 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
39 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030040 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
41 - &cloudinit_user_data_1604_swp {{ CLOUDINIT_USER_DATA_1604_SWP }}
42
43template:
44 devops_settings:
45 env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
46
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
56 default_{{ HOSTNAME_CID }}: +90
57 default_{{ HOSTNAME_CID01 }}: +91
58 default_{{ HOSTNAME_CID02 }}: +92
59 default_{{ HOSTNAME_CID03 }}: +93
60
61 ip_ranges:
62 dhcp: [+90, -10]
63
64 admin-pool01:
65 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
66 params:
67 ip_reserved:
68 gateway: +1
69 l2_network_device: +1
70 default_{{ HOSTNAME_CFG01 }}: +15
71
72 default_{{ HOSTNAME_CID }}: +90
73 default_{{ HOSTNAME_CID01 }}: +91
74 default_{{ HOSTNAME_CID02 }}: +92
75 default_{{ HOSTNAME_CID03 }}: +93
76
77 default_{{ HOSTNAME_CTL }}: +10
78 default_{{ HOSTNAME_CTL01 }}: +11
79 default_{{ HOSTNAME_CTL02 }}: +12
80 default_{{ HOSTNAME_CTL03 }}: +13
81 default_{{ HOSTNAME_CMP01 }}: +101
82 default_{{ HOSTNAME_CMP02 }}: +102
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +030083 default_{{ HOSTNAME_CMP03 }}: +103
84 default_{{ HOSTNAME_CMP04 }}: +104
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030085 default_{{ HOSTNAME_LOG }}: +60
86 default_{{ HOSTNAME_LOG01 }}: +61
87 default_{{ HOSTNAME_LOG02 }}: +62
88 default_{{ HOSTNAME_LOG03 }}: +63
89 default_{{ HOSTNAME_MON }}: +70
90 default_{{ HOSTNAME_MON01 }}: +71
91 default_{{ HOSTNAME_MON02 }}: +72
92 default_{{ HOSTNAME_MON03 }}: +73
93 default_{{ HOSTNAME_MTR }}: +85
94 default_{{ HOSTNAME_MTR01 }}: +86
95 default_{{ HOSTNAME_MTR02 }}: +87
96 default_{{ HOSTNAME_MTR03 }}: +88
97 default_{{ HOSTNAME_PRX01 }}: +222
98 default_{{ HOSTNAME_KVM }}: +240
99 default_{{ HOSTNAME_KVM01 }}: +241
100 default_{{ HOSTNAME_KVM02 }}: +242
101 default_{{ HOSTNAME_KVM03 }}: +243
102
103 ip_ranges:
104 dhcp: [+90, -10]
105
106 tenant-pool01:
107 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
108 params:
109 ip_reserved:
110 gateway: +1
111 l2_network_device: +1
112 default_{{ HOSTNAME_CFG01 }}: +15
113
114 default_{{ HOSTNAME_CID }}: +90
115 default_{{ HOSTNAME_CID01 }}: +91
116 default_{{ HOSTNAME_CID02 }}: +92
117 default_{{ HOSTNAME_CID03 }}: +93
118
119 ip_ranges:
120 dhcp: [+10, -10]
121
122 external-pool01:
123 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
124 params:
125 ip_reserved:
126 gateway: +1
127 l2_network_device: +1
128 default_{{ HOSTNAME_CFG01 }}: +15
129
130 default_{{ HOSTNAME_CID }}: +90
131 default_{{ HOSTNAME_CID01 }}: +91
132 default_{{ HOSTNAME_CID02 }}: +92
133 default_{{ HOSTNAME_CID03 }}: +93
134
135 ip_ranges:
136 dhcp: [+10, -10]
137
138
139 groups:
140 - name: default
141 driver:
142 name: devops.driver.libvirt
143 params:
144 connection_string: {{ os_env('CONNECTION_STRING', 'qemu:///system') }}
145 storage_pool_name: {{ os_env('STORAGE_POOL_NAME', 'default') }}
146 stp: False
147 hpet: False
148 enable_acpi: true
149 use_host_cpu: {{ os_env('DRIVER_USE_HOST_CPU', true) }}
150 use_hugepages: {{ os_env('DRIVER_USE_HUGEPAGES', false) }}
151
152 network_pools:
153 admin: admin-pool01
154 private: private-pool01
155 tenant: tenant-pool01
156 external: external-pool01
157
158 l2_network_devices:
159 admin:
160 address_pool: admin-pool01
161 dhcp: true
162 forward:
163 mode: nat
164
165 private:
166 address_pool: private-pool01
167 dhcp: false
168 forward:
169 mode: route
170
171 external:
172 address_pool: external-pool01
173 dhcp: false
174 forward:
175 mode: nat
176
177
178 group_volumes:
179 - name: cfg01_day01_image # Pre-configured day01 image
180 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
181 format: qcow2
182 - name: mcp_ubuntu_1604_image # Pre-configured image for VCP nodes initially based on kvm nodes.
183 # http://images.mirantis.com/ubuntu-16-04-x64-latest.qcow2 (preffered)
184 # or
185 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
186 source_image: {{ os_env('MCP_IMAGE_PATH1604') }}
187 format: qcow2
188
189 nodes:
190 - name: {{ HOSTNAME_CFG01 }}
191 role: salt_master
192 params:
193 vcpu: {{ os_env('CFG_NODE_CPU', 3) }}
194 memory: {{ os_env('CFG_NODE_MEMORY', 8192) }}
195 boot:
196 - hd
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300197 volumes:
198 - name: system
199 capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }}
200 backing_store: cfg01_day01_image
201 format: qcow2
202 - name: config
203 capacity: 1
204 format: raw
205 device: cdrom
206 bus: ide
207 # source_image: !os_env CFG01_CONFIG_PATH # no source image required.
208 # it will be uploaded after config drive generation
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300209 interfaces:
210 - label: ens3
211 l2_network_device: admin
212 interface_model: *interface_model
213 - label: ens4
214 l2_network_device: private
215 interface_model: *interface_model
216 network_config:
217 ens3:
218 networks:
219 - admin
220 ens4:
221 networks:
222 - private
223
224 - name: {{ HOSTNAME_KVM01 }}
225 role: salt_minion
226 params:
227 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
228 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
229 boot:
230 - hd
231 cloud_init_volume_name: iso
232 cloud_init_iface_up: ens3
233 volumes:
234 - name: system
235 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
236 backing_store: mcp_ubuntu_1604_image
237 format: qcow2
238 - name: iso # Volume with name 'iso' will be used
239 # for store image with cloud-init metadata.
240 capacity: 1
241 format: raw
242 device: cdrom
243 bus: ide
244 cloudinit_meta_data: *cloudinit_meta_data
245 cloudinit_user_data: *cloudinit_user_data_1604_swp
246
247 interfaces: &interfaces
248 - label: ens3
249 l2_network_device: admin
250 interface_model: *interface_model
251 - label: ens4
252 l2_network_device: private
253 interface_model: *interface_model
254 network_config: &network_config
255 ens3:
256 networks:
257 - admin
258 ens4:
259 networks:
260 - private
261
262 - name: {{ HOSTNAME_KVM02 }}
263 role: salt_minion
264 params:
265 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
266 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
267 boot:
268 - hd
269 cloud_init_volume_name: iso
270 cloud_init_iface_up: ens3
271 volumes:
272 - name: system
273 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
274 backing_store: mcp_ubuntu_1604_image
275 format: qcow2
276 - name: iso # Volume with name 'iso' will be used
277 # for store image with cloud-init metadata.
278 capacity: 1
279 format: raw
280 device: cdrom
281 bus: ide
282 cloudinit_meta_data: *cloudinit_meta_data
283 cloudinit_user_data: *cloudinit_user_data_1604_swp
284
285 interfaces: *interfaces
286 network_config: *network_config
287
288 - name: {{ HOSTNAME_KVM03 }}
289 role: salt_minion
290 params:
291 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
292 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
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('KVM_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_swp
310
311 interfaces: *interfaces
312 network_config: *network_config
313
314 - name: {{ HOSTNAME_CID01 }}
315 role: salt_minion
316 params:
317 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
318 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
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('CID_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_swp
336
337 interfaces: *interfaces
338 network_config: *network_config
339
340 - name: {{ HOSTNAME_CID02 }}
341 role: salt_minion
342 params:
343 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
344 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
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('CID_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_swp
362
363 interfaces: *interfaces
364 network_config: *network_config
365
366 - name: {{ HOSTNAME_CID03 }}
367 role: salt_minion
368 params:
369 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
370 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
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('CID_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_swp
388
389 interfaces: *interfaces
390 network_config: *network_config
391
392 - name: {{ HOSTNAME_CTL01 }}
393 role: k8s_controller
394 params:
395 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300396 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300397 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: cinder
407 capacity: 50
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_CTL02 }}
422 role: salt_minion
423 params:
424 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300425 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300426 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: mcp_ubuntu_1604_image
434 format: qcow2
435 - name: cinder
436 capacity: 50
437 format: qcow2
438 - name: iso # Volume with name 'iso' will be used
439 # for store image with cloud-init metadata.
440 capacity: 1
441 format: raw
442 device: cdrom
443 bus: ide
444 cloudinit_meta_data: *cloudinit_meta_data
445 cloudinit_user_data: *cloudinit_user_data_1604
446
447 interfaces: *interfaces
448 network_config: *network_config
449
450 - name: {{ HOSTNAME_CTL03 }}
451 role: salt_minion
452 params:
453 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300454 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300455 boot:
456 - hd
457 cloud_init_volume_name: iso
458 cloud_init_iface_up: ens3
459 volumes:
460 - name: system
461 capacity: !os_env NODE_VOLUME_SIZE, 150
462 backing_store: mcp_ubuntu_1604_image
463 format: qcow2
464 - name: cinder
465 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
479 - name: {{ HOSTNAME_CMP01 }}
480 role: salt_minion
481 params:
482 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300483 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300484 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: mcp_ubuntu_1604_image
492 format: qcow2
493 - name: iso # Volume with name 'iso' will be used
494 # for store image with cloud-init metadata.
495 capacity: 1
496 format: raw
497 device: cdrom
498 bus: ide
499 cloudinit_meta_data: *cloudinit_meta_data
500 cloudinit_user_data: *cloudinit_user_data_1604
501
502 interfaces: *interfaces
503 network_config: *network_config
504
505 - name: {{ HOSTNAME_CMP02 }}
506 role: salt_minion
507 params:
508 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300509 memory: !os_env SLAVE_NODE_MEMORY, 4096
510 boot:
511 - hd
512 cloud_init_volume_name: iso
513 cloud_init_iface_up: ens3
514 volumes:
515 - name: system
516 capacity: !os_env NODE_VOLUME_SIZE, 150
517 backing_store: mcp_ubuntu_1604_image
518 format: qcow2
519 - name: iso # Volume with name 'iso' will be used
520 # for store image with cloud-init metadata.
521 capacity: 1
522 format: raw
523 device: cdrom
524 bus: ide
525 cloudinit_meta_data: *cloudinit_meta_data
526 cloudinit_user_data: *cloudinit_user_data_1604
527
528 interfaces: *interfaces
529 network_config: *network_config
530
531 - name: {{ HOSTNAME_CMP03 }}
532 role: salt_minion
533 params:
534 vcpu: !os_env SLAVE_NODE_CPU, 2
535 memory: !os_env SLAVE_NODE_MEMORY, 4096
536 boot:
537 - hd
538 cloud_init_volume_name: iso
539 cloud_init_iface_up: ens3
540 volumes:
541 - name: system
542 capacity: !os_env NODE_VOLUME_SIZE, 150
543 backing_store: mcp_ubuntu_1604_image
544 format: qcow2
545 - name: iso # Volume with name 'iso' will be used
546 # for store image with cloud-init metadata.
547 capacity: 1
548 format: raw
549 device: cdrom
550 bus: ide
551 cloudinit_meta_data: *cloudinit_meta_data
552 cloudinit_user_data: *cloudinit_user_data_1604
553
554 interfaces: *interfaces
555 network_config: *network_config
556
557 - name: {{ HOSTNAME_CMP04 }}
558 role: salt_minion
559 params:
560 vcpu: !os_env SLAVE_NODE_CPU, 2
561 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300562 boot:
563 - hd
564 cloud_init_volume_name: iso
565 cloud_init_iface_up: ens3
566 volumes:
567 - name: system
568 capacity: !os_env NODE_VOLUME_SIZE, 150
569 backing_store: mcp_ubuntu_1604_image
570 format: qcow2
571 - name: iso # Volume with name 'iso' will be used
572 # for store image with cloud-init metadata.
573 capacity: 1
574 format: raw
575 device: cdrom
576 bus: ide
577 cloudinit_meta_data: *cloudinit_meta_data
578 cloudinit_user_data: *cloudinit_user_data_1604
579
580 interfaces: *interfaces
581 network_config: *network_config