diff --git a/roles/ceph-common/templates/restart_osd_daemon.sh.j2 b/roles/ceph-common/templates/restart_osd_daemon.sh.j2 index 0f8411161..cb420aef6 100644 --- a/roles/ceph-common/templates/restart_osd_daemon.sh.j2 +++ b/roles/ceph-common/templates/restart_osd_daemon.sh.j2 @@ -13,7 +13,10 @@ check_pgs() { let RETRIES=RETRIES-1 done # PGs not clean, exiting with return code 1 - echo "Error with PGs, check config" + echo "Error while running 'ceph $CEPH_CLI -s', PGs were not reported as active+clean" + echo "It is possible that the cluster has less OSDs than the replica configuration" + echo "Will refuse to continue" + ceph $CEPH_CLI -s exit 1 }