Skip to content

Commit d0c4182

Browse files
VallariAgAlexander Indenbaum
authored andcommitted
qa/suites/rbd/nvmeof: add multi-subsystem setup and thrash test
1. qa/tasks/nvmeof.py: 1.1. create multiple rbd images for all subsystems 1.2. add NvmeofThrasher and ThrashTest 2. qa/tasks/mon_thrash.py: add 'switch_thrashers' option 3. nvmeof_setup_subsystem.sh: create multiple subsystems and enable HA 4. Restructure qa/suites/rbd/nvmeof: Create two sub-suites - "basic" (nvmeof_initiator job) - "thrash" (new: nvmeof_mon_thrash and nvmeof_thrash jobs) Signed-off-by: Vallari Agrawal <[email protected]>
1 parent 2946b19 commit d0c4182

34 files changed

+573
-70
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
use_shaman: True
2+
tasks:
3+
- install:
4+
extra_packages:
5+
- nvme-cli
6+
- cephadm:
7+
watchdog_setup:
8+
- cephadm.shell:
9+
host.a:
10+
# get state before nvmeof deployment
11+
- ceph orch status
12+
- ceph orch ps
13+
- ceph orch host ls
14+
- ceph orch device ls
15+
- ceph osd lspools

qa/suites/rbd/nvmeof/cluster/fixed-4.yaml renamed to qa/suites/nvmeof/basic/clusters/2-gateways-2-initiator.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,18 @@ roles:
88
- ceph.nvmeof.nvmeof.a
99
- - host.b
1010
- mon.b
11+
- mon.c
1112
- osd.2
1213
- osd.3
1314
- osd.4
1415
- client.1
1516
- ceph.nvmeof.nvmeof.b
1617
- - client.2
1718
- - client.3
19+
20+
overrides:
21+
ceph:
22+
conf:
23+
mon:
24+
# cephadm can take up to 5 minutes to bring up remaining mons
25+
mon down mkfs grace: 300
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../.qa/

0 commit comments

Comments
 (0)