From: Loic Dachary Date: Sat, 11 Apr 2015 12:14:53 +0000 (+0200) Subject: tests: display ceph report when stuck X-Git-Tag: v9.0.1~145^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F4341%2Fhead;p=ceph.git tests: display ceph report when stuck When the cluster is stuck (wait_for_clean times out), display ceph report to stderr for debugging purposes. Signed-off-by: Loic Dachary --- diff --git a/src/test/ceph-helpers.sh b/src/test/ceph-helpers.sh index 5224241feb3e..1e34aca5aa6b 100755 --- a/src/test/ceph-helpers.sh +++ b/src/test/ceph-helpers.sh @@ -866,6 +866,8 @@ function wait_for_clean() { if get_is_making_recovery_progress ; then timer=0 elif (( timer >= $TIMEOUT )) ; then + ceph pg dump + ceph health detail return 1 fi