]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/standalone/scrub/osd-scrub-repair: force osdmap prop to osds
authorSage Weil <sage@redhat.com>
Sun, 8 Mar 2020 19:52:10 +0000 (14:52 -0500)
committerSage Weil <sage@redhat.com>
Sun, 8 Mar 2020 19:52:10 +0000 (14:52 -0500)
flush_pg_stats isn't sufficient to ensure that OSDs have the latest
OSDMap.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/standalone/scrub/osd-scrub-repair.sh

index 287d970132e6e82e0d78824731dfc3618fd79a7d..c8196b2b7b6b96d2e5cdb17ebc305324d5f63e06 100755 (executable)
@@ -5758,6 +5758,7 @@ function TEST_periodic_scrub_replicated() {
     # Can't upgrade with this set
     ceph osd set nodeep-scrub
     # Let map change propagate to OSDs
+    ceph tell osd.0 get_latest_osdmap
     flush_pg_stats
     sleep 5