]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rados/thrash: force normal pg log length with cache tiering 32848/head
authorSage Weil <sage@redhat.com>
Wed, 19 Jun 2019 16:15:25 +0000 (11:15 -0500)
committerNathan Cutler <ncutler@suse.com>
Fri, 24 Jan 2020 16:41:32 +0000 (17:41 +0100)
When we are doing cache tiering, we are more sensitive to short PG logs
because the dup op entries are not perfectly promoted from the base to
the cache.

See:
 http://tracker.ceph.com/issues/38358
 http://tracker.ceph.com/issues/24320

This works around the problem by not testing short pg logs in combination
with cache tiering.  This works because the short_pg_log.yaml fragment
sets the short log in the [global] section but the cache workloads overload
it (back to a large/default value) in the [osd] section.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit afd0b508c2e0f3dc529ba3a28fd180a3e8925646)

qa/suites/rados/thrash/workloads/cache-agent-big.yaml
qa/suites/rados/thrash/workloads/cache-agent-small.yaml
qa/suites/rados/thrash/workloads/cache-pool-snaps-readproxy.yaml
qa/suites/rados/thrash/workloads/cache-pool-snaps.yaml
qa/suites/rados/thrash/workloads/cache-snaps.yaml
qa/suites/rados/thrash/workloads/cache.yaml

index 0cef20773003b7e69b411c70612ebdc8e7530017..31a964d1dedf5e5e71475da98163bfccfc5d94f8 100644 (file)
@@ -2,6 +2,11 @@ overrides:
   ceph:
     log-whitelist:
       - must scrub before tier agent can activate
+    conf:
+      osd:
+        # override short_pg_log_entries.yaml (which sets these under [global])
+        osd_min_pg_log_entries: 3000
+        osd_max_pg_log_entries: 3000
 tasks:
 - exec:
     client.0:
index 16c8242e9b2f998831a13fce25d17c90c0ef439f..f082b0b9783bcf4ec8326adc138fd6120da2ae90 100644 (file)
@@ -2,6 +2,11 @@ overrides:
   ceph:
     log-whitelist:
       - must scrub before tier agent can activate
+    conf:
+      osd:
+        # override short_pg_log_entries.yaml (which sets these under [global])
+        osd_min_pg_log_entries: 3000
+        osd_max_pg_log_entries: 3000
 tasks:
 - exec:
     client.0:
index 43497431b8d4a0cc958b4f7cf2766a8169baa541..b84d4d9578d001e7893ee6c302422e24ec1b6d17 100644 (file)
@@ -2,6 +2,11 @@ overrides:
   ceph:
     log-whitelist:
       - must scrub before tier agent can activate
+    conf:
+      osd:
+        # override short_pg_log_entries.yaml (which sets these under [global])
+        osd_min_pg_log_entries: 3000
+        osd_max_pg_log_entries: 3000
 tasks:
 - exec:
     client.0:
index dc3385cb9abf858dde0a381c7c80e1d7d3b1c0bf..8d712e866d0a3a61d01c0c46a68bdc21f6eb0cb9 100644 (file)
@@ -2,6 +2,11 @@ overrides:
   ceph:
     log-whitelist:
       - must scrub before tier agent can activate
+    conf:
+      osd:
+        # override short_pg_log_entries.yaml (which sets these under [global])
+        osd_min_pg_log_entries: 3000
+        osd_max_pg_log_entries: 3000
 tasks:
 - exec:
     client.0:
index 486d6dbfafa6f8f106932b288538fdaabf49838b..7ece997e1c2a01829f9b68a440dd32888f9767b6 100644 (file)
@@ -2,6 +2,11 @@ overrides:
   ceph:
     log-whitelist:
       - must scrub before tier agent can activate
+    conf:
+      osd:
+        # override short_pg_log_entries.yaml (which sets these under [global])
+        osd_min_pg_log_entries: 3000
+        osd_max_pg_log_entries: 3000
 tasks:
 - exec:
     client.0:
index d63018f0f7412b98b6aa97f4906944b2f8eadd2d..42cfa6cb909fbd78932a210b714d7a587f08129c 100644 (file)
@@ -2,6 +2,11 @@ overrides:
   ceph:
     log-whitelist:
       - must scrub before tier agent can activate
+    conf:
+      osd:
+        # override short_pg_log_entries.yaml (which sets these under [global])
+        osd_min_pg_log_entries: 3000
+        osd_max_pg_log_entries: 3000
 tasks:
 - exec:
     client.0: