mirror of
https://github.com/ceph/ceph
synced 2024-12-29 06:52:35 +00:00
qa/tasks/dump_stuck: fix dump_stuck test bug
Test cluster with 2 osds, stop osd.0, if osd.1 report the pg stats during pg peering, mon will record pg state to 'peering',then stop osd.1, finally the pg state will stuck in 'stale+peering', which is unexpected. Let's wait_for_active() after stop osd.0. Signed-off-by: huangjun <huangjun@xsky.com>
This commit is contained in:
parent
62b6d2d923
commit
daf8efee32
@ -100,6 +100,7 @@ def task(ctx, config):
|
||||
log.info('stopping first osd')
|
||||
manager.kill_osd(0)
|
||||
manager.mark_down_osd(0)
|
||||
manager.wait_for_active(timeout)
|
||||
|
||||
log.info('waiting for all to be unclean')
|
||||
starttime = time.time()
|
||||
|
Loading…
Reference in New Issue
Block a user