From 464999e1b7a92d9c2448fb1d1593dc5a50e3dfbd Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Sat, 11 Apr 2015 14:14:53 +0200 Subject: [PATCH] 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 --- src/test/ceph-helpers.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/ceph-helpers.sh b/src/test/ceph-helpers.sh index 5224241feb3..1e34aca5aa6 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