blob: c0eab42e4f608743fad437891fbc5320d40f92aa [file] [log] [blame]
Oleksii Butenkoba680de2018-08-23 14:15:19 +03001{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'proposed') %}
2
Tatyana Leontovich6603e902018-12-04 15:11:19 +02003{% import 'cookied-cicd-pike-dvr-ceph/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
4{% import 'cookied-cicd-pike-dvr-ceph/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
Oleksii Butenkoba680de2018-08-23 14:15:19 +03005
6---
7aliases:
8 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
9 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030010 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
11
Tatyana Leontovich6603e902018-12-04 15:11:19 +020012{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-cicd-pike-dvr-ceph') %}
Oleksii Butenko236db652018-10-10 14:45:31 +030013{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030014{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
15{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
16{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
17{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
Tatyana Leontovich6603e902018-12-04 15:11:19 +020018{% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01.' + DOMAIN_NAME) %}
19{% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02.' + DOMAIN_NAME) %}
20{% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03.' + DOMAIN_NAME) %}
Oleksii Butenkof5c86102018-09-10 13:29:53 +030021{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp1.' + DOMAIN_NAME) %}
22{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp2.' + DOMAIN_NAME) %}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030023{% set HOSTNAME_CMN01 = os_env('HOSTNAME_CMN01', 'cmn01.' + DOMAIN_NAME) %}
24{% set HOSTNAME_CMN02 = os_env('HOSTNAME_CMN02', 'cmn02.' + DOMAIN_NAME) %}
25{% set HOSTNAME_CMN03 = os_env('HOSTNAME_CMN03', 'cmn03.' + DOMAIN_NAME) %}
Tatyana Leontovich6603e902018-12-04 15:11:19 +020026{% set HOSTNAME_RGW01 = os_env('HOSTNAME_RGW01', 'rgw01.' + DOMAIN_NAME) %}
27{% set HOSTNAME_RGW02 = os_env('HOSTNAME_RGW02', 'rgw02.' + DOMAIN_NAME) %}
28{% set HOSTNAME_RGW03 = os_env('HOSTNAME_RGW03', 'rgw03.' + DOMAIN_NAME) %}
Oleksii Butenkof5c86102018-09-10 13:29:53 +030029{% set HOSTNAME_OSD01 = os_env('HOSTNAME_OSD01', 'osd1.' + DOMAIN_NAME) %}
30{% set HOSTNAME_OSD02 = os_env('HOSTNAME_OSD02', 'osd2.' + DOMAIN_NAME) %}
obutenko78c65572019-02-03 18:35:06 +020031{% set HOSTNAME_OSD03 = os_env('HOSTNAME_OSD03', 'osd3.' + DOMAIN_NAME) %}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030032{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
33{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
Tatyana Leontovich63a2c602019-02-21 13:24:20 +020034{% set HOSTNAME_PRX02 = os_env('HOSTNAME_PRX02', 'prx02.' + DOMAIN_NAME) %}
Tatyana Leontovich6603e902018-12-04 15:11:19 +020035{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %}
36{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %}
37{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %}
38{% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01.' + DOMAIN_NAME) %}
39{% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02.' + DOMAIN_NAME) %}
40{% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03.' + DOMAIN_NAME) %}
41{% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01.' + DOMAIN_NAME) %}
42{% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02.' + DOMAIN_NAME) %}
43{% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03.' + DOMAIN_NAME) %}
Tatyana Leontovich63a2c602019-02-21 13:24:20 +020044{% set HOSTNAME_KMN01 = os_env('HOSTNAME_KMN01', 'kmn01.' + DOMAIN_NAME) %}
45{% set HOSTNAME_KMN02 = os_env('HOSTNAME_KMN02', 'kmn02.' + DOMAIN_NAME) %}
46{% set HOSTNAME_KMN03 = os_env('HOSTNAME_KMN03', 'kmn03.' + DOMAIN_NAME) %}
47{% set HOSTNAME_DNS01 = os_env('HOSTNAME_DNS01', 'dns01.' + DOMAIN_NAME) %}
48{% set HOSTNAME_DNS02 = os_env('HOSTNAME_DNS02', 'dns02.' + DOMAIN_NAME) %}
49
50
Oleksii Butenkoba680de2018-08-23 14:15:19 +030051
52template:
53 devops_settings:
Tatyana Leontovich6603e902018-12-04 15:11:19 +020054 env_name: {{ os_env('ENV_NAME', 'cookied-cicd-pike-dvr-ceph_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +030055
56 address_pools:
57 private-pool01:
58 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
59 params:
60 ip_reserved:
61 gateway: +1
62 l2_network_device: +1
63 default_{{ HOSTNAME_CFG01 }}: +15
64 default_{{ HOSTNAME_CTL01 }}: +11
65 default_{{ HOSTNAME_CTL02 }}: +12
66 default_{{ HOSTNAME_CTL03 }}: +13
67 default_{{ HOSTNAME_CMP01 }}: +105
68 default_{{ HOSTNAME_CMP02 }}: +106
Tatyana Leontovich6603e902018-12-04 15:11:19 +020069 default_{{ HOSTNAME_CID }}: +90
70 default_{{ HOSTNAME_CID01 }}: +91
71 default_{{ HOSTNAME_CID02 }}: +92
72 default_{{ HOSTNAME_CID03 }}: +93
obutenko78c65572019-02-03 18:35:06 +020073 default_{{ HOSTNAME_OSD01 }}: +87
74 default_{{ HOSTNAME_OSD02 }}: +88
75 default_{{ HOSTNAME_OSD03 }}: +89
Oleksii Butenkoba680de2018-08-23 14:15:19 +030076 default_{{ HOSTNAME_CMN01 }}: +96
77 default_{{ HOSTNAME_CMN02 }}: +97
78 default_{{ HOSTNAME_CMN03 }}: +98
79 default_{{ HOSTNAME_RGW01 }}: +76
80 default_{{ HOSTNAME_RGW02 }}: +77
81 default_{{ HOSTNAME_RGW03 }}: +78
82 default_{{ HOSTNAME_GTW01 }}: +110
83 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich63a2c602019-02-21 13:24:20 +020084 default_{{ HOSTNAME_PRX02 }}: +122
Tatyana Leontovich6603e902018-12-04 15:11:19 +020085 default_{{ HOSTNAME_MON01 }}: +71
86 default_{{ HOSTNAME_MON02 }}: +72
87 default_{{ HOSTNAME_MON03 }}: +73
88 default_{{ HOSTNAME_LOG01 }}: +61
89 default_{{ HOSTNAME_LOG02 }}: +62
90 default_{{ HOSTNAME_LOG03 }}: +63
91 default_{{ HOSTNAME_MTR01 }}: +51
92 default_{{ HOSTNAME_MTR02 }}: +52
93 default_{{ HOSTNAME_MTR03 }}: +53
Tatyana Leontovich63a2c602019-02-21 13:24:20 +020094 default_{{ HOSTNAME_KMN01 }}: +45
95 default_{{ HOSTNAME_KMN02 }}: +46
96 default_{{ HOSTNAME_KMN03 }}: +47
97 default_{{ HOSTNAME_DNS01 }}: +113
98 default_{{ HOSTNAME_DNS02 }}: +114
Oleksii Butenkoba680de2018-08-23 14:15:19 +030099 ip_ranges:
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200100 dhcp: [+10, -10]
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300101
102 admin-pool01:
103 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
104 params:
105 ip_reserved:
106 gateway: +1
107 l2_network_device: +1
108 default_{{ HOSTNAME_CFG01 }}: +15
109 default_{{ HOSTNAME_CTL01 }}: +11
110 default_{{ HOSTNAME_CTL02 }}: +12
111 default_{{ HOSTNAME_CTL03 }}: +13
112 default_{{ HOSTNAME_CMP01 }}: +105
113 default_{{ HOSTNAME_CMP02 }}: +106
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200114 default_{{ HOSTNAME_CID }}: +90
115 default_{{ HOSTNAME_CID01 }}: +91
116 default_{{ HOSTNAME_CID02 }}: +92
117 default_{{ HOSTNAME_CID03 }}: +93
obutenko78c65572019-02-03 18:35:06 +0200118 default_{{ HOSTNAME_OSD01 }}: +87
119 default_{{ HOSTNAME_OSD02 }}: +88
120 default_{{ HOSTNAME_OSD03 }}: +89
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300121 default_{{ HOSTNAME_CMN01 }}: +96
122 default_{{ HOSTNAME_CMN02 }}: +97
123 default_{{ HOSTNAME_CMN03 }}: +98
124 default_{{ HOSTNAME_RGW01 }}: +76
125 default_{{ HOSTNAME_RGW02 }}: +77
126 default_{{ HOSTNAME_RGW03 }}: +78
127 default_{{ HOSTNAME_GTW01 }}: +110
128 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200129 default_{{ HOSTNAME_PRX02 }}: +122
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200130 default_{{ HOSTNAME_MON01 }}: +71
131 default_{{ HOSTNAME_MON02 }}: +72
132 default_{{ HOSTNAME_MON03 }}: +73
133 default_{{ HOSTNAME_LOG01 }}: +61
134 default_{{ HOSTNAME_LOG02 }}: +62
135 default_{{ HOSTNAME_LOG03 }}: +63
136 default_{{ HOSTNAME_MTR01 }}: +51
137 default_{{ HOSTNAME_MTR02 }}: +52
138 default_{{ HOSTNAME_MTR03 }}: +53
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200139 default_{{ HOSTNAME_KMN01 }}: +45
140 default_{{ HOSTNAME_KMN02 }}: +46
141 default_{{ HOSTNAME_KMN03 }}: +47
142 default_{{ HOSTNAME_DNS01 }}: +113
143 default_{{ HOSTNAME_DNS02 }}: +114
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300144 ip_ranges:
145 dhcp: [+70, -10]
146
147 tenant-pool01:
148 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
149 params:
150 ip_reserved:
151 gateway: +1
152 l2_network_device: +1
153 default_{{ HOSTNAME_CFG01 }}: +15
154 default_{{ HOSTNAME_CTL01 }}: +11
155 default_{{ HOSTNAME_CTL02 }}: +12
156 default_{{ HOSTNAME_CTL03 }}: +13
157 default_{{ HOSTNAME_CMP01 }}: +105
158 default_{{ HOSTNAME_CMP02 }}: +106
obutenko78c65572019-02-03 18:35:06 +0200159 default_{{ HOSTNAME_OSD01 }}: +87
160 default_{{ HOSTNAME_OSD02 }}: +88
161 default_{{ HOSTNAME_OSD03 }}: +89
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300162 default_{{ HOSTNAME_CMN01 }}: +96
163 default_{{ HOSTNAME_CMN02 }}: +97
164 default_{{ HOSTNAME_CMN03 }}: +98
165 default_{{ HOSTNAME_RGW01 }}: +76
166 default_{{ HOSTNAME_RGW02 }}: +77
167 default_{{ HOSTNAME_RGW03 }}: +78
168 default_{{ HOSTNAME_GTW01 }}: +110
169 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200170 default_{{ HOSTNAME_PRX02 }}: +122
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200171 default_{{ HOSTNAME_MON01 }}: +71
172 default_{{ HOSTNAME_MON02 }}: +72
173 default_{{ HOSTNAME_MON03 }}: +73
174 default_{{ HOSTNAME_LOG01 }}: +61
175 default_{{ HOSTNAME_LOG02 }}: +62
176 default_{{ HOSTNAME_LOG03 }}: +63
177 default_{{ HOSTNAME_MTR01 }}: +51
178 default_{{ HOSTNAME_MTR02 }}: +52
179 default_{{ HOSTNAME_MTR03 }}: +53
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200180 default_{{ HOSTNAME_KMN01 }}: +45
181 default_{{ HOSTNAME_KMN02 }}: +46
182 default_{{ HOSTNAME_KMN03 }}: +47
183 default_{{ HOSTNAME_DNS01 }}: +113
184 default_{{ HOSTNAME_DNS02 }}: +114
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300185 ip_ranges:
186 dhcp: [+10, -10]
187
188 external-pool01:
189 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
190 params:
191 ip_reserved:
192 gateway: +1
193 l2_network_device: +1
194 default_{{ HOSTNAME_CFG01 }}: +15
195 default_{{ HOSTNAME_CTL01 }}: +11
196 default_{{ HOSTNAME_CTL02 }}: +12
197 default_{{ HOSTNAME_CTL03 }}: +13
198 default_{{ HOSTNAME_CMP01 }}: +105
199 default_{{ HOSTNAME_CMP02 }}: +106
obutenko78c65572019-02-03 18:35:06 +0200200 default_{{ HOSTNAME_OSD01 }}: +87
201 default_{{ HOSTNAME_OSD02 }}: +88
202 default_{{ HOSTNAME_OSD03 }}: +89
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300203 default_{{ HOSTNAME_CMN01 }}: +96
204 default_{{ HOSTNAME_CMN02 }}: +97
205 default_{{ HOSTNAME_CMN03 }}: +98
206 default_{{ HOSTNAME_RGW01 }}: +76
207 default_{{ HOSTNAME_RGW02 }}: +77
208 default_{{ HOSTNAME_RGW03 }}: +78
209 default_{{ HOSTNAME_GTW01 }}: +110
210 default_{{ HOSTNAME_PRX01 }}: +121
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200211 default_{{ HOSTNAME_PRX02 }}: +122
Tatyana Leontovich6603e902018-12-04 15:11:19 +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 }}: +51
219 default_{{ HOSTNAME_MTR02 }}: +52
220 default_{{ HOSTNAME_MTR03 }}: +53
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200221 default_{{ HOSTNAME_KMN01 }}: +45
222 default_{{ HOSTNAME_KMN02 }}: +46
223 default_{{ HOSTNAME_KMN03 }}: +47
224 default_{{ HOSTNAME_DNS01 }}: +113
225 default_{{ HOSTNAME_DNS02 }}: +114
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300226 ip_ranges:
Oleksii Butenko7c2c55b2018-09-20 15:22:13 +0300227 dhcp: [+130, +230]
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300228
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300229 groups:
230 - name: default
231 driver:
232 name: devops.driver.libvirt
233 params:
234 connection_string: !os_env CONNECTION_STRING, qemu:///system
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200235 storage_pool_name: !os_env STORAGE_POOL_NAME, default
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300236 stp: False
237 hpet: False
238 enable_acpi: true
239 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
240 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
241
242 network_pools:
243 admin: admin-pool01
244 private: private-pool01
245 tenant: tenant-pool01
246 external: external-pool01
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300247
248 l2_network_devices:
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300249 admin:
250 address_pool: admin-pool01
251 dhcp: true
252 forward:
253 mode: nat
254
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200255 private:
256 address_pool: private-pool01
257 dhcp: false
258 forward:
259 mode: route
260
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300261 tenant:
262 address_pool: tenant-pool01
263 dhcp: false
264
265 external:
266 address_pool: external-pool01
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200267 dhcp: false
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300268 forward:
269 mode: route
270
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300271 group_volumes:
272 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200273 source_image: {{ os_env('MCP_IMAGE_PATH1604') }} # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300274 format: qcow2
275 - name: cfg01_day01_image # Pre-configured day01 image
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200276 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300277 format: qcow2
278 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
279 source_image: !os_env MCP_IMAGE_PATH1604
280 format: qcow2
281
282 nodes:
283 - name: {{ HOSTNAME_CFG01 }}
284 role: salt_master
285 params:
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200286 vcpu: {{ os_env('CFG_NODE_CPU', 3) }}
Dennis Dmitriev19afa872018-12-21 15:18:51 +0200287 memory: {{ os_env('CFG_NODE_MEMORY', 12288) }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300288 boot:
289 - hd
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300290 volumes:
291 - name: system
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200292 capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300293 backing_store: cfg01_day01_image
294 format: qcow2
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200295 - name: config
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300296 capacity: 1
297 format: raw
298 device: cdrom
299 bus: ide
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300300
301 interfaces:
302 - label: ens3
303 l2_network_device: admin
304 interface_model: *interface_model
305 - label: ens4
306 l2_network_device: private
307 interface_model: *interface_model
308 network_config:
309 ens3:
310 networks:
311 - admin
312 ens4:
313 networks:
314 - private
315
316 - name: {{ HOSTNAME_CTL01 }}
317 role: salt_minion
318 params:
Dennis Dmitrievb81c4ae2019-04-09 15:46:01 +0300319 vcpu: !os_env SLAVE_NODE_CPU, 4
320 memory: !os_env SLAVE_NODE_MEMORY, 32768
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300321 boot:
322 - hd
323 cloud_init_volume_name: iso
324 cloud_init_iface_up: ens3
325 volumes:
326 - name: system
327 capacity: !os_env NODE_VOLUME_SIZE, 150
328 backing_store: mcp_ubuntu_1604_image
329 format: qcow2
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300330 - name: iso # Volume with name 'iso' will be used
331 # for store image with cloud-init metadata.
332 capacity: 1
333 format: raw
334 device: cdrom
335 bus: ide
336 cloudinit_meta_data: *cloudinit_meta_data
337 cloudinit_user_data: *cloudinit_user_data_1604
338
339 interfaces: &interfaces
340 - label: ens3
341 l2_network_device: admin
342 interface_model: *interface_model
343 - label: ens4
344 l2_network_device: private
345 interface_model: *interface_model
346 network_config: &network_config
347 ens3:
348 networks:
349 - admin
350 ens4:
351 networks:
352 - private
353
354 - name: {{ HOSTNAME_CTL02 }}
355 role: salt_minion
356 params:
Dennis Dmitrievb81c4ae2019-04-09 15:46:01 +0300357 vcpu: !os_env SLAVE_NODE_CPU, 4
358 memory: !os_env SLAVE_NODE_MEMORY, 32768
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300359 boot:
360 - hd
361 cloud_init_volume_name: iso
362 cloud_init_iface_up: ens3
363 volumes:
364 - name: system
365 capacity: !os_env NODE_VOLUME_SIZE, 150
366 backing_store: mcp_ubuntu_1604_image
367 format: qcow2
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300368 - name: iso # Volume with name 'iso' will be used
369 # for store image with cloud-init metadata.
370 capacity: 1
371 format: raw
372 device: cdrom
373 bus: ide
374 cloudinit_meta_data: *cloudinit_meta_data
375 cloudinit_user_data: *cloudinit_user_data_1604
376
377 interfaces: *interfaces
378 network_config: *network_config
379
380 - name: {{ HOSTNAME_CTL03 }}
381 role: salt_minion
382 params:
Dennis Dmitrievb81c4ae2019-04-09 15:46:01 +0300383 vcpu: !os_env SLAVE_NODE_CPU, 4
384 memory: !os_env SLAVE_NODE_MEMORY, 32768
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300385 boot:
386 - hd
387 cloud_init_volume_name: iso
388 cloud_init_iface_up: ens3
389 volumes:
390 - name: system
391 capacity: !os_env NODE_VOLUME_SIZE, 150
392 backing_store: mcp_ubuntu_1604_image
393 format: qcow2
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300394 - name: iso # Volume with name 'iso' will be used
395 # for store image with cloud-init metadata.
396 capacity: 1
397 format: raw
398 device: cdrom
399 bus: ide
400 cloudinit_meta_data: *cloudinit_meta_data
401 cloudinit_user_data: *cloudinit_user_data_1604
402
403 interfaces: *interfaces
404 network_config: *network_config
405
406 - name: {{ HOSTNAME_CMN01 }}
407 role: salt_minion
408 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200409 vcpu: !os_env SLAVE_NODE_CPU, 1
410 memory: !os_env SLAVE_NODE_MEMORY, 4096
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300411 boot:
412 - hd
413 cloud_init_volume_name: iso
414 cloud_init_iface_up: ens3
415 volumes:
416 - name: system
417 capacity: !os_env NODE_VOLUME_SIZE, 150
418 backing_store: cloudimage1604
419 format: qcow2
420 - name: iso # Volume with name 'iso' will be used
421 # for store image with cloud-init metadata.
422 capacity: 1
423 format: raw
424 device: cdrom
425 bus: ide
426 cloudinit_meta_data: *cloudinit_meta_data
427 cloudinit_user_data: *cloudinit_user_data_1604
428
429 interfaces: *interfaces
430 network_config: *network_config
431
432 - name: {{ HOSTNAME_CMN02 }}
433 role: salt_minion
434 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200435 vcpu: !os_env SLAVE_NODE_CPU, 1
436 memory: !os_env SLAVE_NODE_MEMORY, 4096
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300437 boot:
438 - hd
439 cloud_init_volume_name: iso
440 cloud_init_iface_up: ens3
441 volumes:
442 - name: system
443 capacity: !os_env NODE_VOLUME_SIZE, 150
444 backing_store: cloudimage1604
445 format: qcow2
446 - name: iso # Volume with name 'iso' will be used
447 # for store image with cloud-init metadata.
448 capacity: 1
449 format: raw
450 device: cdrom
451 bus: ide
452 cloudinit_meta_data: *cloudinit_meta_data
453 cloudinit_user_data: *cloudinit_user_data_1604
454
455 interfaces: *interfaces
456 network_config: *network_config
457
458 - name: {{ HOSTNAME_CMN03 }}
459 role: salt_minion
460 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200461 vcpu: !os_env SLAVE_NODE_CPU, 1
462 memory: !os_env SLAVE_NODE_MEMORY, 4096
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300463 boot:
464 - hd
465 cloud_init_volume_name: iso
466 cloud_init_iface_up: ens3
467 volumes:
468 - name: system
469 capacity: !os_env NODE_VOLUME_SIZE, 150
470 backing_store: cloudimage1604
471 format: qcow2
472 - name: iso # Volume with name 'iso' will be used
473 # for store image with cloud-init metadata.
474 capacity: 1
475 format: raw
476 device: cdrom
477 bus: ide
478 cloudinit_meta_data: *cloudinit_meta_data
479 cloudinit_user_data: *cloudinit_user_data_1604
480
481 interfaces: *interfaces
482 network_config: *network_config
483
Oleksii Butenkof5c86102018-09-10 13:29:53 +0300484 - name: {{ HOSTNAME_OSD01 }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300485 role: salt_minion
486 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200487 vcpu: !os_env SLAVE_NODE_CPU, 1
488 memory: !os_env SLAVE_NODE_MEMORY, 4096
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300489 boot:
490 - hd
491 cloud_init_volume_name: iso
492 cloud_init_iface_up: ens3
493 volumes:
494 - name: system
495 capacity: !os_env NODE_VOLUME_SIZE, 150
496 backing_store: cloudimage1604
497 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300498 - name: ceph_osd
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300499 capacity: 50
500 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300501 - name: ceph_journal
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300502 capacity: 50
503 format: qcow2
504 - name: iso # Volume with name 'iso' will be used
505 # for store image with cloud-init metadata.
506 capacity: 1
507 format: raw
508 device: cdrom
509 bus: ide
510 cloudinit_meta_data: *cloudinit_meta_data
511 cloudinit_user_data: *cloudinit_user_data_1604
512
513 interfaces: *interfaces
514 network_config: *network_config
515
Oleksii Butenkof5c86102018-09-10 13:29:53 +0300516 - name: {{ HOSTNAME_OSD02 }}
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300517 role: salt_minion
518 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200519 vcpu: !os_env SLAVE_NODE_CPU, 1
520 memory: !os_env SLAVE_NODE_MEMORY, 4096
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300521 boot:
522 - hd
523 cloud_init_volume_name: iso
524 cloud_init_iface_up: ens3
525 volumes:
526 - name: system
527 capacity: !os_env NODE_VOLUME_SIZE, 150
528 backing_store: cloudimage1604
529 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300530 - name: ceph_osd
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300531 capacity: 50
532 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300533 - name: ceph_journal
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300534 capacity: 50
535 format: qcow2
536 - name: iso # Volume with name 'iso' will be used
537 # for store image with cloud-init metadata.
538 capacity: 1
539 format: raw
540 device: cdrom
541 bus: ide
542 cloudinit_meta_data: *cloudinit_meta_data
543 cloudinit_user_data: *cloudinit_user_data_1604
544
545 interfaces: *interfaces
546 network_config: *network_config
547
obutenko78c65572019-02-03 18:35:06 +0200548 - name: {{ HOSTNAME_OSD03 }}
549 role: salt_minion
550 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200551 vcpu: !os_env SLAVE_NODE_CPU, 1
552 memory: !os_env SLAVE_NODE_MEMORY, 4096
obutenko78c65572019-02-03 18:35:06 +0200553 boot:
554 - hd
555 cloud_init_volume_name: iso
556 cloud_init_iface_up: ens3
557 volumes:
558 - name: system
559 capacity: !os_env NODE_VOLUME_SIZE, 150
560 backing_store: cloudimage1604
561 format: qcow2
562 - name: ceph_osd
563 capacity: 50
564 format: qcow2
565 - name: ceph_journal
566 capacity: 50
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
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300580 - name: {{ HOSTNAME_RGW01 }}
581 role: salt_minion
582 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200583 vcpu: !os_env SLAVE_NODE_CPU, 1
584 memory: !os_env SLAVE_NODE_MEMORY, 4096
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300585 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_RGW02 }}
607 role: salt_minion
608 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200609 vcpu: !os_env SLAVE_NODE_CPU, 1
610 memory: !os_env SLAVE_NODE_MEMORY, 4096
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300611 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 - name: {{ HOSTNAME_RGW03 }}
632 role: salt_minion
633 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200634 vcpu: !os_env SLAVE_NODE_CPU, 1
635 memory: !os_env SLAVE_NODE_MEMORY, 4096
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300636 boot:
637 - hd
638 cloud_init_volume_name: iso
639 cloud_init_iface_up: ens3
640 volumes:
641 - name: system
642 capacity: !os_env NODE_VOLUME_SIZE, 150
643 backing_store: cloudimage1604
644 format: qcow2
645 - name: iso # Volume with name 'iso' will be used
646 # for store image with cloud-init metadata.
647 capacity: 1
648 format: raw
649 device: cdrom
650 bus: ide
651 cloudinit_meta_data: *cloudinit_meta_data
652 cloudinit_user_data: *cloudinit_user_data_1604
653
654 interfaces: *interfaces
655 network_config: *network_config
656
657 - name: {{ HOSTNAME_PRX01 }}
658 role: salt_minion
659 params:
660 vcpu: !os_env SLAVE_NODE_CPU, 1
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200661 memory: !os_env SLAVE_NODE_MEMORY, 4096
662 boot:
663 - hd
664 cloud_init_volume_name: iso
665 cloud_init_iface_up: ens3
666 volumes:
667 - name: system
668 capacity: !os_env NODE_VOLUME_SIZE, 150
669 backing_store: mcp_ubuntu_1604_image
670 format: qcow2
671 - name: iso # Volume with name 'iso' will be used
672 # for store image with cloud-init metadata.
673 capacity: 1
674 format: raw
675 device: cdrom
676 bus: ide
677 cloudinit_meta_data: *cloudinit_meta_data
678 cloudinit_user_data: *cloudinit_user_data_1604
679
680 interfaces:
681 - label: ens3
682 l2_network_device: admin
683 interface_model: *interface_model
684 - label: ens4
685 l2_network_device: private
686 interface_model: *interface_model
687 - label: ens5
688 l2_network_device: external
689 interface_model: *interface_model
690 network_config:
691 ens3:
692 networks:
693 - admin
694 ens4:
695 networks:
696 - private
697 ens5:
698 networks:
699 - external
700
701 - name: {{ HOSTNAME_PRX02 }}
702 role: salt_minion
703 params:
704 vcpu: !os_env SLAVE_NODE_CPU, 1
705 memory: !os_env SLAVE_NODE_MEMORY, 4096
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300706 boot:
707 - hd
708 cloud_init_volume_name: iso
709 cloud_init_iface_up: ens3
710 volumes:
711 - name: system
712 capacity: !os_env NODE_VOLUME_SIZE, 150
713 backing_store: mcp_ubuntu_1604_image
714 format: qcow2
715 - name: iso # Volume with name 'iso' will be used
716 # for store image with cloud-init metadata.
717 capacity: 1
718 format: raw
719 device: cdrom
720 bus: ide
721 cloudinit_meta_data: *cloudinit_meta_data
722 cloudinit_user_data: *cloudinit_user_data_1604
723
Tatyana Leontovich924e0002019-01-04 16:20:11 +0200724 interfaces:
725 - label: ens3
726 l2_network_device: admin
727 interface_model: *interface_model
728 - label: ens4
729 l2_network_device: private
730 interface_model: *interface_model
731 - label: ens5
732 l2_network_device: external
733 interface_model: *interface_model
734 network_config:
735 ens3:
736 networks:
737 - admin
738 ens4:
739 networks:
740 - private
741 ens5:
742 networks:
743 - external
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300744
745 - name: {{ HOSTNAME_CMP01 }}
746 role: salt_minion
747 params:
748 vcpu: !os_env SLAVE_NODE_CPU, 3
749 memory: !os_env SLAVE_NODE_MEMORY, 4096
750 boot:
751 - hd
752 cloud_init_volume_name: iso
753 cloud_init_iface_up: ens3
754 volumes:
755 - name: system
756 capacity: !os_env NODE_VOLUME_SIZE, 150
757 backing_store: cloudimage1604
758 format: qcow2
759 - name: iso # Volume with name 'iso' will be used
760 # for store image with cloud-init metadata.
761 capacity: 1
762 format: raw
763 device: cdrom
764 bus: ide
765 cloudinit_meta_data: *cloudinit_meta_data
766 cloudinit_user_data: *cloudinit_user_data_1604
767
768
769 interfaces: &all_interfaces
770 - label: ens3
771 l2_network_device: admin
772 interface_model: *interface_model
773 - label: ens4
774 l2_network_device: private
775 interface_model: *interface_model
776 - label: ens5
777 l2_network_device: tenant
778 interface_model: *interface_model
779 - label: ens6
780 l2_network_device: external
781 interface_model: *interface_model
782 network_config: &all_network_config
783 ens3:
784 networks:
785 - admin
786 ens4:
787 networks:
788 - private
789 ens5:
790 networks:
791 - tenant
792 ens6:
793 networks:
794 - external
795
796 - name: {{ HOSTNAME_CMP02 }}
797 role: salt_minion
798 params:
799 vcpu: !os_env SLAVE_NODE_CPU, 3
800 memory: !os_env SLAVE_NODE_MEMORY, 4096
801 boot:
802 - hd
803 cloud_init_volume_name: iso
804 cloud_init_iface_up: ens3
805 volumes:
806 - name: system
807 capacity: !os_env NODE_VOLUME_SIZE, 150
808 backing_store: cloudimage1604
809 format: qcow2
810 - name: iso # Volume with name 'iso' will be used
811 # for store image with cloud-init metadata.
812 capacity: 1
813 format: raw
814 device: cdrom
815 bus: ide
816 cloudinit_meta_data: *cloudinit_meta_data
817 cloudinit_user_data: *cloudinit_user_data_1604
818
819 interfaces: *all_interfaces
820 network_config: *all_network_config
821
822 - name: {{ HOSTNAME_GTW01 }}
823 role: salt_minion
824 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200825 vcpu: !os_env SLAVE_NODE_CPU, 1
826 memory: !os_env SLAVE_NODE_MEMORY, 4096
Oleksii Butenkoba680de2018-08-23 14:15:19 +0300827 boot:
828 - hd
829 cloud_init_volume_name: iso
830 cloud_init_iface_up: ens3
831 volumes:
832 - name: system
833 capacity: !os_env NODE_VOLUME_SIZE, 150
834 backing_store: cloudimage1604
835 format: qcow2
836 - name: iso # Volume with name 'iso' will be used
837 # for store image with cloud-init metadata.
838 capacity: 1
839 format: raw
840 device: cdrom
841 bus: ide
842 cloudinit_meta_data: *cloudinit_meta_data
843 cloudinit_user_data: *cloudinit_user_data_1604
844
845 interfaces: *all_interfaces
846 network_config: *all_network_config
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200847
848 - name: {{ HOSTNAME_CID01 }}
849 role: salt_minion
850 params:
Tatyana Leontovicheeea7162019-03-04 09:24:19 +0200851 vcpu: {{ os_env('CID_NODE_CPU', 2) }}
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200852 memory: {{ os_env('CID_NODE_MEMORY', 6144) }}
853 boot:
854 - hd
855 cloud_init_volume_name: iso
856 cloud_init_iface_up: ens3
857 volumes:
858 - name: system
859 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
860 backing_store: mcp_ubuntu_1604_image
861 format: qcow2
862 - name: iso # Volume with name 'iso' will be used
863 # for store image with cloud-init metadata.
864 capacity: 1
865 format: raw
866 device: cdrom
867 bus: ide
868 cloudinit_meta_data: *cloudinit_meta_data
869 cloudinit_user_data: *cloudinit_user_data_1604
870
871 interfaces: *interfaces
872 network_config: *network_config
873
874 - name: {{ HOSTNAME_CID02 }}
875 role: salt_minion
876 params:
Tatyana Leontovicheeea7162019-03-04 09:24:19 +0200877 vcpu: {{ os_env('CID_NODE_CPU', 2) }}
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200878 memory: {{ os_env('CID_NODE_MEMORY', 6144) }}
879 boot:
880 - hd
881 cloud_init_volume_name: iso
882 cloud_init_iface_up: ens3
883 volumes:
884 - name: system
885 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
886 backing_store: mcp_ubuntu_1604_image
887 format: qcow2
888 - name: iso # Volume with name 'iso' will be used
889 # for store image with cloud-init metadata.
890 capacity: 1
891 format: raw
892 device: cdrom
893 bus: ide
894 cloudinit_meta_data: *cloudinit_meta_data
895 cloudinit_user_data: *cloudinit_user_data_1604
896
897 interfaces: *interfaces
898 network_config: *network_config
899
900 - name: {{ HOSTNAME_CID03 }}
901 role: salt_minion
902 params:
Tatyana Leontovicheeea7162019-03-04 09:24:19 +0200903 vcpu: {{ os_env('CID_NODE_CPU', 2) }}
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200904 memory: {{ os_env('CID_NODE_MEMORY', 6144) }}
905 boot:
906 - hd
907 cloud_init_volume_name: iso
908 cloud_init_iface_up: ens3
909 volumes:
910 - name: system
911 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
912 backing_store: mcp_ubuntu_1604_image
913 format: qcow2
914 - name: iso # Volume with name 'iso' will be used
915 # for store image with cloud-init metadata.
916 capacity: 1
917 format: raw
918 device: cdrom
919 bus: ide
920 cloudinit_meta_data: *cloudinit_meta_data
921 cloudinit_user_data: *cloudinit_user_data_1604
922
923 interfaces: *interfaces
924 network_config: *network_config
925
926 - name: {{ HOSTNAME_MON01 }}
927 role: salt_minion
928 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200929 vcpu: !os_env SLAVE_NODE_CPU, 1
930 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200931 boot:
932 - hd
933 cloud_init_volume_name: iso
934 cloud_init_iface_up: ens3
935 volumes:
936 - name: system
937 capacity: !os_env NODE_VOLUME_SIZE, 150
938 backing_store: mcp_ubuntu_1604_image
939 format: qcow2
940 - name: iso # Volume with name 'iso' will be used
941 # for store image with cloud-init metadata.
942 capacity: 1
943 format: raw
944 device: cdrom
945 bus: ide
946 cloudinit_meta_data: *cloudinit_meta_data
947 cloudinit_user_data: *cloudinit_user_data_1604
948
949 interfaces: *interfaces
950 network_config: *network_config
951
952 - name: {{ HOSTNAME_MON02 }}
953 role: salt_minion
954 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200955 vcpu: !os_env SLAVE_NODE_CPU, 1
956 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200957 boot:
958 - hd
959 cloud_init_volume_name: iso
960 cloud_init_iface_up: ens3
961 volumes:
962 - name: system
963 capacity: !os_env NODE_VOLUME_SIZE, 150
964 backing_store: mcp_ubuntu_1604_image
965 format: qcow2
966 - name: iso # Volume with name 'iso' will be used
967 # for store image with cloud-init metadata.
968 capacity: 1
969 format: raw
970 device: cdrom
971 bus: ide
972 cloudinit_meta_data: *cloudinit_meta_data
973 cloudinit_user_data: *cloudinit_user_data_1604
974
975 interfaces: *interfaces
976 network_config: *network_config
977
978 - name: {{ HOSTNAME_MON03 }}
979 role: salt_minion
980 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +0200981 vcpu: !os_env SLAVE_NODE_CPU, 1
982 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich6603e902018-12-04 15:11:19 +0200983 boot:
984 - hd
985 cloud_init_volume_name: iso
986 cloud_init_iface_up: ens3
987 volumes:
988 - name: system
989 capacity: !os_env NODE_VOLUME_SIZE, 150
990 backing_store: mcp_ubuntu_1604_image
991 format: qcow2
992 - name: iso # Volume with name 'iso' will be used
993 # for store image with cloud-init metadata.
994 capacity: 1
995 format: raw
996 device: cdrom
997 bus: ide
998 cloudinit_meta_data: *cloudinit_meta_data
999 cloudinit_user_data: *cloudinit_user_data_1604
1000
1001 interfaces: *interfaces
1002 network_config: *network_config
1003
1004 - name: {{ HOSTNAME_LOG01 }}
1005 role: salt_minion
1006 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001007 vcpu: !os_env SLAVE_NODE_CPU, 1
1008 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich6603e902018-12-04 15:11:19 +02001009 boot:
1010 - hd
1011 cloud_init_volume_name: iso
1012 cloud_init_iface_up: ens3
1013 volumes:
1014 - name: system
1015 capacity: !os_env NODE_VOLUME_SIZE, 150
1016 backing_store: mcp_ubuntu_1604_image
1017 format: qcow2
1018 - name: iso # Volume with name 'iso' will be used
1019 # for store image with cloud-init metadata.
1020 capacity: 1
1021 format: raw
1022 device: cdrom
1023 bus: ide
1024 cloudinit_meta_data: *cloudinit_meta_data
1025 cloudinit_user_data: *cloudinit_user_data_1604
1026
1027 interfaces: *interfaces
1028 network_config: *network_config
1029
1030 - name: {{ HOSTNAME_LOG02 }}
1031 role: salt_minion
1032 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001033 vcpu: !os_env SLAVE_NODE_CPU, 1
1034 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich6603e902018-12-04 15:11:19 +02001035 boot:
1036 - hd
1037 cloud_init_volume_name: iso
1038 cloud_init_iface_up: ens3
1039 volumes:
1040 - name: system
1041 capacity: !os_env NODE_VOLUME_SIZE, 150
1042 backing_store: mcp_ubuntu_1604_image
1043 format: qcow2
1044 - name: iso # Volume with name 'iso' will be used
1045 # for store image with cloud-init metadata.
1046 capacity: 1
1047 format: raw
1048 device: cdrom
1049 bus: ide
1050 cloudinit_meta_data: *cloudinit_meta_data
1051 cloudinit_user_data: *cloudinit_user_data_1604
1052
1053 interfaces: *interfaces
1054 network_config: *network_config
1055
1056 - name: {{ HOSTNAME_LOG03 }}
1057 role: salt_minion
1058 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001059 vcpu: !os_env SLAVE_NODE_CPU, 1
1060 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich6603e902018-12-04 15:11:19 +02001061 boot:
1062 - hd
1063 cloud_init_volume_name: iso
1064 cloud_init_iface_up: ens3
1065 volumes:
1066 - name: system
1067 capacity: !os_env NODE_VOLUME_SIZE, 150
1068 backing_store: mcp_ubuntu_1604_image
1069 format: qcow2
1070 - name: iso # Volume with name 'iso' will be used
1071 # for store image with cloud-init metadata.
1072 capacity: 1
1073 format: raw
1074 device: cdrom
1075 bus: ide
1076 cloudinit_meta_data: *cloudinit_meta_data
1077 cloudinit_user_data: *cloudinit_user_data_1604
1078
1079 interfaces: *interfaces
1080 network_config: *network_config
1081
1082 - name: {{ HOSTNAME_MTR01 }}
1083 role: salt_minion
1084 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001085 vcpu: !os_env SLAVE_NODE_CPU, 1
1086 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich6603e902018-12-04 15:11:19 +02001087 boot:
1088 - hd
1089 cloud_init_volume_name: iso
1090 cloud_init_iface_up: ens3
1091 volumes:
1092 - name: system
1093 capacity: !os_env NODE_VOLUME_SIZE, 150
1094 backing_store: mcp_ubuntu_1604_image
1095 format: qcow2
1096 - name: iso # Volume with name 'iso' will be used
1097 # for store image with cloud-init metadata.
1098 capacity: 1
1099 format: raw
1100 device: cdrom
1101 bus: ide
1102 cloudinit_meta_data: *cloudinit_meta_data
1103 cloudinit_user_data: *cloudinit_user_data_1604
1104
1105 interfaces: *interfaces
1106 network_config: *network_config
1107
1108 - name: {{ HOSTNAME_MTR02 }}
1109 role: salt_minion
1110 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001111 vcpu: !os_env SLAVE_NODE_CPU, 1
1112 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich6603e902018-12-04 15:11:19 +02001113 boot:
1114 - hd
1115 cloud_init_volume_name: iso
1116 cloud_init_iface_up: ens3
1117 volumes:
1118 - name: system
1119 capacity: !os_env NODE_VOLUME_SIZE, 150
1120 backing_store: mcp_ubuntu_1604_image
1121 format: qcow2
1122 - name: iso # Volume with name 'iso' will be used
1123 # for store image with cloud-init metadata.
1124 capacity: 1
1125 format: raw
1126 device: cdrom
1127 bus: ide
1128 cloudinit_meta_data: *cloudinit_meta_data
1129 cloudinit_user_data: *cloudinit_user_data_1604
1130
1131 interfaces: *interfaces
1132 network_config: *network_config
1133
1134 - name: {{ HOSTNAME_MTR03 }}
1135 role: salt_minion
1136 params:
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001137 vcpu: !os_env SLAVE_NODE_CPU, 1
1138 memory: !os_env SLAVE_NODE_MEMORY, 4096
Tatyana Leontovich6603e902018-12-04 15:11:19 +02001139 boot:
1140 - hd
1141 cloud_init_volume_name: iso
1142 cloud_init_iface_up: ens3
1143 volumes:
1144 - name: system
1145 capacity: !os_env NODE_VOLUME_SIZE, 150
1146 backing_store: mcp_ubuntu_1604_image
1147 format: qcow2
1148 - name: iso # Volume with name 'iso' will be used
1149 # for store image with cloud-init metadata.
1150 capacity: 1
1151 format: raw
1152 device: cdrom
1153 bus: ide
1154 cloudinit_meta_data: *cloudinit_meta_data
1155 cloudinit_user_data: *cloudinit_user_data_1604
1156
1157 interfaces: *interfaces
1158 network_config: *network_config
Tatyana Leontovich63a2c602019-02-21 13:24:20 +02001159
1160 - name: {{ HOSTNAME_KMN01 }}
1161 role: salt_minion
1162 params:
1163 vcpu: !os_env SLAVE_NODE_CPU, 1
1164 memory: !os_env SLAVE_NODE_MEMORY, 4096
1165 boot:
1166 - hd
1167 cloud_init_volume_name: iso
1168 cloud_init_iface_up: ens3
1169 volumes:
1170 - name: system
1171 capacity: !os_env NODE_VOLUME_SIZE, 150
1172 backing_store: mcp_ubuntu_1604_image
1173 format: qcow2
1174 - name: iso # Volume with name 'iso' will be used
1175 # for store image with cloud-init metadata.
1176 capacity: 1
1177 format: raw
1178 device: cdrom
1179 bus: ide
1180 cloudinit_meta_data: *cloudinit_meta_data
1181 cloudinit_user_data: *cloudinit_user_data_1604
1182
1183 interfaces: *interfaces
1184 network_config: *network_config
1185
1186 - name: {{ HOSTNAME_KMN02 }}
1187 role: salt_minion
1188 params:
1189 vcpu: !os_env SLAVE_NODE_CPU, 1
1190 memory: !os_env SLAVE_NODE_MEMORY, 4096
1191 boot:
1192 - hd
1193 cloud_init_volume_name: iso
1194 cloud_init_iface_up: ens3
1195 volumes:
1196 - name: system
1197 capacity: !os_env NODE_VOLUME_SIZE, 150
1198 backing_store: mcp_ubuntu_1604_image
1199 format: qcow2
1200 - name: iso # Volume with name 'iso' will be used
1201 # for store image with cloud-init metadata.
1202 capacity: 1
1203 format: raw
1204 device: cdrom
1205 bus: ide
1206 cloudinit_meta_data: *cloudinit_meta_data
1207 cloudinit_user_data: *cloudinit_user_data_1604
1208
1209 interfaces: *interfaces
1210 network_config: *network_config
1211
1212 - name: {{ HOSTNAME_KMN03 }}
1213 role: salt_minion
1214 params:
1215 vcpu: !os_env SLAVE_NODE_CPU, 1
1216 memory: !os_env SLAVE_NODE_MEMORY, 4096
1217 boot:
1218 - hd
1219 cloud_init_volume_name: iso
1220 cloud_init_iface_up: ens3
1221 volumes:
1222 - name: system
1223 capacity: !os_env NODE_VOLUME_SIZE, 150
1224 backing_store: mcp_ubuntu_1604_image
1225 format: qcow2
1226 - name: iso # Volume with name 'iso' will be used
1227 # for store image with cloud-init metadata.
1228 capacity: 1
1229 format: raw
1230 device: cdrom
1231 bus: ide
1232 cloudinit_meta_data: *cloudinit_meta_data
1233 cloudinit_user_data: *cloudinit_user_data_1604
1234
1235 interfaces: *interfaces
1236 network_config: *network_config
1237
1238 - name: {{ HOSTNAME_DNS01 }}
1239 role: salt_minion
1240 params:
1241 vcpu: !os_env SLAVE_NODE_CPU, 1
1242 memory: !os_env SLAVE_NODE_MEMORY, 4096
1243 boot:
1244 - hd
1245 cloud_init_volume_name: iso
1246 cloud_init_iface_up: ens3
1247 volumes:
1248 - name: system
1249 capacity: !os_env NODE_VOLUME_SIZE, 150
1250 backing_store: cloudimage1604
1251 format: qcow2
1252 - name: iso # Volume with name 'iso' will be used
1253 # for store image with cloud-init metadata.
1254 capacity: 1
1255 format: raw
1256 device: cdrom
1257 bus: ide
1258 cloudinit_meta_data: *cloudinit_meta_data
1259 cloudinit_user_data: *cloudinit_user_data_1604
1260
1261 interfaces: *interfaces
1262 network_config: *network_config
1263
1264 - name: {{ HOSTNAME_DNS02 }}
1265 role: salt_minion
1266 params:
1267 vcpu: !os_env SLAVE_NODE_CPU, 1
1268 memory: !os_env SLAVE_NODE_MEMORY, 4096
1269 boot:
1270 - hd
1271 cloud_init_volume_name: iso
1272 cloud_init_iface_up: ens3
1273 volumes:
1274 - name: system
1275 capacity: !os_env NODE_VOLUME_SIZE, 150
1276 backing_store: cloudimage1604
1277 format: qcow2
1278 - name: iso # Volume with name 'iso' will be used
1279 # for store image with cloud-init metadata.
1280 capacity: 1
1281 format: raw
1282 device: cdrom
1283 bus: ide
1284 cloudinit_meta_data: *cloudinit_meta_data
1285 cloudinit_user_data: *cloudinit_user_data_1604
1286
1287 interfaces: *interfaces
1288 network_config: *network_config