Skip to content

Commit 53cc78b

Browse files
authored
Merge pull request ceph#59178 from VallariAg/wip-nvmeof-teuthology-v6
qa: add namespace and scale testing for nvmeof teuthology suite
2 parents b0d8273 + da8e95c commit 53cc78b

File tree

16 files changed

+278
-47
lines changed

16 files changed

+278
-47
lines changed

qa/suites/nvmeof/basic/base/install.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ tasks:
33
- install:
44
extra_packages:
55
- nvme-cli
6-
- cephadm:
7-
watchdog_setup:
6+
- cephadm:
87
- cephadm.shell:
98
host.a:
109
# get state before nvmeof deployment

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
roles:
2+
- - client.0
3+
- - client.1
24
- - host.a
35
- mon.a
46
- mgr.x
57
- osd.0
6-
- osd.1
7-
- client.0
8+
- client.2
89
- ceph.nvmeof.nvmeof.a
910
- - host.b
1011
- mon.b
12+
- osd.1
13+
- client.3
14+
- ceph.nvmeof.nvmeof.b
15+
- - host.c
1116
- mon.c
1217
- osd.2
18+
- client.4
19+
- ceph.nvmeof.nvmeof.c
20+
- - host.d
1321
- osd.3
14-
- osd.4
15-
- client.1
16-
- ceph.nvmeof.nvmeof.b
17-
- - client.2
18-
- - client.3
22+
- client.5
23+
- ceph.nvmeof.nvmeof.d
1924

2025
overrides:
2126
ceph:

qa/suites/nvmeof/basic/workloads/nvmeof_initiator.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tasks:
22
- nvmeof:
3-
client: client.0
3+
installer: host.a
44
gw_image: quay.io/ceph/nvmeof:1.2 # "default" is the image cephadm defaults to; change to test specific nvmeof images, example "latest"
55
rbd:
66
pool_name: mypool
@@ -16,8 +16,8 @@ tasks:
1616
- workunit:
1717
no_coverage_and_limits: true
1818
clients:
19-
client.2:
20-
- rbd/nvmeof_setup_subsystem.sh
19+
client.0:
20+
- nvmeof/setup_subsystem.sh
2121
env:
2222
RBD_POOL: mypool
2323
RBD_IMAGE_PREFIX: myimage
@@ -26,12 +26,12 @@ tasks:
2626
no_coverage_and_limits: true
2727
timeout: 30m
2828
clients:
29-
client.2:
30-
- rbd/nvmeof_basic_tests.sh
31-
- rbd/nvmeof_fio_test.sh --start_ns 1 --end_ns 30 --rbd_iostat
32-
client.3:
33-
- rbd/nvmeof_basic_tests.sh
34-
- rbd/nvmeof_fio_test.sh --start_ns 31 --end_ns 60
29+
client.0:
30+
- nvmeof/basic_tests.sh
31+
- nvmeof/fio_test.sh --start_ns 1 --end_ns 30 --rbd_iostat
32+
client.1:
33+
- nvmeof/basic_tests.sh
34+
- nvmeof/fio_test.sh --start_ns 31 --end_ns 60
3535
env:
3636
RBD_POOL: mypool
3737
IOSTAT_INTERVAL: '10'
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
tasks:
2+
- nvmeof:
3+
installer: host.a
4+
gw_image: quay.io/ceph/nvmeof:1.2 # "default" is the image cephadm defaults to; change to test specific nvmeof images, example "latest"
5+
rbd:
6+
pool_name: mypool
7+
image_name_prefix: myimage
8+
gateway_config:
9+
subsystems_count: 3
10+
namespaces_count: 20
11+
cli_image: quay.io/ceph/nvmeof-cli:1.2
12+
13+
- cephadm.wait_for_service:
14+
service: nvmeof.mypool.mygroup0
15+
16+
- workunit:
17+
no_coverage_and_limits: true
18+
clients:
19+
client.0:
20+
- nvmeof/setup_subsystem.sh
21+
env:
22+
RBD_POOL: mypool
23+
RBD_IMAGE_PREFIX: myimage
24+
25+
- workunit:
26+
no_coverage_and_limits: true
27+
timeout: 30m
28+
clients:
29+
client.0:
30+
- nvmeof/basic_tests.sh
31+
- nvmeof/fio_test.sh --rbd_iostat
32+
client.1:
33+
- nvmeof/basic_tests.sh
34+
- nvmeof/namespace_test.sh
35+
env:
36+
RBD_POOL: mypool
37+
IOSTAT_INTERVAL: '10'
38+
RUNTIME: '120'
39+
NEW_NAMESPACES_COUNT: '5'
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
tasks:
2+
- nvmeof:
3+
installer: host.a
4+
gw_image: quay.io/ceph/nvmeof:1.2 # "default" is the image cephadm defaults to; change to test specific nvmeof images, example "latest"
5+
rbd:
6+
pool_name: mypool
7+
image_name_prefix: myimage
8+
gateway_config:
9+
subsystems_count: 3
10+
namespaces_count: 20
11+
cli_image: quay.io/ceph/nvmeof-cli:1.2
12+
13+
- cephadm.wait_for_service:
14+
service: nvmeof.mypool.mygroup0
15+
16+
- workunit:
17+
no_coverage_and_limits: true
18+
timeout: 30m
19+
clients:
20+
client.0:
21+
- nvmeof/setup_subsystem.sh
22+
- nvmeof/basic_tests.sh
23+
- nvmeof/fio_test.sh --rbd_iostat
24+
env:
25+
RBD_POOL: mypool
26+
RBD_IMAGE_PREFIX: myimage
27+
IOSTAT_INTERVAL: '10'
28+
RUNTIME: '60'
29+
30+
- workunit:
31+
no_coverage_and_limits: true
32+
timeout: 30m
33+
clients:
34+
client.0:
35+
- nvmeof/scalability_test.sh nvmeof.a,nvmeof.b
36+
- nvmeof/scalability_test.sh nvmeof.b,nvmeof.c,nvmeof.d
37+
env:
38+
SCALING_DELAYS: '50'

qa/suites/nvmeof/thrash/clusters/3-gateways-1-initiator.yaml renamed to qa/suites/nvmeof/thrash/clusters/4-gateways-1-initiator.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
11
roles:
2+
- - client.0 # initiator
23
- - host.a
34
- mon.a
45
- mgr.x
56
- osd.0
67
- osd.1
7-
- client.0
8+
- client.1
89
- ceph.nvmeof.nvmeof.a
910
- - host.b
1011
- mon.b
1112
- osd.2
1213
- osd.3
1314
- osd.4
14-
- client.1
15+
- client.2
1516
- ceph.nvmeof.nvmeof.b
1617
- - host.c
1718
- mon.c
1819
- osd.5
1920
- osd.6
2021
- osd.7
21-
- client.2
22+
- client.3
2223
- ceph.nvmeof.nvmeof.c
23-
- - client.3 # initiator
24+
- - host.d
25+
- client.4
26+
- ceph.nvmeof.nvmeof.d
27+
2428

2529
overrides:
2630
ceph:

qa/suites/nvmeof/thrash/gateway-initiator-setup/3-subsys-60-namespace.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tasks:
22
- nvmeof:
3-
client: client.0
3+
installer: host.a
44
gw_image: quay.io/ceph/nvmeof:1.2 # "default" is the image cephadm defaults to; change to test specific nvmeof images, example "latest"
55
rbd:
66
pool_name: mypool
@@ -16,9 +16,9 @@ tasks:
1616
- workunit:
1717
no_coverage_and_limits: true
1818
clients:
19-
client.3:
20-
- rbd/nvmeof_setup_subsystem.sh
21-
- rbd/nvmeof_basic_tests.sh
19+
client.0:
20+
- nvmeof/setup_subsystem.sh
21+
- nvmeof/basic_tests.sh
2222
env:
2323
RBD_POOL: mypool
2424
RBD_IMAGE_PREFIX: myimage

qa/suites/nvmeof/thrash/thrashers/nvmeof_mon_thrash.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ overrides:
1313

1414
tasks:
1515
- nvmeof.thrash:
16-
checker_host: 'client.3'
16+
checker_host: 'client.0'
1717
switch_thrashers: True
1818

1919
- mon_thrash:

qa/suites/nvmeof/thrash/thrashers/nvmeof_thrash.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ overrides:
88

99
tasks:
1010
- nvmeof.thrash:
11-
checker_host: 'client.3'
11+
checker_host: 'client.0'

qa/suites/nvmeof/thrash/workloads/fio.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ tasks:
33
no_coverage_and_limits: true
44
timeout: 30m
55
clients:
6-
client.3:
7-
- rbd/nvmeof_fio_test.sh --rbd_iostat
6+
client.0:
7+
- nvmeof/fio_test.sh --rbd_iostat
88
env:
99
RBD_POOL: mypool
1010
IOSTAT_INTERVAL: '10'

0 commit comments

Comments
 (0)