]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: ceph-helpers.sh shows ceph report if not clean
authorLoic Dachary <ldachary@redhat.com>
Sat, 16 May 2015 09:28:54 +0000 (11:28 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sun, 17 May 2015 10:33:05 +0000 (12:33 +0200)
Instead of just pg dump and health detail, the wait_for_clean
function displays ceph report when it times out, to help figure out what
caused it.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph-helpers.sh

index c39a56fdc141c0d2144be0ba3ac1adbc591c6594..8280ef2fde2bd905a0fb3690863feaca7c68aec1 100755 (executable)
@@ -933,8 +933,7 @@ function wait_for_clean() {
         if get_is_making_recovery_progress ; then
             timer=0
         elif (( timer >= $TIMEOUT )) ; then
-            ceph pg dump
-            ceph health detail
+            ceph report
             return 1
         fi