Merge pull request #1518 from ceph/pgs-error-message

ceph-common: improve error message on restart osd daemon script
pull/1522/head
Sébastien Han 2017-05-15 13:58:35 +02:00 committed by GitHub
commit 213d8acedf
1 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,10 @@ check_pgs() {
let RETRIES=RETRIES-1 let RETRIES=RETRIES-1
done done
# PGs not clean, exiting with return code 1 # 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 exit 1
} }