mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1518 from ceph/pgs-error-message
ceph-common: improve error message on restart osd daemon scriptpull/1522/head
commit
213d8acedf
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue