From: Sage Weil Date: Sat, 23 Nov 2019 14:55:00 +0000 (-0600) Subject: qa/standalone/ceph-helpers.sh: remove osd down check X-Git-Tag: v15.1.0~762^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F31677%2Fhead;p=ceph.git qa/standalone/ceph-helpers.sh: remove osd down check A kill doesn't induce a mark-down of the OSD with osd_fast_shutdown=true. Signed-off-by: Sage Weil --- diff --git a/qa/standalone/ceph-helpers.sh b/qa/standalone/ceph-helpers.sh index b367f951584b..c4efcd8bf8fb 100755 --- a/qa/standalone/ceph-helpers.sh +++ b/qa/standalone/ceph-helpers.sh @@ -293,8 +293,6 @@ function test_kill_daemon() { kill_daemon $pidfile TERM || return 1 done - ceph osd dump | grep "osd.0 down" || return 1 - name_prefix=mgr for pidfile in $(find $dir 2>/dev/null | grep $name_prefix'[^/]*\.pid') ; do # @@ -381,7 +379,6 @@ function test_kill_daemons() { # killing just the osd and verify the mon still is responsive # kill_daemons $dir TERM osd || return 1 - ceph osd dump | grep "osd.0 down" || return 1 # # kill the mgr # @@ -936,8 +933,10 @@ function test_wait_for_osd() { run_mon $dir a --osd_pool_default_size=1 || return 1 run_mgr $dir x || return 1 run_osd $dir 0 || return 1 + run_osd $dir 1 || return 1 wait_for_osd up 0 || return 1 - kill_daemons $dir TERM osd || return 1 + wait_for_osd up 1 || return 1 + kill_daemons $dir TERM osd.0 || return 1 wait_for_osd down 0 || return 1 ( TIMEOUT=1 ; ! wait_for_osd up 0 ) || return 1 teardown $dir || return 1