ceph-common: improve error message on restart osd daemon script

Signed-off-by: Alfredo Deza <adeza@redhat.com>
pull/1518/head
Alfredo Deza 2017-05-12 11:01:03 -04:00
parent 0a51552f55
commit b04d18988e
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
} }