check for ceph HEATLH_OK
This commit is contained in:
@@ -30,3 +30,8 @@ if [[ "$running_ids" != "" ]]; then
|
|||||||
echo "ERROR: VMs running on $host: $running_ids"
|
echo "ERROR: VMs running on $host: $running_ids"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! pveceph status | grep -q HEALTH_OK; then
|
||||||
|
echo "ERROR: CEPH not HEALTH_OK"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user