]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: test standby-replay with fs:workloads 40481/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 29 Mar 2021 22:08:28 +0000 (15:08 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 8 Apr 2021 18:37:56 +0000 (11:37 -0700)
Fixes: https://tracker.ceph.com/issues/50045
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/cephfs/clusters/1a11s-mds-1c-client-3node.yaml [new file with mode: 0644]
qa/suites/fs/workload/clusters/1a11s-mds-1c-client-3node.yaml [new symlink]
qa/suites/fs/workload/clusters/1a5s-mds-1c-client-3node.yaml [deleted symlink]
qa/suites/fs/workload/standby-replay.yaml [new file with mode: 0644]
qa/tasks/cephfs/filesystem.py

diff --git a/qa/cephfs/clusters/1a11s-mds-1c-client-3node.yaml b/qa/cephfs/clusters/1a11s-mds-1c-client-3node.yaml
new file mode 100644 (file)
index 0000000..ca6f79b
--- /dev/null
@@ -0,0 +1,10 @@
+roles:
+- [mon.a, mgr.x, mds.a, mds.d, mds.g, mds.j, osd.0, osd.3, osd.6, osd.9, client.0]
+- [mon.b, mgr.y, mds.b, mds.e, mds.h, mds.k, osd.1, osd.4, osd.7, osd.10]
+- [mon.c, mgr.z, mds.c, mds.f, mds.i, mds.l, osd.2, osd.5, osd.8, osd.11]
+openstack:
+- volumes: # attached to each instance
+    count: 4
+    size: 20 # GB
+- machine:
+    disk: 200 # GB
diff --git a/qa/suites/fs/workload/clusters/1a11s-mds-1c-client-3node.yaml b/qa/suites/fs/workload/clusters/1a11s-mds-1c-client-3node.yaml
new file mode 120000 (symlink)
index 0000000..8841345
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/clusters/1a11s-mds-1c-client-3node.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/workload/clusters/1a5s-mds-1c-client-3node.yaml b/qa/suites/fs/workload/clusters/1a5s-mds-1c-client-3node.yaml
deleted file mode 120000 (symlink)
index e8ff97a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.qa/cephfs/clusters/1a5s-mds-1c-client-3node.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/workload/standby-replay.yaml b/qa/suites/fs/workload/standby-replay.yaml
new file mode 100644 (file)
index 0000000..b47d312
--- /dev/null
@@ -0,0 +1,4 @@
+overrides:
+  ceph:
+    cephfs:
+      standby_replay: true
index 52644634b960954cad4024dff02a054c3fd039a3..34ee42f13ec6d0cb12c1744292698113129d4a24 100644 (file)
@@ -683,6 +683,9 @@ class Filesystem(MDSCluster):
             if max_mds > 1:
                 self.set_max_mds(max_mds)
 
+            standby_replay = self.fs_config.get('standby_replay', False)
+            self.set_allow_standby_replay(standby_replay)
+
             # If absent will use the default value (60 seconds)
             session_timeout = self.fs_config.get('session_timeout', 60)
             if session_timeout != 60: