Skip to content

Commit cacb655

Browse files
committed
Adding nvme gateway deploymnets to common config
Signed-off-by: tintumathew10 <[email protected]>
1 parent 93db54c commit cacb655

File tree

2 files changed

+315
-0
lines changed

2 files changed

+315
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
# Single site cluster with 17 Ceph & 4 Client nodes
2+
# with daemons - 13 crash, 5 mon, 3 mgr, 3 rgw
3+
# 5 nfs, 10 (+2 backup) osds and
4+
# 1 alertmanager, node-exporter, prometheus, grafana
5+
6+
globals:
7+
- ceph-cluster:
8+
name: ceph
9+
node1:
10+
networks:
11+
- shared_net_4
12+
role:
13+
- _admin
14+
- installer
15+
- crash
16+
- alertmanager
17+
- mon
18+
node2:
19+
networks:
20+
- shared_net_4
21+
role:
22+
- crash
23+
- mon
24+
- nfs
25+
- osd
26+
no-of-volumes: 4
27+
disk-size: 20
28+
node3:
29+
networks:
30+
- shared_net_4
31+
role:
32+
- crash
33+
- mon
34+
- nfs
35+
- osd
36+
no-of-volumes: 4
37+
disk-size: 20
38+
node4:
39+
networks:
40+
- shared_net_4
41+
role:
42+
- crash
43+
- rgw
44+
- mgr
45+
- osd
46+
no-of-volumes: 4
47+
disk-size: 20
48+
node5:
49+
networks:
50+
- shared_net_4
51+
role:
52+
- crash
53+
- nfs
54+
- osd
55+
no-of-volumes: 4
56+
disk-size: 20
57+
node6:
58+
networks:
59+
- shared_net_4
60+
role:
61+
- crash
62+
- nfs
63+
- osd
64+
no-of-volumes: 4
65+
disk-size: 20
66+
node7:
67+
networks:
68+
- shared_net_4
69+
role:
70+
- crash
71+
- node-exporter
72+
- mds
73+
- osd
74+
no-of-volumes: 4
75+
disk-size: 20
76+
node8:
77+
networks:
78+
- shared_net_4
79+
role:
80+
- crash
81+
- prometheus
82+
- mds
83+
- osd
84+
no-of-volumes: 4
85+
disk-size: 20
86+
node9:
87+
networks:
88+
- shared_net_4
89+
role:
90+
- crash
91+
- grafana
92+
- mds
93+
- osd
94+
no-of-volumes: 4
95+
disk-size: 20
96+
node10:
97+
networks:
98+
- shared_net_4
99+
role:
100+
- crash
101+
- rgw
102+
- mds
103+
- osd
104+
no-of-volumes: 4
105+
disk-size: 20
106+
node11:
107+
networks:
108+
- shared_net_4
109+
role:
110+
- crash
111+
- rgw
112+
- mds
113+
- osd
114+
no-of-volumes: 4
115+
disk-size: 20
116+
node12:
117+
networks:
118+
- shared_net_4
119+
role:
120+
- crash
121+
- mon
122+
- nfs
123+
- osd-bak
124+
no-of-volumes: 4
125+
disk-size: 20
126+
node13:
127+
networks:
128+
- shared_net_4
129+
role:
130+
- crash
131+
- mon
132+
- mgr
133+
- osd-bak
134+
no-of-volumes: 4
135+
disk-size: 20
136+
node14:
137+
networks:
138+
- shared_net_4
139+
role:
140+
- nvmeof-gw
141+
node15:
142+
networks:
143+
- shared_net_4
144+
role:
145+
- nvmeof-gw
146+
node16:
147+
networks:
148+
- shared_net_4
149+
role:
150+
- nvmeof-gw
151+
node17:
152+
networks:
153+
- shared_net_4
154+
role:
155+
- nvmeof-gw
156+
node18:
157+
networks:
158+
- shared_net_5
159+
role:
160+
- client
161+
node19:
162+
networks:
163+
- shared_net_5
164+
role:
165+
- client
166+
node20:
167+
networks:
168+
- shared_net_15
169+
role:
170+
- client
171+
node21:
172+
networks:
173+
- shared_net_15
174+
role:
175+
- client
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
# Test suite deploy and configure single site cluster
2+
# global-conf: conf/squid/common/13node-4client-single-site-regression.yaml
3+
4+
tests:
5+
- test:
6+
name: Setup pre-requisites
7+
desc: Setup packages and configuration for cluster deployment
8+
module: install_prereq.py
9+
abort-on-fail: true
10+
11+
- test:
12+
name: Deploy cluster using cephadm
13+
desc: Bootstrap and deploy services
14+
polarion-id: CEPH-83573713
15+
module: test_cephadm.py
16+
config:
17+
steps:
18+
- config:
19+
service: cephadm
20+
command: bootstrap
21+
args:
22+
mon-ip: node1
23+
- config:
24+
service: host
25+
command: add_hosts
26+
args:
27+
attach_ip_address: true
28+
labels: apply-all-labels
29+
- config:
30+
service: osd
31+
command: apply
32+
args:
33+
all-available-devices: true
34+
- config:
35+
command: shell
36+
args:
37+
- "ceph fs volume create cephfs"
38+
- config:
39+
service: mds
40+
command: apply
41+
args:
42+
placement:
43+
label: mds
44+
base_cmd_args:
45+
verbose: true
46+
pos_args:
47+
- cephfs
48+
- config:
49+
command: shell
50+
args:
51+
- "ceph osd pool create rbd"
52+
- config:
53+
command: shell
54+
args:
55+
- "rbd pool init rbd"
56+
abort-on-fail: true
57+
58+
- test:
59+
name: Configure client
60+
desc: Configure the RGW & RBD clients
61+
module: test_client.py
62+
config:
63+
command: add
64+
id: client.1
65+
node: node18
66+
install_packages:
67+
- ceph-common
68+
- rbd-nbd
69+
- jq
70+
- fio
71+
copy_admin_keyring: true
72+
caps:
73+
mon: "allow *"
74+
osd: "allow *"
75+
mds: "allow *"
76+
mgr: "allow *"
77+
abort-on-fail: true
78+
79+
- test:
80+
name: Configure client
81+
desc: Configure the RGW & RBD clients
82+
module: test_client.py
83+
config:
84+
command: add
85+
id: client.2
86+
node: node19
87+
install_packages:
88+
- ceph-common
89+
- rbd-nbd
90+
- jq
91+
- fio
92+
copy_admin_keyring: true
93+
caps:
94+
mon: "allow *"
95+
osd: "allow *"
96+
mds: "allow *"
97+
mgr: "allow *"
98+
abort-on-fail: true
99+
100+
- test:
101+
name: Configure client
102+
desc: Configure the RGW & RBD clients
103+
module: test_client.py
104+
config:
105+
command: add
106+
id: client.3
107+
node: node20
108+
install_packages:
109+
- ceph-common
110+
- rbd-nbd
111+
- jq
112+
- fio
113+
copy_admin_keyring: true
114+
caps:
115+
mon: "allow *"
116+
osd: "allow *"
117+
mds: "allow *"
118+
mgr: "allow *"
119+
abort-on-fail: true
120+
121+
- test:
122+
name: Configure client
123+
desc: Configure the RGW & RBD clients
124+
module: test_client.py
125+
config:
126+
command: add
127+
id: client.4
128+
node: node21
129+
install_packages:
130+
- ceph-common
131+
- rbd-nbd
132+
- jq
133+
- fio
134+
copy_admin_keyring: true
135+
caps:
136+
mon: "allow *"
137+
osd: "allow *"
138+
mds: "allow *"
139+
mgr: "allow *"
140+
abort-on-fail: true

0 commit comments

Comments
 (0)