]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: display ceph report when stuck 4341/head
authorLoic Dachary <ldachary@redhat.com>
Sat, 11 Apr 2015 12:14:53 +0000 (14:14 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sat, 11 Apr 2015 12:14:53 +0000 (14:14 +0200)
When the cluster is stuck (wait_for_clean times out), display ceph
report to stderr for debugging purposes.

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

index 5224241feb3e0413a4e76ee2a9118a4a3ffedcd8..1e34aca5aa6be994f07e49a35519471ce5f99ac5 100755 (executable)
@@ -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