]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: Allow tests to override recovery configs with mClock scheduler enabled 48226/head
authorSridhar Seshasayee <sseshasa@redhat.com>
Mon, 12 Dec 2022 07:09:33 +0000 (12:39 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Mon, 12 Dec 2022 12:42:46 +0000 (18:12 +0530)
Set osd_mclock_override_recovery_settings option to true for tests that
modify recovery/backfill configuration options. This prevents logging of
the cluster warning when modifying recovery/backfill limits.

Fixes: https://tracker.ceph.com/issues/57529
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
qa/config/rados.yaml
qa/standalone/erasure-code/test-erasure-eio.sh
qa/standalone/osd-backfill/osd-backfill-recovery-log.sh
qa/standalone/osd-backfill/osd-backfill-space.sh
qa/standalone/osd/osd-recovery-space.sh
qa/suites/rados/dashboard/tasks/dashboard.yaml

index 2f5779b0e9c38e1395d4377e0d48519238c1ba87..1785089fb4b2e49b118b26cc6a440607b2049083 100644 (file)
@@ -7,5 +7,6 @@ overrides:
         osd debug verify missing on start: true
         osd debug verify cached snaps: true
         bluestore zero block detection: true
+        osd mclock override recovery settings: true
       mon:
         mon scrub interval: 300
index e08c68377f6977d5438815449e1519981abd455b..85c2763307f5b50243baebac04925d45045f0aec 100755 (executable)
@@ -27,6 +27,7 @@ function run() {
     CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none "
     CEPH_ARGS+="--mon-host=$CEPH_MON "
     CEPH_ARGS+="--osd-mclock-profile=high_recovery_ops "
+    CEPH_ARGS+="--osd_mclock_override_recovery_settings=true "
 
     local funcs=${@:-$(set | sed -n -e 's/^\(TEST_[0-9a-z_]*\) .*/\1/p')}
     for func in $funcs ; do
index 6f20d90b5b5add968d39ff64900d919a4e79ccc3..f9a14493215d2dec256bae71738c1db2cedd841e 100755 (executable)
@@ -26,6 +26,7 @@ function run() {
     export CEPH_ARGS
     CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none "
     CEPH_ARGS+="--mon-host=$CEPH_MON --osd_max_backfills=1 --debug_reserver=20 "
+    CEPH_ARGS+="--osd_mclock_override_recovery_settings=true "
 
     local funcs=${@:-$(set | sed -n -e 's/^\(TEST_[0-9a-z_]*\) .*/\1/p')}
     for func in $funcs ; do
index 8bc452d6cbbfc2b401bd5cfd24027d0d66016bdc..671bcdee138fd22118e8f1b0bb97b4d32833d585 100755 (executable)
@@ -29,6 +29,7 @@ function run() {
     CEPH_ARGS+="--fake_statfs_for_testing=3686400 "
     CEPH_ARGS+="--osd_max_backfills=10 "
     CEPH_ARGS+="--osd_mclock_profile=high_recovery_ops "
+    CEPH_ARGS+="--osd_mclock_override_recovery_settings=true "
     export objects=600
     export poolprefix=test
 
index 07ed09b4380fa0ad41c350287ddbcf952a387bae..3bafc5138bb328cdf2cb134730ee24b4f6f8f2b0 100755 (executable)
@@ -26,6 +26,7 @@ function run() {
     CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none "
     CEPH_ARGS+="--mon-host=$CEPH_MON "
     CEPH_ARGS+="--osd_max_backfills=10 "
+    CEPH_ARGS+="--osd_mclock_override_recovery_settings=true "
     export objects=600
     export poolprefix=test
 
index fd2c47cba5e35743522446fe626db8a3838b1a04..c781061de9c3427b3db71fea1809eff9bb396b99 100644 (file)
@@ -2,6 +2,12 @@ roles:
 - [mgr.x, mon.a, mon.c, mds.a, mds.c, osd.0, client.0]
 - [mgr.y, mgr.z, mon.b, mds.b, osd.1, osd.2, osd.3, client.1]
 
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd mclock override recovery settings: true
+
 tasks:
   - install:
   - ceph: