]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/cephtool/test.sh: fix thrash (more)
authorSage Weil <sage@inktank.com>
Wed, 12 Mar 2014 00:03:23 +0000 (17:03 -0700)
committerSage Weil <sage@inktank.com>
Wed, 12 Mar 2014 00:03:23 +0000 (17:03 -0700)
If I have to touch this again I will remove it.  Ugh.  This time,

ubuntu@teuthology:/var/lib/teuthworker/archive/teuthology-2014-03-11_02:30:01-rados-firefly-distro-basic-plana/125922

hit NXIO a few lines down because one of the OSDs was still down.

Signed-off-by: Sage Weil <sage@inktank.com>
qa/workunits/cephtool/test.sh

index dfe9946416bc1d1a895d4e9d103ba100e62336b0..628bd41100a3e0bf419c0330cd19f1c7c5c8d1b8 100755 (executable)
@@ -285,6 +285,7 @@ for ((i=0; i < 100; i++)); do
 done
 
 ceph osd thrash 10
+ceph osd down `seq 0 31`  # force everything down so that we can trust up
 # make sure everything gets back up+in.
 for ((i=0; i < 100; i++)); do
        if ceph osd dump | grep ' down '; then