Skip to content

Commit c93a53a

Browse files
authored
Merge pull request ceph#48508 from pkalever/rbd-tests
qa/workunits/rbd: merge journal and snapshot test scripts Reviewed-by: Ramana Raja <[email protected]> Reviewed-by: Mykola Golub <[email protected]> Reviewed-by: Ilya Dryomov <[email protected]>
2 parents 59f5087 + 3fd8a03 commit c93a53a

12 files changed

+293
-688
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
meta:
2-
- desc: run the rbd_mirror_journal.sh workunit to test the rbd-mirror daemon
2+
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon in journal mode
33
tasks:
44
- workunit:
55
clients:
6-
cluster1.client.mirror: [rbd/rbd_mirror_journal.sh]
6+
cluster1.client.mirror: [rbd/rbd_mirror.sh]
77
env:
88
# override workunit setting of CEPH_ARGS='--cluster'
99
CEPH_ARGS: ''
10+
RBD_MIRROR_MODE: "journal"
1011
RBD_MIRROR_INSTANCES: '4'
1112
RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
1213
RBD_MIRROR_USE_RBD_MIRROR: '1'

qa/suites/rbd/mirror/workloads/rbd-mirror-snapshot-workunit-exclusive-lock.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
meta:
2-
- desc: run the rbd_mirror_snapshot.sh workunit to test the rbd-mirror daemon
2+
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon in snapshot mode
33
tasks:
44
- workunit:
55
clients:
6-
cluster1.client.mirror: [rbd/rbd_mirror_snapshot.sh]
6+
cluster1.client.mirror: [rbd/rbd_mirror.sh]
77
env:
88
# override workunit setting of CEPH_ARGS='--cluster'
99
CEPH_ARGS: ''
10+
RBD_MIRROR_MODE: 'snapshot'
1011
RBD_MIRROR_INSTANCES: '4'
1112
RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
1213
RBD_MIRROR_CONFIG_KEY: '1'

qa/suites/rbd/mirror/workloads/rbd-mirror-snapshot-workunit-fast-diff.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
meta:
2-
- desc: run the rbd_mirror_snapshot.sh workunit to test the rbd-mirror daemon
2+
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon in snapshot mode
33
tasks:
44
- workunit:
55
clients:
6-
cluster1.client.mirror: [rbd/rbd_mirror_snapshot.sh]
6+
cluster1.client.mirror: [rbd/rbd_mirror.sh]
77
env:
88
# override workunit setting of CEPH_ARGS='--cluster'
99
CEPH_ARGS: ''
10+
RBD_MIRROR_MODE: 'snapshot'
1011
RBD_MIRROR_INSTANCES: '4'
1112
RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
1213
RBD_MIRROR_CONFIG_KEY: '1'

qa/suites/rbd/mirror/workloads/rbd-mirror-snapshot-workunit-journaling.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
meta:
2-
- desc: run the rbd_mirror_snapshot.sh workunit to test the rbd-mirror daemon
2+
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon in snapshot mode
33
tasks:
44
- workunit:
55
clients:
6-
cluster1.client.mirror: [rbd/rbd_mirror_snapshot.sh]
6+
cluster1.client.mirror: [rbd/rbd_mirror.sh]
77
env:
88
# override workunit setting of CEPH_ARGS='--cluster'
99
CEPH_ARGS: ''
10+
RBD_MIRROR_MODE: 'snapshot'
1011
RBD_MIRROR_INSTANCES: '4'
1112
RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
1213
RBD_MIRROR_CONFIG_KEY: '1'

qa/suites/rbd/mirror/workloads/rbd-mirror-snapshot-workunit-minimum.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
meta:
2-
- desc: run the rbd_mirror_snapshot.sh workunit to test the rbd-mirror daemon
2+
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon in snapshot mode
33
tasks:
44
- workunit:
55
clients:
6-
cluster1.client.mirror: [rbd/rbd_mirror_snapshot.sh]
6+
cluster1.client.mirror: [rbd/rbd_mirror.sh]
77
env:
88
# override workunit setting of CEPH_ARGS='--cluster'
99
CEPH_ARGS: ''
10+
RBD_MIRROR_MODE: 'snapshot'
1011
RBD_MIRROR_INSTANCES: '4'
1112
RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
1213
RBD_MIRROR_CONFIG_KEY: '1'
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
meta:
2-
- desc: run the rbd_mirror_journal.sh workunit to test the rbd-mirror daemon
2+
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon in journal mode
33
tasks:
44
- workunit:
55
clients:
6-
cluster1.client.mirror: [rbd/rbd_mirror_journal.sh]
6+
cluster1.client.mirror: [rbd/rbd_mirror.sh]
77
env:
88
# override workunit setting of CEPH_ARGS='--cluster'
99
CEPH_ARGS: ''
10+
RBD_MIRROR_MODE: 'journal'
1011
RBD_MIRROR_INSTANCES: '4'
1112
RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
1213
RBD_MIRROR_CONFIG_KEY: '1'
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
meta:
2-
- desc: run the rbd_mirror_journal.sh workunit to test the rbd-mirror daemon
2+
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon in journal mode
33
tasks:
44
- workunit:
55
clients:
6-
cluster1.client.mirror: [rbd/rbd_mirror_journal.sh]
6+
cluster1.client.mirror: [rbd/rbd_mirror.sh]
77
env:
88
# override workunit setting of CEPH_ARGS='--cluster'
99
CEPH_ARGS: ''
10+
RBD_MIRROR_MODE: 'journal'
1011
RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
1112
RBD_MIRROR_MIN_COMPAT_CLIENT: 'octopus'
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
meta:
2-
- desc: run the rbd_mirror_journal.sh workunit to test the rbd-mirror daemon
2+
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon in journal mode
33
overrides:
44
ceph:
55
conf:
@@ -8,9 +8,10 @@ overrides:
88
tasks:
99
- workunit:
1010
clients:
11-
cluster1.client.mirror: [rbd/rbd_mirror_journal.sh]
11+
cluster1.client.mirror: [rbd/rbd_mirror.sh]
1212
env:
1313
# override workunit setting of CEPH_ARGS='--cluster'
1414
CEPH_ARGS: ''
15+
RBD_MIRROR_MODE: 'journal'
1516
RBD_MIRROR_INSTANCES: '4'
1617
RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
meta:
2-
- desc: run the rbd_mirror_journal.sh workunit to test the rbd-mirror daemon
2+
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon in journal mode
33
overrides:
44
ceph:
55
conf:
@@ -8,9 +8,10 @@ overrides:
88
tasks:
99
- workunit:
1010
clients:
11-
cluster1.client.mirror: [rbd/rbd_mirror_journal.sh]
11+
cluster1.client.mirror: [rbd/rbd_mirror.sh]
1212
env:
1313
# override workunit setting of CEPH_ARGS='--cluster'
1414
CEPH_ARGS: ''
15+
RBD_MIRROR_MODE: 'journal'
1516
RBD_MIRROR_INSTANCES: '4'
1617
RBD_MIRROR_USE_EXISTING_CLUSTER: '1'

0 commit comments

Comments
 (0)