-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding nvme gateway deploymnets to common config
Signed-off-by: tintumathew10 <[email protected]>
- Loading branch information
1 parent
93db54c
commit b2b51a9
Showing
2 changed files
with
347 additions
and
0 deletions.
There are no files selected for viewing
175 changes: 175 additions & 0 deletions
175
conf/squid/common/17node-4client-nvme-single-site-regression.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
# Single site cluster with 17 Ceph & 4 Client nodes | ||
# with daemons - 13 crash, 5 mon, 3 mgr, 3 rgw | ||
# 5 nfs, 10 (+2 backup) osds and | ||
# 1 alertmanager, node-exporter, prometheus, grafana | ||
|
||
globals: | ||
- ceph-cluster: | ||
name: ceph | ||
node1: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- _admin | ||
- installer | ||
- crash | ||
- alertmanager | ||
- mon | ||
node2: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- mon | ||
- nfs | ||
- osd | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node3: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- mon | ||
- nfs | ||
- osd | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node4: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- rgw | ||
- mgr | ||
- osd | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node5: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- nfs | ||
- osd | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node6: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- nfs | ||
- osd | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node7: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- node-exporter | ||
- mds | ||
- osd | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node8: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- prometheus | ||
- mds | ||
- osd | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node9: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- grafana | ||
- mds | ||
- osd | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node10: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- rgw | ||
- mds | ||
- osd | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node11: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- rgw | ||
- mds | ||
- osd | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node12: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- mon | ||
- nfs | ||
- osd-bak | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node13: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- crash | ||
- mon | ||
- mgr | ||
- osd-bak | ||
no-of-volumes: 4 | ||
disk-size: 20 | ||
node14: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- nvmeof-gw | ||
node15: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- nvmeof-gw | ||
node16: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- nvmeof-gw | ||
node17: | ||
networks: | ||
- shared_net_4 | ||
role: | ||
- nvmeof-gw | ||
node18: | ||
networks: | ||
- shared_net_5 | ||
role: | ||
- client | ||
node19: | ||
networks: | ||
- shared_net_5 | ||
role: | ||
- client | ||
node20: | ||
networks: | ||
- shared_net_15 | ||
role: | ||
- client | ||
node21: | ||
networks: | ||
- shared_net_15 | ||
role: | ||
- client |
172 changes: 172 additions & 0 deletions
172
suites/squid/common/regression/nvme-single-site-deploy-and-configure.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
# Test suite deploy and configure single site cluster | ||
# global-conf: conf/squid/common/13node-4client-single-site-regression.yaml | ||
|
||
tests: | ||
- test: | ||
name: Setup pre-requisites | ||
desc: Setup packages and configuration for cluster deployment | ||
module: install_prereq.py | ||
abort-on-fail: true | ||
|
||
- test: | ||
name: Deploy cluster using cephadm | ||
desc: Bootstrap and deploy services | ||
polarion-id: CEPH-83573713 | ||
module: test_cephadm.py | ||
config: | ||
steps: | ||
- config: | ||
service: cephadm | ||
command: bootstrap | ||
args: | ||
mon-ip: node1 | ||
- config: | ||
service: host | ||
command: add_hosts | ||
args: | ||
attach_ip_address: true | ||
labels: apply-all-labels | ||
- config: | ||
service: osd | ||
command: apply | ||
args: | ||
all-available-devices: true | ||
- config: | ||
command: shell | ||
args: | ||
- "ceph fs volume create cephfs" | ||
- config: | ||
service: mds | ||
command: apply | ||
args: | ||
placement: | ||
label: mds | ||
base_cmd_args: | ||
verbose: true | ||
pos_args: | ||
- cephfs | ||
- config: | ||
command: shell | ||
args: | ||
- "ceph osd pool create rbd" | ||
- config: | ||
command: shell | ||
args: | ||
- "rbd pool init rbd" | ||
abort-on-fail: true | ||
|
||
- test: | ||
name: Configure client | ||
desc: Configure the RGW & RBD clients | ||
module: test_client.py | ||
config: | ||
command: add | ||
id: client.1 | ||
node: node18 | ||
install_packages: | ||
- ceph-common | ||
- rbd-nbd | ||
- jq | ||
- fio | ||
copy_admin_keyring: true | ||
caps: | ||
mon: "allow *" | ||
osd: "allow *" | ||
mds: "allow *" | ||
mgr: "allow *" | ||
abort-on-fail: true | ||
|
||
- test: | ||
name: Configure client | ||
desc: Configure the RGW & RBD clients | ||
module: test_client.py | ||
config: | ||
command: add | ||
id: client.2 | ||
node: node19 | ||
install_packages: | ||
- ceph-common | ||
- rbd-nbd | ||
- jq | ||
- fio | ||
copy_admin_keyring: true | ||
caps: | ||
mon: "allow *" | ||
osd: "allow *" | ||
mds: "allow *" | ||
mgr: "allow *" | ||
abort-on-fail: true | ||
|
||
- test: | ||
name: Configure client | ||
desc: Configure the RGW & RBD clients | ||
module: test_client.py | ||
config: | ||
command: add | ||
id: client.3 | ||
node: node20 | ||
install_packages: | ||
- ceph-common | ||
- rbd-nbd | ||
- jq | ||
- fio | ||
copy_admin_keyring: true | ||
caps: | ||
mon: "allow *" | ||
osd: "allow *" | ||
mds: "allow *" | ||
mgr: "allow *" | ||
abort-on-fail: true | ||
|
||
- test: | ||
name: Configure client | ||
desc: Configure the RGW & RBD clients | ||
module: test_client.py | ||
config: | ||
command: add | ||
id: client.4 | ||
node: node21 | ||
install_packages: | ||
- ceph-common | ||
- rbd-nbd | ||
- jq | ||
- fio | ||
copy_admin_keyring: true | ||
caps: | ||
mon: "allow *" | ||
osd: "allow *" | ||
mds: "allow *" | ||
mgr: "allow *" | ||
abort-on-fail: true | ||
|
||
- test: | ||
abort-on-fail: true | ||
config: | ||
verify_cluster_health: true | ||
steps: | ||
- config: | ||
command: shell | ||
args: | ||
- ceph osd pool create rbd | ||
- config: | ||
command: shell | ||
args: | ||
- ceph osd pool application enable rbd rbd | ||
- config: | ||
command: shell | ||
args: | ||
- rbd create -s 1G image1 | ||
- config: | ||
command: apply | ||
service: nvmeof | ||
args: | ||
placement: | ||
label: nvmeof-gw | ||
pos_args: | ||
- rbd | ||
- gw_group1 | ||
desc: NVMeoF Gateway deployment using cephadm | ||
destroy-cluster: false | ||
do-not-skip-tc: true | ||
module: test_cephadm.py | ||
name: deploy nvmeof gateway |