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