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 | |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 49 | hardware_metadata: | |
| 50 | '0c:c4:7a:33:26:7c': |
| 51 | write_files: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 52 | - path: /usr/share/metadata/ceph.yaml |
| 53 | content: | |
| 54 | storageDevices: |
| 55 | - name: sdb |
| 56 | role: hdd |
| 57 | sizeGb: 500 |
| 58 | - name: sdc |
| 59 | role: hdd |
| 60 | sizeGb: 500 |
| 61 | ramGb: 64 |
| 62 | cores: 12 |
| 63 | ips: |
| 64 | - 192.168.122.101 |
| 65 | crushPath: {} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 66 | - path: '/etc/netplan/99-cz7714-osd.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 67 | content: | |
| 68 | network: |
| 69 | version: 2 |
| 70 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 71 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 72 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 73 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 74 | ens3f1: *mtu9100 |
| 75 | ens3f2: *mtu9100 |
| 76 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 77 | bonds: |
| 78 | bond0: |
| 79 | dhcp4: no |
| 80 | interfaces: [eno1, ens3f1] |
| 81 | parameters: |
| 82 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 83 | mii-monitor-interval: 1000 |
| 84 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 85 | bond1: |
| 86 | dhcp4: no |
| 87 | interfaces: [ens3f2, ens3f3] |
| 88 | parameters: |
| 89 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 90 | mii-monitor-interval: 1000 |
| 91 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 92 | vlans: |
| 93 | k8s-control: |
| 94 | id: 411 |
| 95 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 96 | addresses: |
| 97 | - 172.16.50.130/25 |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 98 | os-floating: { id: 412, link: bond1 } |
| 99 | k8s-metallb: { id: 413, link: bond0 } |
| 100 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 101 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 102 | id: 415 |
| 103 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 104 | addresses: |
| 105 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 106 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 107 | os-tenant: |
| 108 | id: 416 |
| 109 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 110 | addresses: |
| 111 | - 10.14.0.10/24 |
| 112 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 113 | ceph-replica: |
| 114 | id: 417 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 115 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 116 | addresses: |
| 117 | - {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 118 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 119 | '0c:c4:7a:33:26:6e': |
| 120 | write_files: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 121 | - path: /usr/share/metadata/ceph.yaml |
| 122 | content: | |
| 123 | storageDevices: |
| 124 | - name: sdb |
| 125 | role: hdd |
| 126 | sizeGb: 500 |
| 127 | - name: sdc |
| 128 | role: hdd |
| 129 | sizeGb: 500 |
| 130 | ramGb: 64 |
| 131 | cores: 12 |
| 132 | ips: |
| 133 | - 192.168.122.102 |
| 134 | crushPath: {} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 135 | - path: '/etc/netplan/99-cz7725-osd.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 136 | content: | |
| 137 | network: |
| 138 | version: 2 |
| 139 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 140 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 141 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 142 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 143 | ens3f1: *mtu9100 |
| 144 | ens3f2: *mtu9100 |
| 145 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 146 | bonds: |
| 147 | bond0: |
| 148 | dhcp4: no |
| 149 | interfaces: [eno1, ens3f1] |
| 150 | parameters: |
| 151 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 152 | mii-monitor-interval: 1000 |
| 153 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 154 | bond1: |
| 155 | dhcp4: no |
| 156 | interfaces: [ens3f2, ens3f3] |
| 157 | parameters: |
| 158 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 159 | mii-monitor-interval: 1000 |
| 160 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 161 | vlans: |
| 162 | k8s-control: |
| 163 | id: 411 |
| 164 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 165 | addresses: |
| 166 | - 172.16.50.131/25 |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 167 | os-floating: { id: 412, link: bond1 } |
| 168 | k8s-metallb: { id: 413, link: bond0 } |
| 169 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 170 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 171 | id: 415 |
| 172 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 173 | addresses: |
| 174 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 175 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 176 | os-tenant: |
| 177 | id: 416 |
| 178 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 179 | addresses: |
| 180 | - 10.14.0.11/24 |
| 181 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 182 | ceph-replica: |
| 183 | id: 417 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 184 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 185 | addresses: |
| 186 | - {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 187 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 188 | '0c:c4:7a:33:26:6a': |
| 189 | write_files: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 190 | - path: /usr/share/metadata/ceph.yaml |
| 191 | content: | |
| 192 | storageDevices: |
| 193 | - name: sdb |
| 194 | role: hdd |
| 195 | sizeGb: 500 |
| 196 | - name: sdc |
| 197 | role: hdd |
| 198 | sizeGb: 500 |
| 199 | ramGb: 64 |
| 200 | cores: 12 |
| 201 | ips: |
| 202 | - 192.168.122.103 |
| 203 | crushPath: {} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 204 | - path: '/etc/netplan/99-cz7726-osd.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 205 | content: | |
| 206 | network: |
| 207 | version: 2 |
| 208 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 209 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 210 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 211 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 212 | ens3f1: *mtu9100 |
| 213 | ens3f2: *mtu9100 |
| 214 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 215 | bonds: |
| 216 | bond0: |
| 217 | dhcp4: no |
| 218 | interfaces: [eno1, ens3f1] |
| 219 | parameters: |
| 220 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 221 | mii-monitor-interval: 1000 |
| 222 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 223 | bond1: |
| 224 | dhcp4: no |
| 225 | interfaces: [ens3f2, ens3f3] |
| 226 | parameters: |
| 227 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 228 | mii-monitor-interval: 1000 |
| 229 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 230 | vlans: |
| 231 | k8s-control: |
| 232 | id: 411 |
| 233 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 234 | addresses: |
| 235 | - 172.16.50.132/25 |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 236 | os-floating: { id: 412, link: bond1 } |
| 237 | k8s-metallb: { id: 413, link: bond0 } |
| 238 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 239 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 240 | id: 415 |
| 241 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 242 | addresses: |
| 243 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 244 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 245 | os-tenant: |
| 246 | id: 416 |
| 247 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 248 | addresses: |
| 249 | - 10.14.0.12/24 |
| 250 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 251 | ceph-replica: |
| 252 | id: 417 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 253 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 254 | addresses: |
| 255 | - {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 256 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 257 | '0c:c4:7a:34:92:94': |
| 258 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 259 | - path: '/etc/netplan/99-cz7727-spare.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 260 | content: | |
| 261 | network: |
| 262 | version: 2 |
| 263 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 264 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 265 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 266 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 267 | ens3f1: *mtu9100 |
| 268 | ens3f2: *mtu9100 |
| 269 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 270 | bonds: |
| 271 | bond0: |
| 272 | dhcp4: no |
| 273 | interfaces: [eno1, ens3f1] |
| 274 | parameters: |
| 275 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 276 | mii-monitor-interval: 1000 |
| 277 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 278 | bond1: |
| 279 | dhcp4: no |
| 280 | interfaces: [ens3f2, ens3f3] |
| 281 | parameters: |
| 282 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 283 | mii-monitor-interval: 1000 |
| 284 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 285 | vlans: |
| 286 | k8s-control: |
| 287 | id: 411 |
| 288 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 289 | addresses: |
| 290 | - 172.16.50.133/25 |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 291 | os-floating: { id: 412, link: bond1 } |
| 292 | k8s-metallb: { id: 413, link: bond0 } |
| 293 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 294 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 295 | id: 415 |
| 296 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 297 | addresses: |
| 298 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 299 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 300 | os-tenant: |
| 301 | id: 416 |
| 302 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 303 | addresses: |
| 304 | - 10.14.0.13/24 |
| 305 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 306 | ceph-replica: |
| 307 | id: 417 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 308 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 309 | addresses: |
| 310 | - {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 311 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 312 | '0c:c4:7a:aa:e0:9e': |
| 313 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 314 | - path: '/etc/netplan/99-cz10095-os-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 315 | content: | |
| 316 | network: |
| 317 | version: 2 |
| 318 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 319 | ens11f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 320 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 321 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 322 | ens11f1: *mtu9100 |
| 323 | ens11f2: *mtu9100 |
| 324 | ens11f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 325 | bonds: |
| 326 | bond0: |
| 327 | dhcp4: no |
| 328 | interfaces: [ens11f0, ens11f1] |
| 329 | parameters: |
| 330 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 331 | mii-monitor-interval: 1000 |
| 332 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 333 | bond1: |
| 334 | dhcp4: no |
| 335 | interfaces: [ens11f2, ens11f3] |
| 336 | parameters: |
| 337 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 338 | mii-monitor-interval: 1000 |
| 339 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 340 | vlans: |
| 341 | k8s-control: |
| 342 | id: 411 |
| 343 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 344 | addresses: |
| 345 | - 172.16.50.134/25 |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 346 | os-floating: { id: 412, link: bond1 } |
| 347 | k8s-metallb: { id: 413, link: bond0 } |
| 348 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 349 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 350 | id: 415 |
| 351 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 352 | addresses: |
| 353 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 354 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 355 | os-tenant: |
| 356 | id: 416 |
| 357 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 358 | addresses: |
| 359 | - 10.14.0.14/24 |
| 360 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 361 | '0c:c4:7a:aa:e0:9c': |
| 362 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 363 | - path: '/etc/netplan/99-cz10096-os-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 364 | content: | |
| 365 | network: |
| 366 | version: 2 |
| 367 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 368 | ens11f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 369 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 370 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 371 | ens11f1: *mtu9100 |
| 372 | ens11f2: *mtu9100 |
| 373 | ens11f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 374 | bonds: |
| 375 | bond0: |
| 376 | dhcp4: no |
| 377 | interfaces: [ens11f0, ens11f1] |
| 378 | parameters: |
| 379 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 380 | mii-monitor-interval: 1000 |
| 381 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 382 | bond1: |
| 383 | dhcp4: no |
| 384 | interfaces: [ens11f2, ens11f3] |
| 385 | parameters: |
| 386 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 387 | mii-monitor-interval: 1000 |
| 388 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 389 | vlans: |
| 390 | k8s-control: |
| 391 | id: 411 |
| 392 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 393 | addresses: |
| 394 | - 172.16.50.135/25 |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 395 | os-floating: { id: 412, link: bond1 } |
| 396 | k8s-metallb: { id: 413, link: bond0 } |
| 397 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 398 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 399 | id: 415 |
| 400 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 401 | addresses: |
| 402 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 403 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 404 | os-tenant: |
| 405 | id: 416 |
| 406 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 407 | addresses: |
| 408 | - 10.14.0.15/24 |
| 409 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 410 | '0c:c4:7a:aa:78:2c': |
| 411 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 412 | - path: '/etc/netplan/99-cz10097-os-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 413 | content: | |
| 414 | network: |
| 415 | version: 2 |
| 416 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 417 | ens11f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 418 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 419 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 420 | ens11f1: *mtu9100 |
| 421 | ens11f2: *mtu9100 |
| 422 | ens11f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 423 | bonds: |
| 424 | bond0: |
| 425 | dhcp4: no |
| 426 | interfaces: [ens11f0, ens11f1] |
| 427 | parameters: |
| 428 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 429 | mii-monitor-interval: 1000 |
| 430 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 431 | bond1: |
| 432 | dhcp4: no |
| 433 | interfaces: [ens11f2, ens11f3] |
| 434 | parameters: |
| 435 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 436 | mii-monitor-interval: 1000 |
| 437 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 438 | vlans: |
| 439 | k8s-control: |
| 440 | id: 411 |
| 441 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 442 | addresses: |
| 443 | - 172.16.50.136/25 |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 444 | os-floating: { id: 412, link: bond1 } |
| 445 | k8s-metallb: { id: 413, link: bond0 } |
| 446 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 447 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 448 | id: 415 |
| 449 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 450 | addresses: |
| 451 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 452 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 453 | os-tenant: |
| 454 | id: 416 |
| 455 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 456 | addresses: |
| 457 | - 10.14.0.16/24 |
| 458 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 459 | '0c:c4:7a:aa:78:7a': |
| 460 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 461 | - path: '/etc/netplan/99-cz10098-ucp-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 462 | content: | |
| 463 | network: |
| 464 | version: 2 |
| 465 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 466 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 467 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 468 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 469 | ens4f1: *mtu9100 |
| 470 | ens4f2: *mtu9100 |
| 471 | ens4f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 472 | bonds: |
| 473 | bond0: |
| 474 | dhcp4: no |
| 475 | interfaces: [eno1, ens4f1] |
| 476 | parameters: |
| 477 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 478 | mii-monitor-interval: 1000 |
| 479 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 480 | bond1: |
| 481 | dhcp4: no |
| 482 | interfaces: [ens4f2, ens4f3] |
| 483 | parameters: |
| 484 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 485 | mii-monitor-interval: 1000 |
| 486 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 487 | vlans: |
| 488 | k8s-control: |
| 489 | id: 411 |
| 490 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 491 | addresses: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 492 | - {% if UCP_MASTER_HOST == "" %}172.16.50.254/25{% else %}172.16.50.137/25{% endif %} |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 493 | os-floating: { id: 412, link: bond1 } |
| 494 | k8s-metallb: { id: 413, link: bond0 } |
| 495 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 496 | '0c:c4:7a:aa:e0:98': |
| 497 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 498 | - path: '/etc/netplan/99-cz10099-ucp-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 499 | content: | |
| 500 | network: |
| 501 | version: 2 |
| 502 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 503 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 504 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 505 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 506 | ens4f1: *mtu9100 |
| 507 | ens4f2: *mtu9100 |
| 508 | ens4f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 509 | bonds: |
| 510 | bond0: |
| 511 | dhcp4: no |
| 512 | interfaces: [eno1, ens4f1] |
| 513 | parameters: |
| 514 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 515 | mii-monitor-interval: 1000 |
| 516 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 517 | bond1: |
| 518 | dhcp4: no |
| 519 | interfaces: [ens4f2, ens4f3] |
| 520 | parameters: |
| 521 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 522 | mii-monitor-interval: 1000 |
| 523 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 524 | vlans: |
| 525 | k8s-control: |
| 526 | id: 411 |
| 527 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 528 | addresses: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 529 | - {% if UCP_MASTER_HOST == "" %}172.16.50.254/25{% else %}172.16.50.138/25{% endif %} |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 530 | os-floating: { id: 412, link: bond1 } |
| 531 | k8s-metallb: { id: 413, link: bond0 } |
| 532 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 533 | '0c:c4:7a:aa:78:7c': |
| 534 | write_files: |
| 535 | - path: '/etc/netplan/99-cz10100-ucp-control.yaml' |
| 536 | content: | |
| 537 | network: |
| 538 | version: 2 |
| 539 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 540 | eno1: &mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 541 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 542 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 543 | ens4f1: *mtu9100 |
| 544 | ens4f2: *mtu9100 |
| 545 | ens4f3: *mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 546 | bonds: |
| 547 | bond0: |
| 548 | dhcp4: no |
| 549 | interfaces: [eno1, ens4f1] |
| 550 | parameters: |
| 551 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 552 | mii-monitor-interval: 1000 |
| 553 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 554 | bond1: |
| 555 | dhcp4: no |
| 556 | interfaces: [ens4f2, ens4f3] |
| 557 | parameters: |
| 558 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 559 | mii-monitor-interval: 1000 |
| 560 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 561 | vlans: |
| 562 | k8s-control: |
| 563 | id: 411 |
| 564 | link: bond0 |
| 565 | addresses: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 566 | - {% if UCP_MASTER_HOST == "" %}172.16.50.254/25{% else %}172.16.50.139/25{% endif %} |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 567 | os-floating: { id: 412, link: bond1 } |
| 568 | k8s-metallb: { id: 413, link: bond0 } |
| 569 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 570 | '0c:c4:7a:55:6a:28': |
| 571 | write_files: |
| 572 | - path: '/etc/netplan/99-cz7636-os-compute.yaml' |
| 573 | content: | |
| 574 | network: |
| 575 | version: 2 |
| 576 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 577 | enp3s0f0: &mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 578 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 579 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 580 | enp3s0f1: *mtu9100 |
| 581 | enp3s0f2: *mtu9100 |
| 582 | enp3s0f3: *mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 583 | bonds: |
| 584 | bond0: |
| 585 | dhcp4: no |
| 586 | interfaces: [enp3s0f0, enp3s0f1] |
| 587 | parameters: |
| 588 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 589 | mii-monitor-interval: 1000 |
| 590 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 591 | bond1: |
| 592 | dhcp4: no |
| 593 | interfaces: [enp3s0f2, enp3s0f3] |
| 594 | parameters: |
| 595 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 596 | mii-monitor-interval: 1000 |
| 597 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 598 | vlans: |
| 599 | k8s-control: |
| 600 | id: 411 |
| 601 | link: bond0 |
| 602 | addresses: |
| 603 | - 172.16.50.140/25 |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 604 | os-floating: { id: 412, link: bond1 } |
| 605 | k8s-metallb: { id: 413, link: bond0 } |
| 606 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 607 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 608 | id: 415 |
| 609 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 610 | addresses: |
| 611 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 612 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 613 | os-tenant: |
| 614 | id: 416 |
| 615 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 616 | addresses: |
| 617 | - 10.14.0.17/24 |
| 618 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 619 | '0c:c4:7a:54:a2:5e': |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 620 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 621 | - path: '/etc/netplan/99-cz7641-os-compute.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 622 | content: | |
| 623 | network: |
| 624 | version: 2 |
| 625 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 626 | enp3s0f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 627 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 628 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 629 | enp3s0f1: *mtu9100 |
| 630 | enp3s0f2: *mtu9100 |
| 631 | enp3s0f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 632 | bonds: |
| 633 | bond0: |
| 634 | dhcp4: no |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 635 | interfaces: [enp3s0f0, enp3s0f1] |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 636 | parameters: |
| 637 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 638 | mii-monitor-interval: 1000 |
| 639 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 640 | bond1: |
| 641 | dhcp4: no |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 642 | interfaces: [enp3s0f2, enp3s0f3] |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 643 | parameters: |
| 644 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 645 | mii-monitor-interval: 1000 |
| 646 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 647 | vlans: |
| 648 | k8s-control: |
| 649 | id: 411 |
| 650 | link: bond0 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 651 | addresses: |
| 652 | - 172.16.50.141/25 |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 653 | os-floating: { id: 412, link: bond1 } |
| 654 | k8s-metallb: { id: 413, link: bond0 } |
| 655 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 656 | ceph-control: |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 657 | id: 415 |
| 658 | link: bond1 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 659 | addresses: |
| 660 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 661 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 662 | os-tenant: |
| 663 | id: 416 |
| 664 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 665 | addresses: |
| 666 | - 10.14.0.18/24 |
| 667 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 668 | '0c:c4:7a:54:a0:50': |
| 669 | write_files: |
| 670 | - path: '/etc/netplan/99-cz7642-os-compute.yaml' |
| 671 | content: | |
| 672 | network: |
| 673 | version: 2 |
| 674 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 675 | enp3s0f0: &mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 676 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 677 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 678 | enp3s0f1: *mtu9100 |
| 679 | enp3s0f2: *mtu9100 |
| 680 | enp3s0f3: *mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 681 | bonds: |
| 682 | bond0: |
| 683 | dhcp4: no |
| 684 | interfaces: [enp3s0f0, enp3s0f1] |
| 685 | parameters: |
| 686 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 687 | mii-monitor-interval: 1000 |
| 688 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 689 | bond1: |
| 690 | dhcp4: no |
| 691 | interfaces: [enp3s0f2, enp3s0f3] |
| 692 | parameters: |
| 693 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 694 | mii-monitor-interval: 1000 |
| 695 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 696 | vlans: |
| 697 | k8s-control: |
| 698 | id: 411 |
| 699 | link: bond0 |
| 700 | addresses: |
| 701 | - 172.16.50.142/25 |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame^] | 702 | os-floating: { id: 412, link: bond1 } |
| 703 | k8s-metallb: { id: 413, link: bond0 } |
| 704 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 705 | ceph-control: |
| 706 | id: 415 |
| 707 | link: bond1 |
| 708 | addresses: |
| 709 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 710 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 711 | os-tenant: |
| 712 | id: 416 |
| 713 | link: bond1 |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 714 | addresses: |
| 715 | - 10.14.0.19/24 |
| 716 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 717 | |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 718 | functions_override: | |
| 719 | |
| 720 | function network_config { |
| 721 | |
| 722 | DEBIAN_FRONTEND=noninteractive apt -y install bridge-utils ifenslave vlan |
| 723 | sudo modprobe bonding |
| 724 | netplan --debug apply |
| 725 | sleep 15 |
| 726 | |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 727 | # Re-init the variables related to the just configured k8s-control network |
| 728 | CONTROL_IP_ADDRESS=$(ip route get ${CONTROL_NETWORK_CIDR%/*} | head -n1 | fgrep -v ' via ' | awk '/ src / {print $6}') |
| 729 | |
| 730 | #UCP_MASTER_HOST=${UCP_MASTER_HOST:-${CONTROL_IP_ADDRESS}} |
| 731 | # Hardcoded IP for the UCP node because the servers output contain PXE IP instead of k8s_control IP |
| 732 | UCP_MASTER_HOST=172.16.50.254 |
| 733 | UCP_IP_ADDRESS=${UCP_IP_ADDRESS:-$CONTROL_IP_ADDRESS} |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 734 | } |