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