Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 1 | # 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-sl') %} |
| 5 | {% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %} |
Dennis Dmitriev | 06fac23 | 2018-07-19 13:20:53 +0300 | [diff] [blame] | 6 | {% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01') %} |
| 7 | {% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01') %} |
| 8 | {% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02') %} |
| 9 | {% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03') %} |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 10 | |
Dennis Dmitriev | 06fac23 | 2018-07-19 13:20:53 +0300 | [diff] [blame] | 11 | {% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01') %} |
| 12 | {% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02') %} |
| 13 | {% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03') %} |
| 14 | {% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001') %} |
| 15 | {% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002') %} |
Dennis Dmitriev | eb50ce1 | 2018-09-27 13:34:32 +0300 | [diff] [blame] | 16 | {% set HOSTNAME_CMP03 = os_env('HOSTNAME_CMP03', 'cmp003') %} |
| 17 | {% set HOSTNAME_CMP04 = os_env('HOSTNAME_CMP04', 'cmp004') %} |
Dennis Dmitriev | 06fac23 | 2018-07-19 13:20:53 +0300 | [diff] [blame] | 18 | {% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01') %} |
| 19 | {% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02') %} |
| 20 | {% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03') %} |
| 21 | {% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01') %} |
| 22 | {% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02') %} |
| 23 | {% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03') %} |
| 24 | {% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01') %} |
| 25 | {% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02') %} |
| 26 | {% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03') %} |
| 27 | {% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01') %} |
Dennis Dmitriev | d181ec4 | 2018-11-07 15:15:04 +0200 | [diff] [blame^] | 28 | {% set HOSTNAME_PRX02 = os_env('HOSTNAME_PRX02', 'prx02') %} |
Dennis Dmitriev | 06fac23 | 2018-07-19 13:20:53 +0300 | [diff] [blame] | 29 | {% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01') %} |
| 30 | {% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02') %} |
| 31 | {% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03') %} |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 32 | |
| 33 | {% import 'cookied-cicd-k8s-calico-sl/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %} |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 34 | {% import 'cookied-cicd-k8s-calico-sl/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %} |
| 35 | {% import 'cookied-cicd-k8s-calico-sl/underlay--user-data1604-swp.yaml' as CLOUDINIT_USER_DATA_1604_SWP with context %} |
| 36 | |
| 37 | --- |
| 38 | aliases: |
| 39 | - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }} |
| 40 | - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }} |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 41 | - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }} |
| 42 | - &cloudinit_user_data_1604_swp {{ CLOUDINIT_USER_DATA_1604_SWP }} |
| 43 | |
| 44 | template: |
| 45 | devops_settings: |
| 46 | env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }} |
| 47 | |
| 48 | address_pools: |
| 49 | private-pool01: |
| 50 | net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }} |
| 51 | params: |
| 52 | ip_reserved: |
| 53 | gateway: +1 |
| 54 | l2_network_device: +1 |
| 55 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 56 | |
| 57 | default_{{ HOSTNAME_CID }}: +90 |
| 58 | default_{{ HOSTNAME_CID01 }}: +91 |
| 59 | default_{{ HOSTNAME_CID02 }}: +92 |
| 60 | default_{{ HOSTNAME_CID03 }}: +93 |
Dennis Dmitriev | d181ec4 | 2018-11-07 15:15:04 +0200 | [diff] [blame^] | 61 | default_{{ HOSTNAME_PRX01 }}: +221 |
| 62 | default_{{ HOSTNAME_PRX02 }}: +222 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 63 | |
| 64 | ip_ranges: |
| 65 | dhcp: [+90, -10] |
| 66 | |
| 67 | admin-pool01: |
| 68 | net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }} |
| 69 | params: |
| 70 | ip_reserved: |
| 71 | gateway: +1 |
| 72 | l2_network_device: +1 |
| 73 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 74 | |
| 75 | default_{{ HOSTNAME_CID }}: +90 |
| 76 | default_{{ HOSTNAME_CID01 }}: +91 |
| 77 | default_{{ HOSTNAME_CID02 }}: +92 |
| 78 | default_{{ HOSTNAME_CID03 }}: +93 |
| 79 | |
| 80 | default_{{ HOSTNAME_CTL }}: +10 |
| 81 | default_{{ HOSTNAME_CTL01 }}: +11 |
| 82 | default_{{ HOSTNAME_CTL02 }}: +12 |
| 83 | default_{{ HOSTNAME_CTL03 }}: +13 |
| 84 | default_{{ HOSTNAME_CMP01 }}: +101 |
| 85 | default_{{ HOSTNAME_CMP02 }}: +102 |
Dennis Dmitriev | eb50ce1 | 2018-09-27 13:34:32 +0300 | [diff] [blame] | 86 | default_{{ HOSTNAME_CMP03 }}: +103 |
| 87 | default_{{ HOSTNAME_CMP04 }}: +104 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 88 | default_{{ HOSTNAME_LOG }}: +60 |
| 89 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 90 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 91 | default_{{ HOSTNAME_LOG03 }}: +63 |
| 92 | default_{{ HOSTNAME_MON }}: +70 |
| 93 | default_{{ HOSTNAME_MON01 }}: +71 |
| 94 | default_{{ HOSTNAME_MON02 }}: +72 |
| 95 | default_{{ HOSTNAME_MON03 }}: +73 |
| 96 | default_{{ HOSTNAME_MTR }}: +85 |
| 97 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 98 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 99 | default_{{ HOSTNAME_MTR03 }}: +88 |
Dennis Dmitriev | d181ec4 | 2018-11-07 15:15:04 +0200 | [diff] [blame^] | 100 | default_{{ HOSTNAME_PRX01 }}: +221 |
| 101 | default_{{ HOSTNAME_PRX02 }}: +222 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 102 | default_{{ HOSTNAME_KVM }}: +240 |
| 103 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 104 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 105 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 106 | |
| 107 | ip_ranges: |
| 108 | dhcp: [+90, -10] |
| 109 | |
| 110 | tenant-pool01: |
| 111 | net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }} |
| 112 | params: |
| 113 | ip_reserved: |
| 114 | gateway: +1 |
| 115 | l2_network_device: +1 |
| 116 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 117 | |
| 118 | default_{{ HOSTNAME_CID }}: +90 |
| 119 | default_{{ HOSTNAME_CID01 }}: +91 |
| 120 | default_{{ HOSTNAME_CID02 }}: +92 |
| 121 | default_{{ HOSTNAME_CID03 }}: +93 |
| 122 | |
| 123 | ip_ranges: |
| 124 | dhcp: [+10, -10] |
| 125 | |
| 126 | external-pool01: |
| 127 | net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }} |
| 128 | params: |
| 129 | ip_reserved: |
| 130 | gateway: +1 |
| 131 | l2_network_device: +1 |
| 132 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 133 | |
| 134 | default_{{ HOSTNAME_CID }}: +90 |
| 135 | default_{{ HOSTNAME_CID01 }}: +91 |
| 136 | default_{{ HOSTNAME_CID02 }}: +92 |
| 137 | default_{{ HOSTNAME_CID03 }}: +93 |
Dennis Dmitriev | d181ec4 | 2018-11-07 15:15:04 +0200 | [diff] [blame^] | 138 | default_{{ HOSTNAME_PRX01 }}: +221 |
| 139 | default_{{ HOSTNAME_PRX02 }}: +222 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 140 | |
| 141 | ip_ranges: |
| 142 | dhcp: [+10, -10] |
| 143 | |
| 144 | |
| 145 | groups: |
| 146 | - name: default |
| 147 | driver: |
| 148 | name: devops.driver.libvirt |
| 149 | params: |
| 150 | connection_string: {{ os_env('CONNECTION_STRING', 'qemu:///system') }} |
| 151 | storage_pool_name: {{ os_env('STORAGE_POOL_NAME', 'default') }} |
| 152 | stp: False |
| 153 | hpet: False |
| 154 | enable_acpi: true |
| 155 | use_host_cpu: {{ os_env('DRIVER_USE_HOST_CPU', true) }} |
| 156 | use_hugepages: {{ os_env('DRIVER_USE_HUGEPAGES', false) }} |
| 157 | |
| 158 | network_pools: |
| 159 | admin: admin-pool01 |
| 160 | private: private-pool01 |
| 161 | tenant: tenant-pool01 |
| 162 | external: external-pool01 |
| 163 | |
| 164 | l2_network_devices: |
| 165 | admin: |
| 166 | address_pool: admin-pool01 |
| 167 | dhcp: true |
| 168 | forward: |
| 169 | mode: nat |
| 170 | |
| 171 | private: |
| 172 | address_pool: private-pool01 |
| 173 | dhcp: false |
| 174 | forward: |
| 175 | mode: route |
| 176 | |
| 177 | external: |
| 178 | address_pool: external-pool01 |
| 179 | dhcp: false |
| 180 | forward: |
| 181 | mode: nat |
| 182 | |
| 183 | |
| 184 | group_volumes: |
| 185 | - name: cfg01_day01_image # Pre-configured day01 image |
| 186 | source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604 |
| 187 | format: qcow2 |
| 188 | - name: mcp_ubuntu_1604_image # Pre-configured image for VCP nodes initially based on kvm nodes. |
| 189 | # http://images.mirantis.com/ubuntu-16-04-x64-latest.qcow2 (preffered) |
| 190 | # or |
| 191 | # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img |
| 192 | source_image: {{ os_env('MCP_IMAGE_PATH1604') }} |
| 193 | format: qcow2 |
| 194 | |
| 195 | nodes: |
| 196 | - name: {{ HOSTNAME_CFG01 }} |
| 197 | role: salt_master |
| 198 | params: |
| 199 | vcpu: {{ os_env('CFG_NODE_CPU', 3) }} |
| 200 | memory: {{ os_env('CFG_NODE_MEMORY', 8192) }} |
| 201 | boot: |
| 202 | - hd |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 203 | volumes: |
| 204 | - name: system |
| 205 | capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }} |
| 206 | backing_store: cfg01_day01_image |
| 207 | format: qcow2 |
| 208 | - name: config |
| 209 | capacity: 1 |
| 210 | format: raw |
| 211 | device: cdrom |
| 212 | bus: ide |
| 213 | # source_image: !os_env CFG01_CONFIG_PATH # no source image required. |
| 214 | # it will be uploaded after config drive generation |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 215 | interfaces: |
| 216 | - label: ens3 |
| 217 | l2_network_device: admin |
| 218 | interface_model: *interface_model |
| 219 | - label: ens4 |
| 220 | l2_network_device: private |
| 221 | interface_model: *interface_model |
| 222 | network_config: |
| 223 | ens3: |
| 224 | networks: |
| 225 | - admin |
| 226 | ens4: |
| 227 | networks: |
| 228 | - private |
| 229 | |
| 230 | - name: {{ HOSTNAME_KVM01 }} |
| 231 | role: salt_minion |
| 232 | params: |
| 233 | vcpu: {{ os_env('KVM_NODE_CPU', 1) }} |
| 234 | memory: {{ os_env('KVM_NODE_MEMORY', 1024) }} |
| 235 | boot: |
| 236 | - hd |
| 237 | cloud_init_volume_name: iso |
| 238 | cloud_init_iface_up: ens3 |
| 239 | volumes: |
| 240 | - name: system |
| 241 | capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }} |
| 242 | backing_store: mcp_ubuntu_1604_image |
| 243 | format: qcow2 |
| 244 | - name: iso # Volume with name 'iso' will be used |
| 245 | # for store image with cloud-init metadata. |
| 246 | capacity: 1 |
| 247 | format: raw |
| 248 | device: cdrom |
| 249 | bus: ide |
| 250 | cloudinit_meta_data: *cloudinit_meta_data |
| 251 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 252 | |
| 253 | interfaces: &interfaces |
| 254 | - label: ens3 |
| 255 | l2_network_device: admin |
| 256 | interface_model: *interface_model |
| 257 | - label: ens4 |
| 258 | l2_network_device: private |
| 259 | interface_model: *interface_model |
| 260 | network_config: &network_config |
| 261 | ens3: |
| 262 | networks: |
| 263 | - admin |
| 264 | ens4: |
| 265 | networks: |
| 266 | - private |
| 267 | |
| 268 | - name: {{ HOSTNAME_KVM02 }} |
| 269 | role: salt_minion |
| 270 | params: |
| 271 | vcpu: {{ os_env('KVM_NODE_CPU', 1) }} |
| 272 | memory: {{ os_env('KVM_NODE_MEMORY', 1024) }} |
| 273 | boot: |
| 274 | - hd |
| 275 | cloud_init_volume_name: iso |
| 276 | cloud_init_iface_up: ens3 |
| 277 | volumes: |
| 278 | - name: system |
| 279 | capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }} |
| 280 | backing_store: mcp_ubuntu_1604_image |
| 281 | format: qcow2 |
| 282 | - name: iso # Volume with name 'iso' will be used |
| 283 | # for store image with cloud-init metadata. |
| 284 | capacity: 1 |
| 285 | format: raw |
| 286 | device: cdrom |
| 287 | bus: ide |
| 288 | cloudinit_meta_data: *cloudinit_meta_data |
| 289 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 290 | |
| 291 | interfaces: *interfaces |
| 292 | network_config: *network_config |
| 293 | |
| 294 | - name: {{ HOSTNAME_KVM03 }} |
| 295 | role: salt_minion |
| 296 | params: |
| 297 | vcpu: {{ os_env('KVM_NODE_CPU', 1) }} |
| 298 | memory: {{ os_env('KVM_NODE_MEMORY', 1024) }} |
| 299 | boot: |
| 300 | - hd |
| 301 | cloud_init_volume_name: iso |
| 302 | cloud_init_iface_up: ens3 |
| 303 | volumes: |
| 304 | - name: system |
| 305 | capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }} |
| 306 | backing_store: mcp_ubuntu_1604_image |
| 307 | format: qcow2 |
| 308 | - name: iso # Volume with name 'iso' will be used |
| 309 | # for store image with cloud-init metadata. |
| 310 | capacity: 1 |
| 311 | format: raw |
| 312 | device: cdrom |
| 313 | bus: ide |
| 314 | cloudinit_meta_data: *cloudinit_meta_data |
| 315 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 316 | |
| 317 | interfaces: *interfaces |
| 318 | network_config: *network_config |
| 319 | |
| 320 | - name: {{ HOSTNAME_CID01 }} |
| 321 | role: salt_minion |
| 322 | params: |
| 323 | vcpu: {{ os_env('CID_NODE_CPU', 3) }} |
| 324 | memory: {{ os_env('CID_NODE_MEMORY', 8192) }} |
| 325 | boot: |
| 326 | - hd |
| 327 | cloud_init_volume_name: iso |
| 328 | cloud_init_iface_up: ens3 |
| 329 | volumes: |
| 330 | - name: system |
| 331 | capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }} |
| 332 | backing_store: mcp_ubuntu_1604_image |
| 333 | format: qcow2 |
| 334 | - name: iso # Volume with name 'iso' will be used |
| 335 | # for store image with cloud-init metadata. |
| 336 | capacity: 1 |
| 337 | format: raw |
| 338 | device: cdrom |
| 339 | bus: ide |
| 340 | cloudinit_meta_data: *cloudinit_meta_data |
| 341 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 342 | |
| 343 | interfaces: *interfaces |
| 344 | network_config: *network_config |
| 345 | |
| 346 | - name: {{ HOSTNAME_CID02 }} |
| 347 | role: salt_minion |
| 348 | params: |
| 349 | vcpu: {{ os_env('CID_NODE_CPU', 3) }} |
| 350 | memory: {{ os_env('CID_NODE_MEMORY', 8192) }} |
| 351 | boot: |
| 352 | - hd |
| 353 | cloud_init_volume_name: iso |
| 354 | cloud_init_iface_up: ens3 |
| 355 | volumes: |
| 356 | - name: system |
| 357 | capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }} |
| 358 | backing_store: mcp_ubuntu_1604_image |
| 359 | format: qcow2 |
| 360 | - name: iso # Volume with name 'iso' will be used |
| 361 | # for store image with cloud-init metadata. |
| 362 | capacity: 1 |
| 363 | format: raw |
| 364 | device: cdrom |
| 365 | bus: ide |
| 366 | cloudinit_meta_data: *cloudinit_meta_data |
| 367 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 368 | |
| 369 | interfaces: *interfaces |
| 370 | network_config: *network_config |
| 371 | |
| 372 | - name: {{ HOSTNAME_CID03 }} |
| 373 | role: salt_minion |
| 374 | params: |
| 375 | vcpu: {{ os_env('CID_NODE_CPU', 3) }} |
| 376 | memory: {{ os_env('CID_NODE_MEMORY', 8192) }} |
| 377 | boot: |
| 378 | - hd |
| 379 | cloud_init_volume_name: iso |
| 380 | cloud_init_iface_up: ens3 |
| 381 | volumes: |
| 382 | - name: system |
| 383 | capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }} |
| 384 | backing_store: mcp_ubuntu_1604_image |
| 385 | format: qcow2 |
| 386 | - name: iso # Volume with name 'iso' will be used |
| 387 | # for store image with cloud-init metadata. |
| 388 | capacity: 1 |
| 389 | format: raw |
| 390 | device: cdrom |
| 391 | bus: ide |
| 392 | cloudinit_meta_data: *cloudinit_meta_data |
| 393 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 394 | |
| 395 | interfaces: *interfaces |
| 396 | network_config: *network_config |
| 397 | |
| 398 | - name: {{ HOSTNAME_CTL01 }} |
| 399 | role: k8s_controller |
| 400 | params: |
| 401 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | eb50ce1 | 2018-09-27 13:34:32 +0300 | [diff] [blame] | 402 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 403 | boot: |
| 404 | - hd |
| 405 | cloud_init_volume_name: iso |
| 406 | cloud_init_iface_up: ens3 |
| 407 | volumes: |
| 408 | - name: system |
| 409 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 410 | backing_store: mcp_ubuntu_1604_image |
| 411 | format: qcow2 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 412 | - name: iso # Volume with name 'iso' will be used |
| 413 | # for store image with cloud-init metadata. |
| 414 | capacity: 1 |
| 415 | format: raw |
| 416 | device: cdrom |
| 417 | bus: ide |
| 418 | cloudinit_meta_data: *cloudinit_meta_data |
| 419 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 420 | |
| 421 | interfaces: *interfaces |
| 422 | network_config: *network_config |
| 423 | |
| 424 | - name: {{ HOSTNAME_CTL02 }} |
| 425 | role: salt_minion |
| 426 | params: |
| 427 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | eb50ce1 | 2018-09-27 13:34:32 +0300 | [diff] [blame] | 428 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 429 | boot: |
| 430 | - hd |
| 431 | cloud_init_volume_name: iso |
| 432 | cloud_init_iface_up: ens3 |
| 433 | volumes: |
| 434 | - name: system |
| 435 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 436 | backing_store: mcp_ubuntu_1604_image |
| 437 | format: qcow2 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 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 Dmitriev | eb50ce1 | 2018-09-27 13:34:32 +0300 | [diff] [blame] | 454 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 455 | 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 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 464 | - name: iso # Volume with name 'iso' will be used |
| 465 | # for store image with cloud-init metadata. |
| 466 | capacity: 1 |
| 467 | format: raw |
| 468 | device: cdrom |
| 469 | bus: ide |
| 470 | cloudinit_meta_data: *cloudinit_meta_data |
| 471 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 472 | |
| 473 | interfaces: *interfaces |
| 474 | network_config: *network_config |
| 475 | |
| 476 | - name: {{ HOSTNAME_CMP01 }} |
| 477 | role: salt_minion |
| 478 | params: |
| 479 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | eb50ce1 | 2018-09-27 13:34:32 +0300 | [diff] [blame] | 480 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 481 | boot: |
| 482 | - hd |
| 483 | cloud_init_volume_name: iso |
| 484 | cloud_init_iface_up: ens3 |
| 485 | volumes: |
| 486 | - name: system |
| 487 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 488 | backing_store: mcp_ubuntu_1604_image |
| 489 | format: qcow2 |
| 490 | - name: iso # Volume with name 'iso' will be used |
| 491 | # for store image with cloud-init metadata. |
| 492 | capacity: 1 |
| 493 | format: raw |
| 494 | device: cdrom |
| 495 | bus: ide |
| 496 | cloudinit_meta_data: *cloudinit_meta_data |
| 497 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 498 | |
| 499 | interfaces: *interfaces |
| 500 | network_config: *network_config |
| 501 | |
| 502 | - name: {{ HOSTNAME_CMP02 }} |
| 503 | role: salt_minion |
| 504 | params: |
| 505 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | eb50ce1 | 2018-09-27 13:34:32 +0300 | [diff] [blame] | 506 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 507 | boot: |
| 508 | - hd |
| 509 | cloud_init_volume_name: iso |
| 510 | cloud_init_iface_up: ens3 |
| 511 | volumes: |
| 512 | - name: system |
| 513 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 514 | backing_store: mcp_ubuntu_1604_image |
| 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: *interfaces |
| 526 | network_config: *network_config |
| 527 | |
| 528 | - name: {{ HOSTNAME_CMP03 }} |
| 529 | role: salt_minion |
| 530 | params: |
| 531 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 532 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 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: mcp_ubuntu_1604_image |
| 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: *interfaces |
| 552 | network_config: *network_config |
| 553 | |
| 554 | - name: {{ HOSTNAME_CMP04 }} |
| 555 | role: salt_minion |
| 556 | params: |
| 557 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 558 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Dennis Dmitriev | 0f624a8 | 2018-06-11 12:57:13 +0300 | [diff] [blame] | 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: mcp_ubuntu_1604_image |
| 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_MON01 }} |
| 581 | role: salt_minion |
| 582 | params: |
| 583 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 584 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 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: mcp_ubuntu_1604_image |
| 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_swp |
| 602 | |
| 603 | interfaces: *interfaces |
| 604 | network_config: *network_config |
| 605 | |
| 606 | - name: {{ HOSTNAME_MON02 }} |
| 607 | role: salt_minion |
| 608 | params: |
| 609 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 610 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 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: mcp_ubuntu_1604_image |
| 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_swp |
| 628 | |
| 629 | interfaces: *interfaces |
| 630 | network_config: *network_config |
| 631 | |
| 632 | - name: {{ HOSTNAME_MON03 }} |
| 633 | role: salt_minion |
| 634 | params: |
| 635 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 636 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 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: mcp_ubuntu_1604_image |
| 645 | format: qcow2 |
| 646 | - name: iso # Volume with name 'iso' will be used |
| 647 | # for store image with cloud-init metadata. |
| 648 | capacity: 1 |
| 649 | format: raw |
| 650 | device: cdrom |
| 651 | bus: ide |
| 652 | cloudinit_meta_data: *cloudinit_meta_data |
| 653 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 654 | |
| 655 | interfaces: *interfaces |
| 656 | network_config: *network_config |
| 657 | |
| 658 | - name: {{ HOSTNAME_LOG01 }} |
| 659 | role: salt_minion |
| 660 | params: |
| 661 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 662 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 663 | boot: |
| 664 | - hd |
| 665 | cloud_init_volume_name: iso |
| 666 | cloud_init_iface_up: ens3 |
| 667 | volumes: |
| 668 | - name: system |
| 669 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 670 | backing_store: mcp_ubuntu_1604_image |
| 671 | format: qcow2 |
| 672 | - name: iso # Volume with name 'iso' will be used |
| 673 | # for store image with cloud-init metadata. |
| 674 | capacity: 1 |
| 675 | format: raw |
| 676 | device: cdrom |
| 677 | bus: ide |
| 678 | cloudinit_meta_data: *cloudinit_meta_data |
| 679 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 680 | |
| 681 | interfaces: *interfaces |
| 682 | network_config: *network_config |
| 683 | |
| 684 | - name: {{ HOSTNAME_LOG02 }} |
| 685 | role: salt_minion |
| 686 | params: |
| 687 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 688 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 689 | boot: |
| 690 | - hd |
| 691 | cloud_init_volume_name: iso |
| 692 | cloud_init_iface_up: ens3 |
| 693 | volumes: |
| 694 | - name: system |
| 695 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 696 | backing_store: mcp_ubuntu_1604_image |
| 697 | format: qcow2 |
| 698 | - name: iso # Volume with name 'iso' will be used |
| 699 | # for store image with cloud-init metadata. |
| 700 | capacity: 1 |
| 701 | format: raw |
| 702 | device: cdrom |
| 703 | bus: ide |
| 704 | cloudinit_meta_data: *cloudinit_meta_data |
| 705 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 706 | |
| 707 | interfaces: *interfaces |
| 708 | network_config: *network_config |
| 709 | |
| 710 | - name: {{ HOSTNAME_LOG03 }} |
| 711 | role: salt_minion |
| 712 | params: |
| 713 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 714 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 715 | boot: |
| 716 | - hd |
| 717 | cloud_init_volume_name: iso |
| 718 | cloud_init_iface_up: ens3 |
| 719 | volumes: |
| 720 | - name: system |
| 721 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 722 | backing_store: mcp_ubuntu_1604_image |
| 723 | format: qcow2 |
| 724 | - name: iso # Volume with name 'iso' will be used |
| 725 | # for store image with cloud-init metadata. |
| 726 | capacity: 1 |
| 727 | format: raw |
| 728 | device: cdrom |
| 729 | bus: ide |
| 730 | cloudinit_meta_data: *cloudinit_meta_data |
| 731 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 732 | |
| 733 | interfaces: *interfaces |
| 734 | network_config: *network_config |
| 735 | |
| 736 | - name: {{ HOSTNAME_MTR01 }} |
| 737 | role: salt_minion |
| 738 | params: |
| 739 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 740 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 741 | boot: |
| 742 | - hd |
| 743 | cloud_init_volume_name: iso |
| 744 | cloud_init_iface_up: ens3 |
| 745 | volumes: |
| 746 | - name: system |
| 747 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 748 | backing_store: mcp_ubuntu_1604_image |
| 749 | format: qcow2 |
| 750 | - name: iso # Volume with name 'iso' will be used |
| 751 | # for store image with cloud-init metadata. |
| 752 | capacity: 1 |
| 753 | format: raw |
| 754 | device: cdrom |
| 755 | bus: ide |
| 756 | cloudinit_meta_data: *cloudinit_meta_data |
| 757 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 758 | |
| 759 | interfaces: *interfaces |
| 760 | network_config: *network_config |
| 761 | |
| 762 | - name: {{ HOSTNAME_MTR02 }} |
| 763 | role: salt_minion |
| 764 | params: |
| 765 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 766 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 767 | boot: |
| 768 | - hd |
| 769 | cloud_init_volume_name: iso |
| 770 | cloud_init_iface_up: ens3 |
| 771 | volumes: |
| 772 | - name: system |
| 773 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 774 | backing_store: mcp_ubuntu_1604_image |
| 775 | format: qcow2 |
| 776 | - name: iso # Volume with name 'iso' will be used |
| 777 | # for store image with cloud-init metadata. |
| 778 | capacity: 1 |
| 779 | format: raw |
| 780 | device: cdrom |
| 781 | bus: ide |
| 782 | cloudinit_meta_data: *cloudinit_meta_data |
| 783 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 784 | |
| 785 | interfaces: *interfaces |
| 786 | network_config: *network_config |
| 787 | |
| 788 | - name: {{ HOSTNAME_MTR03 }} |
| 789 | role: salt_minion |
| 790 | params: |
| 791 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 792 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 793 | boot: |
| 794 | - hd |
| 795 | cloud_init_volume_name: iso |
| 796 | cloud_init_iface_up: ens3 |
| 797 | volumes: |
| 798 | - name: system |
| 799 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 800 | backing_store: mcp_ubuntu_1604_image |
| 801 | format: qcow2 |
| 802 | - name: iso # Volume with name 'iso' will be used |
| 803 | # for store image with cloud-init metadata. |
| 804 | capacity: 1 |
| 805 | format: raw |
| 806 | device: cdrom |
| 807 | bus: ide |
| 808 | cloudinit_meta_data: *cloudinit_meta_data |
| 809 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 810 | |
| 811 | interfaces: *interfaces |
| 812 | network_config: *network_config |
Dennis Dmitriev | d181ec4 | 2018-11-07 15:15:04 +0200 | [diff] [blame^] | 813 | |
| 814 | - name: {{ HOSTNAME_PRX01 }} |
| 815 | role: salt_minion |
| 816 | params: |
| 817 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 818 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 819 | boot: |
| 820 | - hd |
| 821 | cloud_init_volume_name: iso |
| 822 | cloud_init_iface_up: ens3 |
| 823 | volumes: |
| 824 | - name: system |
| 825 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 826 | backing_store: mcp_ubuntu_1604_image |
| 827 | format: qcow2 |
| 828 | - name: iso # Volume with name 'iso' will be used |
| 829 | # for store image with cloud-init metadata. |
| 830 | capacity: 1 |
| 831 | format: raw |
| 832 | device: cdrom |
| 833 | bus: ide |
| 834 | cloudinit_meta_data: *cloudinit_meta_data |
| 835 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 836 | |
| 837 | interfaces: *interfaces |
| 838 | network_config: *network_config |
| 839 | |
| 840 | - name: {{ HOSTNAME_PRX02 }} |
| 841 | role: salt_minion |
| 842 | params: |
| 843 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 844 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 845 | boot: |
| 846 | - hd |
| 847 | cloud_init_volume_name: iso |
| 848 | cloud_init_iface_up: ens3 |
| 849 | volumes: |
| 850 | - name: system |
| 851 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 852 | backing_store: mcp_ubuntu_1604_image |
| 853 | format: qcow2 |
| 854 | - name: iso # Volume with name 'iso' will be used |
| 855 | # for store image with cloud-init metadata. |
| 856 | capacity: 1 |
| 857 | format: raw |
| 858 | device: cdrom |
| 859 | bus: ide |
| 860 | cloudinit_meta_data: *cloudinit_meta_data |
| 861 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 862 | |
| 863 | interfaces: *interfaces |
| 864 | network_config: *network_config |