# '--mon-osd-report-timeout 90',
'--mon-pg-stuck-threshold 10')
+ # all active+clean
check_stuck(
manager,
num_inactive=0,
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.flush_pg_stats([0, 1])
manager.wait_for_clean(timeout)
+ # all active+clean
check_stuck(
manager,
num_inactive=0,
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()