]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/dump_stuck: fix for active+clean+remapped 15955/head
authorSage Weil <sage@redhat.com>
Tue, 27 Jun 2017 16:01:07 +0000 (12:01 -0400)
committerSage Weil <sage@redhat.com>
Tue, 27 Jun 2017 16:01:07 +0000 (12:01 -0400)
In d24a8886658c2d8882275d69c6409717a62701be we made remapped a clean
state but didn't fix this test.

Fixes: http://tracker.ceph.com/issues/20431
Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/dump_stuck.py

index 8da634b5d9d1e620524d52ab1935a9d8ebfc9728..5d467512ce1d2e3739fcf80a7ed1d69ff3bc50ec 100644 (file)
@@ -63,6 +63,7 @@ def task(ctx, config):
 #                            '--mon-osd-report-timeout 90',
                             '--mon-pg-stuck-threshold 10')
 
+    # all active+clean
     check_stuck(
         manager,
         num_inactive=0,
@@ -76,10 +77,11 @@ def task(ctx, config):
     manager.flush_pg_stats([1])
     manager.wait_for_recovery(timeout)
 
+    # all active+clean+remapped
     check_stuck(
         manager,
         num_inactive=0,
-        num_unclean=num_pgs,
+        num_unclean=0,
         num_stale=0,
         )
 
@@ -87,6 +89,7 @@ def task(ctx, config):
     manager.flush_pg_stats([0, 1])
     manager.wait_for_clean(timeout)
 
+    # all active+clean
     check_stuck(
         manager,
         num_inactive=0,