mirror of https://github.com/ceph/ceph-ansible.git
ceph-common: improve error message on restart osd daemon script
Signed-off-by: Alfredo Deza <adeza@redhat.com>pull/1518/head
parent
0a51552f55
commit
b04d18988e
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue