Stopping the osd daemon won't reliably get you HEALTH_WARN or ERR; you have
to make sure it is also marked down.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
dcdca44aa45e7dc5aab56da26caec644e32024a6)
run_osd $dir 1 || return 1
run_osd $dir 2 || return 1
kill_daemons $dir TERM osd || return 1
+ ceph osd down 0 || return 1
! TIMEOUT=1 wait_for_health_ok || return 1
activate_osd $dir 0 || return 1
wait_for_health_ok || return 1