]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/standalone/ceph-helpers.sh: destroy_osd: mark osd down
authorSage Weil <sage@redhat.com>
Wed, 20 Nov 2019 02:03:44 +0000 (20:03 -0600)
committerSage Weil <sage@redhat.com>
Wed, 20 Nov 2019 02:05:16 +0000 (20:05 -0600)
Stopping the OSD doesn't guarantee that it will be marked down.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/standalone/ceph-helpers.sh

index 2b0dcd8c340c362ccd0f34470961689aaade081e..b367f951584bf21ac38417095c8efb844aece184 100755 (executable)
@@ -785,6 +785,7 @@ function destroy_osd() {
 
     ceph osd out osd.$id || return 1
     kill_daemons $dir TERM osd.$id || return 1
+    ceph osd down osd.$id || return 1
     ceph osd purge osd.$id --yes-i-really-mean-it || return 1
     teardown $dir/$id || return 1
     rm -fr $dir/$id