Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 1 | resource_registry: |
| 2 | "MCP2::NetworkAcc": ../fragments/NetworkAccBM.yaml |
| 3 | "MCP2::NetworkAccStorage": ../fragments/NetworkAccVMStorage.yaml |
| 4 | "MCP2::NetworkPrvFl": ../fragments/NetworkPrvFl.yaml |
Vasyl Saienko | ad3a3a6 | 2020-05-14 16:52:52 +0300 | [diff] [blame] | 5 | "MCP2::NetworkIronicFlat": ../fragments/NetworkIronicFlat.yaml |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 6 | "MCP2::SrvInstances": ../fragments/SrvInstancesBM.yaml |
| 7 | "MCP2::SrvInstancesCeph": ../fragments/SrvInstancesBMCeph.yaml |
| 8 | "MCP2::SrvInstancesCephOSD": ../fragments/SrvInstancesBMCephOSD.yaml |
| 9 | |
| 10 | parameters: |
| 11 | image: bionic-server-cloudimg-amd64-20190612 |
| 12 | ucp_flavor: si-bm-410-128-16-hdd0-ssd2x1t |
| 13 | masters_flavor: si-bm-410-128-16-hdd0-ssd2x1t |
| 14 | workers_flavor: si-bm-410-128-32-hdd0-ssd2x1t |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 15 | cmps_flavor: si-bm-410-128-16-hdd0-ssd1x500g |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 16 | gtws_flavor: oscore-bm-lab-01 |
| 17 | lmas_flavor: oscore-bm-lab-01 |
| 18 | osds_flavor: si-bm-410-64-16-hdd2x2t-ssd1x500g |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 19 | spares_flavor: si-bm-410-64-16-hdd2x2t-ssd1x500g-spare |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 20 | masters_size: 2 # UCP nodes |
| 21 | worker_size: 3 # OpenStack controller nodes |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 22 | cmp_size: 3 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 23 | gtw_size: 0 |
| 24 | lma_size: 0 |
| 25 | osd_size: 3 |
| 26 | spare_size: 1 |
| 27 | ucp_boot_timeout: 1200 |
| 28 | cluster_public_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCp0evjOaK8c8SKYK4r2+0BN7g+8YSvQ2n8nFgOURCyvkJqOHi1qPGZmuN0CclYVdVuZiXbWw3VxRbSW3EH736VzgY1U0JmoTiSamzLHaWsXvEIW8VCi7boli539QJP0ikJiBaNAgZILyCrVPN+A6mfqtacs1KXdZ0zlMq1BPtFciR1JTCRcVs5vP2Wwz5QtY2jMIh3aiwkePjMTQPcfmh1TkOlxYu5IbQyZ3G1ahA0mNKI9a0dtF282av/F6pwB/N1R1nEZ/9VtcN2I1mf1NW/tTHEEcTzXYo1R/8K9vlqAN8QvvGLZtZduGviNVNoNWvoxaXxDt8CPv2B2NCdQFZp |
| 29 | public_net_id: 'physnet1-410' |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 30 | control_network_cidr: '172.16.50.128/25' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 31 | private_floating_network_cidr: '172.16.51.0/25' |
| 32 | private_floating_network_pool_start: '172.16.51.10' |
| 33 | private_floating_network_pool_end: '172.16.51.30' |
| 34 | private_floating_network_ipam_pool_start: '172.16.51.31' |
| 35 | private_floating_network_ipam_pool_end: '172.16.51.62' |
| 36 | private_floating_network_gateway: '172.16.51.1' |
Vasyl Saienko | c943f43 | 2020-04-21 12:15:57 +0300 | [diff] [blame] | 37 | private_floating_network_interface: 'os-floating' |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 38 | metallb_address_pools: [ '172.16.51.130-172.16.51.250' ] |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 39 | private_floating_interface: 'os-floating' |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 40 | storage_frontend_interface: 'ceph-control' |
| 41 | storage_backend_interface: 'ceph-replica' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 42 | tunnel_interface: 'os-tenant' |
| 43 | live_migration_interface: 'os-tenant' |
Vasyl Saienko | 73082e5 | 2020-04-03 18:52:57 +0300 | [diff] [blame] | 44 | worker_metadata: {"labels": {"openstack-control-plane":"enabled", "openvswitch":"enabled", "openstack-gateway": "enabled","local-volume-provisioner": "enabled","role": "stacklight", "stacklight": "enabled"}} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 45 | cmp_metadata: {"labels": {"openstack-compute-node":"enabled","openvswitch":"enabled"}} |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 46 | osd_metadata: {"labels": {"role": "ceph-osd-node"}} |
| 47 | spare_metadata: {"labels": {"role": "spare-node"}} |
| 48 | |
| 49 | |
| 50 | hardware_metadata: | |
| 51 | '0c:c4:7a:33:26:7c': |
| 52 | write_files: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 53 | - path: /usr/share/metadata/ceph.yaml |
| 54 | content: | |
| 55 | storageDevices: |
| 56 | - name: sdb |
| 57 | role: hdd |
| 58 | sizeGb: 500 |
| 59 | - name: sdc |
| 60 | role: hdd |
| 61 | sizeGb: 500 |
| 62 | ramGb: 64 |
| 63 | cores: 12 |
| 64 | ips: |
| 65 | - 192.168.122.101 |
| 66 | crushPath: {} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 67 | - path: '/etc/netplan/99-cz7714-osd.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 68 | content: | |
| 69 | network: |
| 70 | version: 2 |
| 71 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 72 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 73 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 74 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 75 | ens3f1: *mtu9100 |
| 76 | ens3f2: *mtu9100 |
| 77 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 78 | bonds: |
| 79 | bond0: |
| 80 | dhcp4: no |
| 81 | interfaces: [eno1, ens3f1] |
| 82 | parameters: |
| 83 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 84 | mii-monitor-interval: 1000 |
| 85 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 86 | bond1: |
| 87 | dhcp4: no |
| 88 | interfaces: [ens3f2, ens3f3] |
| 89 | parameters: |
| 90 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 91 | mii-monitor-interval: 1000 |
| 92 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 93 | vlans: |
| 94 | k8s-control: |
| 95 | id: 411 |
| 96 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 97 | addresses: |
| 98 | - 172.16.50.130/25 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 99 | os-floating: |
| 100 | id: 412 |
| 101 | link: bond1 |
| 102 | k8s-metallb: |
| 103 | id: 413 |
| 104 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 105 | management: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 106 | id: 414 |
| 107 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 108 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 109 | id: 415 |
| 110 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 111 | addresses: |
| 112 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 113 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 114 | os-tenant: |
| 115 | id: 416 |
| 116 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 117 | addresses: |
| 118 | - 10.14.0.10/24 |
| 119 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 120 | ceph-replica: |
| 121 | id: 417 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 122 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 123 | addresses: |
| 124 | - {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 125 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 126 | |
| 127 | '0c:c4:7a:33:26:6e': |
| 128 | write_files: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 129 | - path: /usr/share/metadata/ceph.yaml |
| 130 | content: | |
| 131 | storageDevices: |
| 132 | - name: sdb |
| 133 | role: hdd |
| 134 | sizeGb: 500 |
| 135 | - name: sdc |
| 136 | role: hdd |
| 137 | sizeGb: 500 |
| 138 | ramGb: 64 |
| 139 | cores: 12 |
| 140 | ips: |
| 141 | - 192.168.122.102 |
| 142 | crushPath: {} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 143 | - path: '/etc/netplan/99-cz7725-osd.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 144 | content: | |
| 145 | network: |
| 146 | version: 2 |
| 147 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 148 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 149 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 150 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 151 | ens3f1: *mtu9100 |
| 152 | ens3f2: *mtu9100 |
| 153 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 154 | bonds: |
| 155 | bond0: |
| 156 | dhcp4: no |
| 157 | interfaces: [eno1, ens3f1] |
| 158 | parameters: |
| 159 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 160 | mii-monitor-interval: 1000 |
| 161 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 162 | bond1: |
| 163 | dhcp4: no |
| 164 | interfaces: [ens3f2, ens3f3] |
| 165 | parameters: |
| 166 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 167 | mii-monitor-interval: 1000 |
| 168 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 169 | vlans: |
| 170 | k8s-control: |
| 171 | id: 411 |
| 172 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 173 | addresses: |
| 174 | - 172.16.50.131/25 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 175 | os-floating: |
| 176 | id: 412 |
| 177 | link: bond1 |
| 178 | k8s-metallb: |
| 179 | id: 413 |
| 180 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 181 | management: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 182 | id: 414 |
| 183 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 184 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 185 | id: 415 |
| 186 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 187 | addresses: |
| 188 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 189 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 190 | os-tenant: |
| 191 | id: 416 |
| 192 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 193 | addresses: |
| 194 | - 10.14.0.11/24 |
| 195 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 196 | ceph-replica: |
| 197 | id: 417 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 198 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 199 | addresses: |
| 200 | - {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 201 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 202 | |
| 203 | '0c:c4:7a:33:26:6a': |
| 204 | write_files: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 205 | - path: /usr/share/metadata/ceph.yaml |
| 206 | content: | |
| 207 | storageDevices: |
| 208 | - name: sdb |
| 209 | role: hdd |
| 210 | sizeGb: 500 |
| 211 | - name: sdc |
| 212 | role: hdd |
| 213 | sizeGb: 500 |
| 214 | ramGb: 64 |
| 215 | cores: 12 |
| 216 | ips: |
| 217 | - 192.168.122.103 |
| 218 | crushPath: {} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 219 | - path: '/etc/netplan/99-cz7726-osd.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 220 | content: | |
| 221 | network: |
| 222 | version: 2 |
| 223 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 224 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 225 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 226 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 227 | ens3f1: *mtu9100 |
| 228 | ens3f2: *mtu9100 |
| 229 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 230 | bonds: |
| 231 | bond0: |
| 232 | dhcp4: no |
| 233 | interfaces: [eno1, ens3f1] |
| 234 | parameters: |
| 235 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 236 | mii-monitor-interval: 1000 |
| 237 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 238 | bond1: |
| 239 | dhcp4: no |
| 240 | interfaces: [ens3f2, ens3f3] |
| 241 | parameters: |
| 242 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 243 | mii-monitor-interval: 1000 |
| 244 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 245 | vlans: |
| 246 | k8s-control: |
| 247 | id: 411 |
| 248 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 249 | addresses: |
| 250 | - 172.16.50.132/25 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 251 | os-floating: |
| 252 | id: 412 |
| 253 | link: bond1 |
| 254 | k8s-metallb: |
| 255 | id: 413 |
| 256 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 257 | management: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 258 | id: 414 |
| 259 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 260 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 261 | id: 415 |
| 262 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 263 | addresses: |
| 264 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 265 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 266 | os-tenant: |
| 267 | id: 416 |
| 268 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 269 | addresses: |
| 270 | - 10.14.0.12/24 |
| 271 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 272 | ceph-replica: |
| 273 | id: 417 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 274 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 275 | addresses: |
| 276 | - {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 277 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 278 | |
| 279 | '0c:c4:7a:34:92:94': |
| 280 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 281 | - path: '/etc/netplan/99-cz7727-spare.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 282 | content: | |
| 283 | network: |
| 284 | version: 2 |
| 285 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 286 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 287 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 288 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 289 | ens3f1: *mtu9100 |
| 290 | ens3f2: *mtu9100 |
| 291 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 292 | bonds: |
| 293 | bond0: |
| 294 | dhcp4: no |
| 295 | interfaces: [eno1, ens3f1] |
| 296 | parameters: |
| 297 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 298 | mii-monitor-interval: 1000 |
| 299 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 300 | bond1: |
| 301 | dhcp4: no |
| 302 | interfaces: [ens3f2, ens3f3] |
| 303 | parameters: |
| 304 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 305 | mii-monitor-interval: 1000 |
| 306 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 307 | vlans: |
| 308 | k8s-control: |
| 309 | id: 411 |
| 310 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 311 | addresses: |
| 312 | - 172.16.50.133/25 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 313 | os-floating: |
| 314 | id: 412 |
| 315 | link: bond1 |
| 316 | k8s-metallb: |
| 317 | id: 413 |
| 318 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 319 | management: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 320 | id: 414 |
| 321 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 322 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 323 | id: 415 |
| 324 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 325 | addresses: |
| 326 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 327 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 328 | os-tenant: |
| 329 | id: 416 |
| 330 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 331 | addresses: |
| 332 | - 10.14.0.13/24 |
| 333 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 334 | ceph-replica: |
| 335 | id: 417 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 336 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 337 | addresses: |
| 338 | - {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 339 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 340 | |
| 341 | '0c:c4:7a:aa:e0:9e': |
| 342 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 343 | - path: '/etc/netplan/99-cz10095-os-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 344 | content: | |
| 345 | network: |
| 346 | version: 2 |
| 347 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 348 | ens11f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 349 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 350 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 351 | ens11f1: *mtu9100 |
| 352 | ens11f2: *mtu9100 |
| 353 | ens11f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 354 | bonds: |
| 355 | bond0: |
| 356 | dhcp4: no |
| 357 | interfaces: [ens11f0, ens11f1] |
| 358 | parameters: |
| 359 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 360 | mii-monitor-interval: 1000 |
| 361 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 362 | bond1: |
| 363 | dhcp4: no |
| 364 | interfaces: [ens11f2, ens11f3] |
| 365 | parameters: |
| 366 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 367 | mii-monitor-interval: 1000 |
| 368 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 369 | vlans: |
| 370 | k8s-control: |
| 371 | id: 411 |
| 372 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 373 | addresses: |
| 374 | - 172.16.50.134/25 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 375 | os-floating: |
| 376 | id: 412 |
| 377 | link: bond1 |
| 378 | k8s-metallb: |
| 379 | id: 413 |
| 380 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 381 | management: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 382 | id: 414 |
| 383 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 384 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 385 | id: 415 |
| 386 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 387 | addresses: |
| 388 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 389 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 390 | os-tenant: |
| 391 | id: 416 |
| 392 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 393 | addresses: |
| 394 | - 10.14.0.14/24 |
| 395 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 396 | |
| 397 | '0c:c4:7a:aa:e0:9c': |
| 398 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 399 | - path: '/etc/netplan/99-cz10096-os-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 400 | content: | |
| 401 | network: |
| 402 | version: 2 |
| 403 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 404 | ens11f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 405 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 406 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 407 | ens11f1: *mtu9100 |
| 408 | ens11f2: *mtu9100 |
| 409 | ens11f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 410 | bonds: |
| 411 | bond0: |
| 412 | dhcp4: no |
| 413 | interfaces: [ens11f0, ens11f1] |
| 414 | parameters: |
| 415 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 416 | mii-monitor-interval: 1000 |
| 417 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 418 | bond1: |
| 419 | dhcp4: no |
| 420 | interfaces: [ens11f2, ens11f3] |
| 421 | parameters: |
| 422 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 423 | mii-monitor-interval: 1000 |
| 424 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 425 | vlans: |
| 426 | k8s-control: |
| 427 | id: 411 |
| 428 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 429 | addresses: |
| 430 | - 172.16.50.135/25 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 431 | os-floating: |
| 432 | id: 412 |
| 433 | link: bond1 |
| 434 | k8s-metallb: |
| 435 | id: 413 |
| 436 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 437 | management: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 438 | id: 414 |
| 439 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 440 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 441 | id: 415 |
| 442 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 443 | addresses: |
| 444 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 445 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 446 | os-tenant: |
| 447 | id: 416 |
| 448 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 449 | addresses: |
| 450 | - 10.14.0.15/24 |
| 451 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 452 | |
| 453 | '0c:c4:7a:aa:78:2c': |
| 454 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 455 | - path: '/etc/netplan/99-cz10097-os-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 456 | content: | |
| 457 | network: |
| 458 | version: 2 |
| 459 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 460 | ens11f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 461 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 462 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 463 | ens11f1: *mtu9100 |
| 464 | ens11f2: *mtu9100 |
| 465 | ens11f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 466 | bonds: |
| 467 | bond0: |
| 468 | dhcp4: no |
| 469 | interfaces: [ens11f0, ens11f1] |
| 470 | parameters: |
| 471 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 472 | mii-monitor-interval: 1000 |
| 473 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 474 | bond1: |
| 475 | dhcp4: no |
| 476 | interfaces: [ens11f2, ens11f3] |
| 477 | parameters: |
| 478 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 479 | mii-monitor-interval: 1000 |
| 480 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 481 | vlans: |
| 482 | k8s-control: |
| 483 | id: 411 |
| 484 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 485 | addresses: |
| 486 | - 172.16.50.136/25 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 487 | os-floating: |
| 488 | id: 412 |
| 489 | link: bond1 |
| 490 | k8s-metallb: |
| 491 | id: 413 |
| 492 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 493 | management: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 494 | id: 414 |
| 495 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 496 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 497 | id: 415 |
| 498 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 499 | addresses: |
| 500 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 501 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 502 | os-tenant: |
| 503 | id: 416 |
| 504 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 505 | addresses: |
| 506 | - 10.14.0.16/24 |
| 507 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 508 | |
| 509 | '0c:c4:7a:aa:78:7a': |
| 510 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 511 | - path: '/etc/netplan/99-cz10098-ucp-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 512 | content: | |
| 513 | network: |
| 514 | version: 2 |
| 515 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 516 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 517 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 518 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 519 | ens4f1: *mtu9100 |
| 520 | ens4f2: *mtu9100 |
| 521 | ens4f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 522 | bonds: |
| 523 | bond0: |
| 524 | dhcp4: no |
| 525 | interfaces: [eno1, ens4f1] |
| 526 | parameters: |
| 527 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 528 | mii-monitor-interval: 1000 |
| 529 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 530 | bond1: |
| 531 | dhcp4: no |
| 532 | interfaces: [ens4f2, ens4f3] |
| 533 | parameters: |
| 534 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 535 | mii-monitor-interval: 1000 |
| 536 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 537 | vlans: |
| 538 | k8s-control: |
| 539 | id: 411 |
| 540 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 541 | addresses: |
| 542 | # Hardcoded IP for the UCP node (when UCP_MASTER_HOST is empty), to replace PXE with k8s_control IP |
| 543 | - {% if UCP_MASTER_HOST == "" %}172.16.50.254/25{% else %}172.16.50.137/25{% endif %} |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 544 | os-floating: |
| 545 | id: 412 |
| 546 | link: bond1 |
| 547 | k8s-metallb: |
| 548 | id: 413 |
| 549 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 550 | management: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 551 | id: 414 |
| 552 | link: bond0 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 553 | |
| 554 | '0c:c4:7a:aa:e0:98': |
| 555 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 556 | - path: '/etc/netplan/99-cz10099-ucp-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 557 | content: | |
| 558 | network: |
| 559 | version: 2 |
| 560 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 561 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 562 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 563 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 564 | ens4f1: *mtu9100 |
| 565 | ens4f2: *mtu9100 |
| 566 | ens4f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 567 | bonds: |
| 568 | bond0: |
| 569 | dhcp4: no |
| 570 | interfaces: [eno1, ens4f1] |
| 571 | parameters: |
| 572 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 573 | mii-monitor-interval: 1000 |
| 574 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 575 | bond1: |
| 576 | dhcp4: no |
| 577 | interfaces: [ens4f2, ens4f3] |
| 578 | parameters: |
| 579 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 580 | mii-monitor-interval: 1000 |
| 581 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 582 | vlans: |
| 583 | k8s-control: |
| 584 | id: 411 |
| 585 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 586 | addresses: |
| 587 | # Hardcoded IP for the UCP node (when UCP_MASTER_HOST is empty), to replace PXE with k8s_control IP |
| 588 | - {% if UCP_MASTER_HOST == "" %}172.16.50.254/25{% else %}172.16.50.138/25{% endif %} |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 589 | os-floating: |
| 590 | id: 412 |
| 591 | link: bond1 |
| 592 | k8s-metallb: |
| 593 | id: 413 |
| 594 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 595 | management: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 596 | id: 414 |
| 597 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 598 | |
| 599 | '0c:c4:7a:aa:78:7c': |
| 600 | write_files: |
| 601 | - path: '/etc/netplan/99-cz10100-ucp-control.yaml' |
| 602 | content: | |
| 603 | network: |
| 604 | version: 2 |
| 605 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 606 | eno1: &mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 607 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 608 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 609 | ens4f1: *mtu9100 |
| 610 | ens4f2: *mtu9100 |
| 611 | ens4f3: *mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 612 | bonds: |
| 613 | bond0: |
| 614 | dhcp4: no |
| 615 | interfaces: [eno1, ens4f1] |
| 616 | parameters: |
| 617 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 618 | mii-monitor-interval: 1000 |
| 619 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 620 | bond1: |
| 621 | dhcp4: no |
| 622 | interfaces: [ens4f2, ens4f3] |
| 623 | parameters: |
| 624 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 625 | mii-monitor-interval: 1000 |
| 626 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 627 | vlans: |
| 628 | k8s-control: |
| 629 | id: 411 |
| 630 | link: bond0 |
| 631 | addresses: |
| 632 | # Hardcoded IP for the UCP node (when UCP_MASTER_HOST is empty), to replace PXE with k8s_control IP |
| 633 | - {% if UCP_MASTER_HOST == "" %}172.16.50.254/25{% else %}172.16.50.139/25{% endif %} |
| 634 | os-floating: |
| 635 | id: 412 |
| 636 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 637 | k8s-metallb: |
| 638 | id: 413 |
| 639 | link: bond0 |
| 640 | management: |
| 641 | id: 414 |
| 642 | link: bond0 |
| 643 | |
| 644 | '0c:c4:7a:55:6a:28': |
| 645 | write_files: |
| 646 | - path: '/etc/netplan/99-cz7636-os-compute.yaml' |
| 647 | content: | |
| 648 | network: |
| 649 | version: 2 |
| 650 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 651 | enp3s0f0: &mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 652 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 653 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 654 | enp3s0f1: *mtu9100 |
| 655 | enp3s0f2: *mtu9100 |
| 656 | enp3s0f3: *mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 657 | bonds: |
| 658 | bond0: |
| 659 | dhcp4: no |
| 660 | interfaces: [enp3s0f0, enp3s0f1] |
| 661 | parameters: |
| 662 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 663 | mii-monitor-interval: 1000 |
| 664 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 665 | bond1: |
| 666 | dhcp4: no |
| 667 | interfaces: [enp3s0f2, enp3s0f3] |
| 668 | parameters: |
| 669 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 670 | mii-monitor-interval: 1000 |
| 671 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 672 | vlans: |
| 673 | k8s-control: |
| 674 | id: 411 |
| 675 | link: bond0 |
| 676 | addresses: |
| 677 | - 172.16.50.140/25 |
| 678 | os-floating: |
| 679 | id: 412 |
| 680 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 681 | k8s-metallb: |
| 682 | id: 413 |
| 683 | link: bond0 |
| 684 | management: |
| 685 | id: 414 |
| 686 | link: bond0 |
| 687 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 688 | id: 415 |
| 689 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 690 | addresses: |
| 691 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 692 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 693 | os-tenant: |
| 694 | id: 416 |
| 695 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 696 | addresses: |
| 697 | - 10.14.0.17/24 |
| 698 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 699 | |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 700 | '0c:c4:7a:54:a2:5e': |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 701 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 702 | - path: '/etc/netplan/99-cz7641-os-compute.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 703 | content: | |
| 704 | network: |
| 705 | version: 2 |
| 706 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 707 | enp3s0f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 708 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 709 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 710 | enp3s0f1: *mtu9100 |
| 711 | enp3s0f2: *mtu9100 |
| 712 | enp3s0f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 713 | bonds: |
| 714 | bond0: |
| 715 | dhcp4: no |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 716 | interfaces: [enp3s0f0, enp3s0f1] |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 717 | parameters: |
| 718 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 719 | mii-monitor-interval: 1000 |
| 720 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 721 | bond1: |
| 722 | dhcp4: no |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 723 | interfaces: [enp3s0f2, enp3s0f3] |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 724 | parameters: |
| 725 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 726 | mii-monitor-interval: 1000 |
| 727 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 728 | vlans: |
| 729 | k8s-control: |
| 730 | id: 411 |
| 731 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 732 | addresses: |
| 733 | - 172.16.50.141/25 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 734 | os-floating: |
| 735 | id: 412 |
| 736 | link: bond1 |
| 737 | k8s-metallb: |
| 738 | id: 413 |
| 739 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 740 | management: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 741 | id: 414 |
| 742 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 743 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 744 | id: 415 |
| 745 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 746 | addresses: |
| 747 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 748 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 749 | os-tenant: |
| 750 | id: 416 |
| 751 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 752 | addresses: |
| 753 | - 10.14.0.18/24 |
| 754 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 755 | |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 756 | '0c:c4:7a:54:a0:50': |
| 757 | write_files: |
| 758 | - path: '/etc/netplan/99-cz7642-os-compute.yaml' |
| 759 | content: | |
| 760 | network: |
| 761 | version: 2 |
| 762 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 763 | enp3s0f0: &mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 764 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 765 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 766 | enp3s0f1: *mtu9100 |
| 767 | enp3s0f2: *mtu9100 |
| 768 | enp3s0f3: *mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 769 | bonds: |
| 770 | bond0: |
| 771 | dhcp4: no |
| 772 | interfaces: [enp3s0f0, enp3s0f1] |
| 773 | parameters: |
| 774 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 775 | mii-monitor-interval: 1000 |
| 776 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 777 | bond1: |
| 778 | dhcp4: no |
| 779 | interfaces: [enp3s0f2, enp3s0f3] |
| 780 | parameters: |
| 781 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 782 | mii-monitor-interval: 1000 |
| 783 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 784 | vlans: |
| 785 | k8s-control: |
| 786 | id: 411 |
| 787 | link: bond0 |
| 788 | addresses: |
| 789 | - 172.16.50.142/25 |
| 790 | os-floating: |
| 791 | id: 412 |
| 792 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 793 | k8s-metallb: |
| 794 | id: 413 |
| 795 | link: bond0 |
| 796 | management: |
| 797 | id: 414 |
| 798 | link: bond0 |
| 799 | ceph-control: |
| 800 | id: 415 |
| 801 | link: bond1 |
| 802 | addresses: |
| 803 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 804 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 805 | os-tenant: |
| 806 | id: 416 |
| 807 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 808 | addresses: |
| 809 | - 10.14.0.19/24 |
| 810 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 811 | |
| 812 | |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 813 | functions_override: | |
| 814 | |
| 815 | function network_config { |
| 816 | |
| 817 | DEBIAN_FRONTEND=noninteractive apt -y install bridge-utils ifenslave vlan |
| 818 | sudo modprobe bonding |
| 819 | netplan --debug apply |
| 820 | sleep 15 |
| 821 | |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 822 | # Re-init the variables related to the just configured k8s-control network |
| 823 | CONTROL_IP_ADDRESS=$(ip route get ${CONTROL_NETWORK_CIDR%/*} | head -n1 | fgrep -v ' via ' | awk '/ src / {print $6}') |
| 824 | |
| 825 | #UCP_MASTER_HOST=${UCP_MASTER_HOST:-${CONTROL_IP_ADDRESS}} |
| 826 | # Hardcoded IP for the UCP node because the servers output contain PXE IP instead of k8s_control IP |
| 827 | UCP_MASTER_HOST=172.16.50.254 |
| 828 | UCP_IP_ADDRESS=${UCP_IP_ADDRESS:-$CONTROL_IP_ADDRESS} |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 829 | } |