blob: 4f18aa47102377fae387778c13b6d6af5a0f3896 [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 %}
33{% import 'cookied-cicd-k8s-calico/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
34{% import 'cookied-cicd-k8s-calico/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
35{% import 'cookied-cicd-k8s-calico/underlay--user-data1604-swp.yaml' as CLOUDINIT_USER_DATA_1604_SWP with context %}
36
37---
38aliases:
39 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
40 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
41 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
42 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
43 - &cloudinit_user_data_1604_swp {{ CLOUDINIT_USER_DATA_1604_SWP }}
44
45template:
46 devops_settings:
47 env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
48
49 address_pools:
50 private-pool01:
51 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
52 params:
53 ip_reserved:
54 gateway: +1
55 l2_network_device: +1
56 default_{{ HOSTNAME_CFG01 }}: +15
57
58 default_{{ HOSTNAME_CID }}: +90
59 default_{{ HOSTNAME_CID01 }}: +91
60 default_{{ HOSTNAME_CID02 }}: +92
61 default_{{ HOSTNAME_CID03 }}: +93
62
63 ip_ranges:
64 dhcp: [+90, -10]
65
66 admin-pool01:
67 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
68 params:
69 ip_reserved:
70 gateway: +1
71 l2_network_device: +1
72 default_{{ HOSTNAME_CFG01 }}: +15
73
74 default_{{ HOSTNAME_CID }}: +90
75 default_{{ HOSTNAME_CID01 }}: +91
76 default_{{ HOSTNAME_CID02 }}: +92
77 default_{{ HOSTNAME_CID03 }}: +93
78
79 default_{{ HOSTNAME_CTL }}: +10
80 default_{{ HOSTNAME_CTL01 }}: +11
81 default_{{ HOSTNAME_CTL02 }}: +12
82 default_{{ HOSTNAME_CTL03 }}: +13
83 default_{{ HOSTNAME_CMP01 }}: +101
84 default_{{ HOSTNAME_CMP02 }}: +102
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +030085 default_{{ HOSTNAME_CMP03 }}: +103
86 default_{{ HOSTNAME_CMP04 }}: +104
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030087 default_{{ HOSTNAME_LOG }}: +60
88 default_{{ HOSTNAME_LOG01 }}: +61
89 default_{{ HOSTNAME_LOG02 }}: +62
90 default_{{ HOSTNAME_LOG03 }}: +63
91 default_{{ HOSTNAME_MON }}: +70
92 default_{{ HOSTNAME_MON01 }}: +71
93 default_{{ HOSTNAME_MON02 }}: +72
94 default_{{ HOSTNAME_MON03 }}: +73
95 default_{{ HOSTNAME_MTR }}: +85
96 default_{{ HOSTNAME_MTR01 }}: +86
97 default_{{ HOSTNAME_MTR02 }}: +87
98 default_{{ HOSTNAME_MTR03 }}: +88
99 default_{{ HOSTNAME_PRX01 }}: +222
100 default_{{ HOSTNAME_KVM }}: +240
101 default_{{ HOSTNAME_KVM01 }}: +241
102 default_{{ HOSTNAME_KVM02 }}: +242
103 default_{{ HOSTNAME_KVM03 }}: +243
104
105 ip_ranges:
106 dhcp: [+90, -10]
107
108 tenant-pool01:
109 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
110 params:
111 ip_reserved:
112 gateway: +1
113 l2_network_device: +1
114 default_{{ HOSTNAME_CFG01 }}: +15
115
116 default_{{ HOSTNAME_CID }}: +90
117 default_{{ HOSTNAME_CID01 }}: +91
118 default_{{ HOSTNAME_CID02 }}: +92
119 default_{{ HOSTNAME_CID03 }}: +93
120
121 ip_ranges:
122 dhcp: [+10, -10]
123
124 external-pool01:
125 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
126 params:
127 ip_reserved:
128 gateway: +1
129 l2_network_device: +1
130 default_{{ HOSTNAME_CFG01 }}: +15
131
132 default_{{ HOSTNAME_CID }}: +90
133 default_{{ HOSTNAME_CID01 }}: +91
134 default_{{ HOSTNAME_CID02 }}: +92
135 default_{{ HOSTNAME_CID03 }}: +93
136
137 ip_ranges:
138 dhcp: [+10, -10]
139
140
141 groups:
142 - name: default
143 driver:
144 name: devops.driver.libvirt
145 params:
146 connection_string: {{ os_env('CONNECTION_STRING', 'qemu:///system') }}
147 storage_pool_name: {{ os_env('STORAGE_POOL_NAME', 'default') }}
148 stp: False
149 hpet: False
150 enable_acpi: true
151 use_host_cpu: {{ os_env('DRIVER_USE_HOST_CPU', true) }}
152 use_hugepages: {{ os_env('DRIVER_USE_HUGEPAGES', false) }}
153
154 network_pools:
155 admin: admin-pool01
156 private: private-pool01
157 tenant: tenant-pool01
158 external: external-pool01
159
160 l2_network_devices:
161 admin:
162 address_pool: admin-pool01
163 dhcp: true
164 forward:
165 mode: nat
166
167 private:
168 address_pool: private-pool01
169 dhcp: false
170 forward:
171 mode: route
172
173 external:
174 address_pool: external-pool01
175 dhcp: false
176 forward:
177 mode: nat
178
179
180 group_volumes:
181 - name: cfg01_day01_image # Pre-configured day01 image
182 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
183 format: qcow2
184 - name: mcp_ubuntu_1604_image # Pre-configured image for VCP nodes initially based on kvm nodes.
185 # http://images.mirantis.com/ubuntu-16-04-x64-latest.qcow2 (preffered)
186 # or
187 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
188 source_image: {{ os_env('MCP_IMAGE_PATH1604') }}
189 format: qcow2
190
191 nodes:
192 - name: {{ HOSTNAME_CFG01 }}
193 role: salt_master
194 params:
195 vcpu: {{ os_env('CFG_NODE_CPU', 3) }}
196 memory: {{ os_env('CFG_NODE_MEMORY', 8192) }}
197 boot:
198 - hd
199 cloud_init_volume_name: iso
200 cloud_init_iface_up: ens3
201 volumes:
202 - name: system
203 capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }}
204 backing_store: cfg01_day01_image
205 format: qcow2
206 - name: config
207 capacity: 1
208 format: raw
209 device: cdrom
210 bus: ide
211 # source_image: !os_env CFG01_CONFIG_PATH # no source image required.
212 # it will be uploaded after config drive generation
213 - name: iso # Volume with name 'iso' will be used
214 # for store image with cloud-init metadata.
215 capacity: 1
216 format: raw
217 device: cdrom
218 bus: ide
219 cloudinit_meta_data: *cloudinit_meta_data
220 cloudinit_user_data: *cloudinit_user_data_cfg01
221
222 interfaces:
223 - label: ens3
224 l2_network_device: admin
225 interface_model: *interface_model
226 - label: ens4
227 l2_network_device: private
228 interface_model: *interface_model
229 network_config:
230 ens3:
231 networks:
232 - admin
233 ens4:
234 networks:
235 - private
236
237 - name: {{ HOSTNAME_KVM01 }}
238 role: salt_minion
239 params:
240 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
241 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
242 boot:
243 - hd
244 cloud_init_volume_name: iso
245 cloud_init_iface_up: ens3
246 volumes:
247 - name: system
248 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
249 backing_store: mcp_ubuntu_1604_image
250 format: qcow2
251 - name: iso # Volume with name 'iso' will be used
252 # for store image with cloud-init metadata.
253 capacity: 1
254 format: raw
255 device: cdrom
256 bus: ide
257 cloudinit_meta_data: *cloudinit_meta_data
258 cloudinit_user_data: *cloudinit_user_data_1604_swp
259
260 interfaces: &interfaces
261 - label: ens3
262 l2_network_device: admin
263 interface_model: *interface_model
264 - label: ens4
265 l2_network_device: private
266 interface_model: *interface_model
267 network_config: &network_config
268 ens3:
269 networks:
270 - admin
271 ens4:
272 networks:
273 - private
274
275 - name: {{ HOSTNAME_KVM02 }}
276 role: salt_minion
277 params:
278 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
279 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
280 boot:
281 - hd
282 cloud_init_volume_name: iso
283 cloud_init_iface_up: ens3
284 volumes:
285 - name: system
286 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
287 backing_store: mcp_ubuntu_1604_image
288 format: qcow2
289 - name: iso # Volume with name 'iso' will be used
290 # for store image with cloud-init metadata.
291 capacity: 1
292 format: raw
293 device: cdrom
294 bus: ide
295 cloudinit_meta_data: *cloudinit_meta_data
296 cloudinit_user_data: *cloudinit_user_data_1604_swp
297
298 interfaces: *interfaces
299 network_config: *network_config
300
301 - name: {{ HOSTNAME_KVM03 }}
302 role: salt_minion
303 params:
304 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
305 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
306 boot:
307 - hd
308 cloud_init_volume_name: iso
309 cloud_init_iface_up: ens3
310 volumes:
311 - name: system
312 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
313 backing_store: mcp_ubuntu_1604_image
314 format: qcow2
315 - name: iso # Volume with name 'iso' will be used
316 # for store image with cloud-init metadata.
317 capacity: 1
318 format: raw
319 device: cdrom
320 bus: ide
321 cloudinit_meta_data: *cloudinit_meta_data
322 cloudinit_user_data: *cloudinit_user_data_1604_swp
323
324 interfaces: *interfaces
325 network_config: *network_config
326
327 - name: {{ HOSTNAME_CID01 }}
328 role: salt_minion
329 params:
330 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
331 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
332 boot:
333 - hd
334 cloud_init_volume_name: iso
335 cloud_init_iface_up: ens3
336 volumes:
337 - name: system
338 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
339 backing_store: mcp_ubuntu_1604_image
340 format: qcow2
341 - name: iso # Volume with name 'iso' will be used
342 # for store image with cloud-init metadata.
343 capacity: 1
344 format: raw
345 device: cdrom
346 bus: ide
347 cloudinit_meta_data: *cloudinit_meta_data
348 cloudinit_user_data: *cloudinit_user_data_1604_swp
349
350 interfaces: *interfaces
351 network_config: *network_config
352
353 - name: {{ HOSTNAME_CID02 }}
354 role: salt_minion
355 params:
356 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
357 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
358 boot:
359 - hd
360 cloud_init_volume_name: iso
361 cloud_init_iface_up: ens3
362 volumes:
363 - name: system
364 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
365 backing_store: mcp_ubuntu_1604_image
366 format: qcow2
367 - name: iso # Volume with name 'iso' will be used
368 # for store image with cloud-init metadata.
369 capacity: 1
370 format: raw
371 device: cdrom
372 bus: ide
373 cloudinit_meta_data: *cloudinit_meta_data
374 cloudinit_user_data: *cloudinit_user_data_1604_swp
375
376 interfaces: *interfaces
377 network_config: *network_config
378
379 - name: {{ HOSTNAME_CID03 }}
380 role: salt_minion
381 params:
382 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
383 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
384 boot:
385 - hd
386 cloud_init_volume_name: iso
387 cloud_init_iface_up: ens3
388 volumes:
389 - name: system
390 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
391 backing_store: mcp_ubuntu_1604_image
392 format: qcow2
393 - name: iso # Volume with name 'iso' will be used
394 # for store image with cloud-init metadata.
395 capacity: 1
396 format: raw
397 device: cdrom
398 bus: ide
399 cloudinit_meta_data: *cloudinit_meta_data
400 cloudinit_user_data: *cloudinit_user_data_1604_swp
401
402 interfaces: *interfaces
403 network_config: *network_config
404
405 - name: {{ HOSTNAME_CTL01 }}
406 role: k8s_controller
407 params:
408 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300409 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300410 boot:
411 - hd
412 cloud_init_volume_name: iso
413 cloud_init_iface_up: ens3
414 volumes:
415 - name: system
416 capacity: !os_env NODE_VOLUME_SIZE, 150
417 backing_store: mcp_ubuntu_1604_image
418 format: qcow2
419 - name: cinder
420 capacity: 50
421 format: qcow2
422 - name: iso # Volume with name 'iso' will be used
423 # for store image with cloud-init metadata.
424 capacity: 1
425 format: raw
426 device: cdrom
427 bus: ide
428 cloudinit_meta_data: *cloudinit_meta_data
429 cloudinit_user_data: *cloudinit_user_data_1604
430
431 interfaces: *interfaces
432 network_config: *network_config
433
434 - name: {{ HOSTNAME_CTL02 }}
435 role: salt_minion
436 params:
437 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300438 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300439 boot:
440 - hd
441 cloud_init_volume_name: iso
442 cloud_init_iface_up: ens3
443 volumes:
444 - name: system
445 capacity: !os_env NODE_VOLUME_SIZE, 150
446 backing_store: mcp_ubuntu_1604_image
447 format: qcow2
448 - name: cinder
449 capacity: 50
450 format: qcow2
451 - name: iso # Volume with name 'iso' will be used
452 # for store image with cloud-init metadata.
453 capacity: 1
454 format: raw
455 device: cdrom
456 bus: ide
457 cloudinit_meta_data: *cloudinit_meta_data
458 cloudinit_user_data: *cloudinit_user_data_1604
459
460 interfaces: *interfaces
461 network_config: *network_config
462
463 - name: {{ HOSTNAME_CTL03 }}
464 role: salt_minion
465 params:
466 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300467 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300468 boot:
469 - hd
470 cloud_init_volume_name: iso
471 cloud_init_iface_up: ens3
472 volumes:
473 - name: system
474 capacity: !os_env NODE_VOLUME_SIZE, 150
475 backing_store: mcp_ubuntu_1604_image
476 format: qcow2
477 - name: cinder
478 capacity: 50
479 format: qcow2
480 - name: iso # Volume with name 'iso' will be used
481 # for store image with cloud-init metadata.
482 capacity: 1
483 format: raw
484 device: cdrom
485 bus: ide
486 cloudinit_meta_data: *cloudinit_meta_data
487 cloudinit_user_data: *cloudinit_user_data_1604
488
489 interfaces: *interfaces
490 network_config: *network_config
491
492 - name: {{ HOSTNAME_CMP01 }}
493 role: salt_minion
494 params:
495 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300496 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300497 boot:
498 - hd
499 cloud_init_volume_name: iso
500 cloud_init_iface_up: ens3
501 volumes:
502 - name: system
503 capacity: !os_env NODE_VOLUME_SIZE, 150
504 backing_store: mcp_ubuntu_1604_image
505 format: qcow2
506 - name: iso # Volume with name 'iso' will be used
507 # for store image with cloud-init metadata.
508 capacity: 1
509 format: raw
510 device: cdrom
511 bus: ide
512 cloudinit_meta_data: *cloudinit_meta_data
513 cloudinit_user_data: *cloudinit_user_data_1604
514
515 interfaces: *interfaces
516 network_config: *network_config
517
518 - name: {{ HOSTNAME_CMP02 }}
519 role: salt_minion
520 params:
521 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300522 memory: !os_env SLAVE_NODE_MEMORY, 4096
523 boot:
524 - hd
525 cloud_init_volume_name: iso
526 cloud_init_iface_up: ens3
527 volumes:
528 - name: system
529 capacity: !os_env NODE_VOLUME_SIZE, 150
530 backing_store: mcp_ubuntu_1604_image
531 format: qcow2
532 - name: iso # Volume with name 'iso' will be used
533 # for store image with cloud-init metadata.
534 capacity: 1
535 format: raw
536 device: cdrom
537 bus: ide
538 cloudinit_meta_data: *cloudinit_meta_data
539 cloudinit_user_data: *cloudinit_user_data_1604
540
541 interfaces: *interfaces
542 network_config: *network_config
543
544 - name: {{ HOSTNAME_CMP03 }}
545 role: salt_minion
546 params:
547 vcpu: !os_env SLAVE_NODE_CPU, 2
548 memory: !os_env SLAVE_NODE_MEMORY, 4096
549 boot:
550 - hd
551 cloud_init_volume_name: iso
552 cloud_init_iface_up: ens3
553 volumes:
554 - name: system
555 capacity: !os_env NODE_VOLUME_SIZE, 150
556 backing_store: mcp_ubuntu_1604_image
557 format: qcow2
558 - name: iso # Volume with name 'iso' will be used
559 # for store image with cloud-init metadata.
560 capacity: 1
561 format: raw
562 device: cdrom
563 bus: ide
564 cloudinit_meta_data: *cloudinit_meta_data
565 cloudinit_user_data: *cloudinit_user_data_1604
566
567 interfaces: *interfaces
568 network_config: *network_config
569
570 - name: {{ HOSTNAME_CMP04 }}
571 role: salt_minion
572 params:
573 vcpu: !os_env SLAVE_NODE_CPU, 2
574 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300575 boot:
576 - hd
577 cloud_init_volume_name: iso
578 cloud_init_iface_up: ens3
579 volumes:
580 - name: system
581 capacity: !os_env NODE_VOLUME_SIZE, 150
582 backing_store: mcp_ubuntu_1604_image
583 format: qcow2
584 - name: iso # Volume with name 'iso' will be used
585 # for store image with cloud-init metadata.
586 capacity: 1
587 format: raw
588 device: cdrom
589 bus: ide
590 cloudinit_meta_data: *cloudinit_meta_data
591 cloudinit_user_data: *cloudinit_user_data_1604
592
593 interfaces: *interfaces
594 network_config: *network_config