Skip to content

Commit

Permalink
qa/tasks/dump_stuck: fix for active+clean+remapped
Browse files Browse the repository at this point in the history
In d24a888 we made remapped a clean
state but didn't fix this test.

Fixes: http://tracker.ceph.com/issues/20431
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Jun 27, 2017
1 parent fe4d151 commit 80e2b15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qa/tasks/dump_stuck.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -76,17 +77,19 @@ 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,
)

manager.mark_in_osd(0)
manager.flush_pg_stats([0, 1])
manager.wait_for_clean(timeout)

# all active+clean
check_stuck(
manager,
num_inactive=0,
Expand Down

0 comments on commit 80e2b15

Please sign in to comment.