SI MOCK lab improves
- update spares_flavor scale node
- add ceph metadata
- update network conf
Releated-PROD: PRODX-3770
Change-Id: I05f6746c7c522f27cfcf4e903ce02cd02a40daa9
diff --git a/de/heat-templates/env/bmt410-mstr3-wrkr3-cmp0-gtw0-osd3.yaml b/de/heat-templates/env/bmt410-mstr3-wrkr3-cmp0-gtw0-osd3.yaml
index 623a26a..8233c11 100644
--- a/de/heat-templates/env/bmt410-mstr3-wrkr3-cmp0-gtw0-osd3.yaml
+++ b/de/heat-templates/env/bmt410-mstr3-wrkr3-cmp0-gtw0-osd3.yaml
@@ -15,7 +15,7 @@
gtws_flavor: oscore-bm-lab-01
lmas_flavor: oscore-bm-lab-01
osds_flavor: si-bm-410-64-16-hdd2x2t-ssd1x500g
- spares_flavor: si-bm-410-64-16-hdd2x2t-ssd1x500g
+ spares_flavor: si-bm-410-64-16-hdd2x2t-ssd1x500g-spare
masters_size: 2 # UCP nodes
worker_size: 3 # OpenStack controller nodes
cmp_size: 3
@@ -48,23 +48,31 @@
hardware_metadata: |
'0c:c4:7a:33:26:7c':
write_files:
+ - path: /usr/share/metadata/ceph.yaml
+ content: |
+ storageDevices:
+ - name: sdb
+ role: hdd
+ sizeGb: 500
+ - name: sdc
+ role: hdd
+ sizeGb: 500
+ ramGb: 64
+ cores: 12
+ ips:
+ - 192.168.122.101
+ crushPath: {}
- path: '/etc/netplan/99-cz7714-osd.yaml'
content: |
network:
version: 2
ethernets:
- eno1:
+ eno1: &mtu9100
dhcp4: false
mtu: 9100
- ens3f1:
- dhcp4: false
- mtu: 9100
- ens3f2:
- dhcp4: false
- mtu: 9100
- ens3f3:
- dhcp4: false
- mtu: 9100
+ ens3f1: *mtu9100
+ ens3f2: *mtu9100
+ ens3f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -116,23 +124,31 @@
'0c:c4:7a:33:26:6e':
write_files:
+ - path: /usr/share/metadata/ceph.yaml
+ content: |
+ storageDevices:
+ - name: sdb
+ role: hdd
+ sizeGb: 500
+ - name: sdc
+ role: hdd
+ sizeGb: 500
+ ramGb: 64
+ cores: 12
+ ips:
+ - 192.168.122.102
+ crushPath: {}
- path: '/etc/netplan/99-cz7725-osd.yaml'
content: |
network:
version: 2
ethernets:
- eno1:
+ eno1: &mtu9100
dhcp4: false
mtu: 9100
- ens3f1:
- dhcp4: false
- mtu: 9100
- ens3f2:
- dhcp4: false
- mtu: 9100
- ens3f3:
- dhcp4: false
- mtu: 9100
+ ens3f1: *mtu9100
+ ens3f2: *mtu9100
+ ens3f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -184,23 +200,31 @@
'0c:c4:7a:33:26:6a':
write_files:
+ - path: /usr/share/metadata/ceph.yaml
+ content: |
+ storageDevices:
+ - name: sdb
+ role: hdd
+ sizeGb: 500
+ - name: sdc
+ role: hdd
+ sizeGb: 500
+ ramGb: 64
+ cores: 12
+ ips:
+ - 192.168.122.103
+ crushPath: {}
- path: '/etc/netplan/99-cz7726-osd.yaml'
content: |
network:
version: 2
ethernets:
- eno1:
+ eno1: &mtu9100
dhcp4: false
mtu: 9100
- ens3f1:
- dhcp4: false
- mtu: 9100
- ens3f2:
- dhcp4: false
- mtu: 9100
- ens3f3:
- dhcp4: false
- mtu: 9100
+ ens3f1: *mtu9100
+ ens3f2: *mtu9100
+ ens3f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -257,18 +281,12 @@
network:
version: 2
ethernets:
- eno1:
+ eno1: &mtu9100
dhcp4: false
mtu: 9100
- ens3f1:
- dhcp4: false
- mtu: 9100
- ens3f2:
- dhcp4: false
- mtu: 9100
- ens3f3:
- dhcp4: false
- mtu: 9100
+ ens3f1: *mtu9100
+ ens3f2: *mtu9100
+ ens3f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -325,18 +343,12 @@
network:
version: 2
ethernets:
- ens11f0:
+ ens11f0: &mtu9100
dhcp4: false
mtu: 9100
- ens11f1:
- dhcp4: false
- mtu: 9100
- ens11f2:
- dhcp4: false
- mtu: 9100
- ens11f3:
- dhcp4: false
- mtu: 9100
+ ens11f1: *mtu9100
+ ens11f2: *mtu9100
+ ens11f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -387,18 +399,12 @@
network:
version: 2
ethernets:
- ens11f0:
+ ens11f0: &mtu9100
dhcp4: false
mtu: 9100
- ens11f1:
- dhcp4: false
- mtu: 9100
- ens11f2:
- dhcp4: false
- mtu: 9100
- ens11f3:
- dhcp4: false
- mtu: 9100
+ ens11f1: *mtu9100
+ ens11f2: *mtu9100
+ ens11f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -449,18 +455,12 @@
network:
version: 2
ethernets:
- ens11f0:
+ ens11f0: &mtu9100
dhcp4: false
mtu: 9100
- ens11f1:
- dhcp4: false
- mtu: 9100
- ens11f2:
- dhcp4: false
- mtu: 9100
- ens11f3:
- dhcp4: false
- mtu: 9100
+ ens11f1: *mtu9100
+ ens11f2: *mtu9100
+ ens11f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -511,18 +511,12 @@
network:
version: 2
ethernets:
- eno1:
+ eno1: &mtu9100
dhcp4: false
mtu: 9100
- ens4f1:
- dhcp4: false
- mtu: 9100
- ens4f2:
- dhcp4: false
- mtu: 9100
- ens4f3:
- dhcp4: false
- mtu: 9100
+ ens4f1: *mtu9100
+ ens4f2: *mtu9100
+ ens4f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -562,18 +556,12 @@
network:
version: 2
ethernets:
- eno1:
+ eno1: &mtu9100
dhcp4: false
mtu: 9100
- ens4f1:
- dhcp4: false
- mtu: 9100
- ens4f2:
- dhcp4: false
- mtu: 9100
- ens4f3:
- dhcp4: false
- mtu: 9100
+ ens4f1: *mtu9100
+ ens4f2: *mtu9100
+ ens4f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -613,18 +601,12 @@
network:
version: 2
ethernets:
- eno1:
+ eno1: &mtu9100
dhcp4: false
mtu: 9100
- ens4f1:
- dhcp4: false
- mtu: 9100
- ens4f2:
- dhcp4: false
- mtu: 9100
- ens4f3:
- dhcp4: false
- mtu: 9100
+ ens4f1: *mtu9100
+ ens4f2: *mtu9100
+ ens4f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -664,18 +646,12 @@
network:
version: 2
ethernets:
- enp3s0f0:
+ enp3s0f0: &mtu9100
dhcp4: false
mtu: 9100
- enp3s0f1:
- dhcp4: false
- mtu: 9100
- enp3s0f2:
- dhcp4: false
- mtu: 9100
- enp3s0f3:
- dhcp4: false
- mtu: 9100
+ enp3s0f1: *mtu9100
+ enp3s0f2: *mtu9100
+ enp3s0f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -726,18 +702,12 @@
network:
version: 2
ethernets:
- enp3s0f0:
+ enp3s0f0: &mtu9100
dhcp4: false
mtu: 9100
- enp3s0f1:
- dhcp4: false
- mtu: 9100
- enp3s0f2:
- dhcp4: false
- mtu: 9100
- enp3s0f3:
- dhcp4: false
- mtu: 9100
+ enp3s0f1: *mtu9100
+ enp3s0f2: *mtu9100
+ enp3s0f3: *mtu9100
bonds:
bond0:
dhcp4: no
@@ -788,18 +758,12 @@
network:
version: 2
ethernets:
- enp3s0f0:
+ enp3s0f0: &mtu9100
dhcp4: false
mtu: 9100
- enp3s0f1:
- dhcp4: false
- mtu: 9100
- enp3s0f2:
- dhcp4: false
- mtu: 9100
- enp3s0f3:
- dhcp4: false
- mtu: 9100
+ enp3s0f1: *mtu9100
+ enp3s0f2: *mtu9100
+ enp3s0f3: *mtu9100
bonds:
bond0:
dhcp4: no