]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rbd: added active/active rbd-mirror tests
authorJason Dillaman <dillaman@redhat.com>
Thu, 3 May 2018 16:49:51 +0000 (12:49 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sat, 19 May 2018 12:17:56 +0000 (08:17 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit e2d5f8441aae08dccded6ec740181efc54bde19a)

qa/suites/rbd/mirror-thrash/policy/none.yaml [new file with mode: 0644]
qa/suites/rbd/mirror-thrash/policy/simple.yaml [new file with mode: 0644]
qa/suites/rbd/mirror/workloads/rbd-mirror-workunit-simple-policy.yaml [new file with mode: 0644]

diff --git a/qa/suites/rbd/mirror-thrash/policy/none.yaml b/qa/suites/rbd/mirror-thrash/policy/none.yaml
new file mode 100644 (file)
index 0000000..e0a7c11
--- /dev/null
@@ -0,0 +1,5 @@
+overrides:
+  ceph:
+    conf:
+      client:
+        rbd mirror image policy type: none
diff --git a/qa/suites/rbd/mirror-thrash/policy/simple.yaml b/qa/suites/rbd/mirror-thrash/policy/simple.yaml
new file mode 100644 (file)
index 0000000..ee3082d
--- /dev/null
@@ -0,0 +1,5 @@
+overrides:
+  ceph:
+    conf:
+      client:
+        rbd mirror image policy type: simple
diff --git a/qa/suites/rbd/mirror/workloads/rbd-mirror-workunit-simple-policy.yaml b/qa/suites/rbd/mirror/workloads/rbd-mirror-workunit-simple-policy.yaml
new file mode 100644 (file)
index 0000000..8581421
--- /dev/null
@@ -0,0 +1,16 @@
+meta:
+- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon
+overrides:
+  ceph:
+    conf:
+      client:
+        rbd mirror image policy type: simple
+tasks:
+- workunit:
+    clients:
+      cluster1.client.mirror: [rbd/rbd_mirror.sh]
+    env:
+      # override workunit setting of CEPH_ARGS='--cluster'
+      CEPH_ARGS: ''
+      RBD_MIRROR_INSTANCES: '4'
+      RBD_MIRROR_USE_EXISTING_CLUSTER: '1'