]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: enable mon osdmap pruning on rados/monthrash
authorJoao Eduardo Luis <joao@suse.de>
Tue, 20 Feb 2018 15:47:57 +0000 (15:47 +0000)
committerJoao Eduardo Luis <joao@suse.de>
Fri, 6 Apr 2018 03:18:23 +0000 (04:18 +0100)
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
qa/suites/rados/monthrash/ceph.yaml
qa/suites/rados/monthrash/workloads/rados_mon_osdmap_prune.yaml [new file with mode: 0644]

index 6e8bc866e6920f8f10e5c737611d48a36841ffaf..22b27c1ee46028d148e96cbe94c2e10e9d54e42a 100644 (file)
@@ -4,6 +4,10 @@ overrides:
       mon:
         mon min osdmap epochs: 25
         paxos service trim min: 5
+        # prune full osdmaps regularly
+        mon osdmap full prune min: 15
+        mon osdmap full prune interval: 2
+        mon osdmap full prune txsize: 2
 # thrashing monitors may make mgr have trouble w/ its keepalive
     log-whitelist:
       - daemon x is unresponsive
diff --git a/qa/suites/rados/monthrash/workloads/rados_mon_osdmap_prune.yaml b/qa/suites/rados/monthrash/workloads/rados_mon_osdmap_prune.yaml
new file mode 100644 (file)
index 0000000..cca902a
--- /dev/null
@@ -0,0 +1,22 @@
+overrides:
+  ceph:
+    conf:
+      mon:
+        mon debug extra checks: true
+        mon min osdmap epochs: 100
+        mon osdmap full prune enabled: true
+        mon osdmap full prune min: 200
+        mon osdmap full prune interval: 10
+        mon osdmap full prune txsize: 100
+      osd:
+        osd beacon report interval: 10
+    log-whitelist:
+      # setting/unsetting noup will trigger health warns,
+      # causing tests to fail due to health warns, even if
+      # the tests themselves are successful.
+      - \(OSDMAP_FLAGS\)
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - mon/test_mon_osdmap_prune.sh