check for ceph HEATLH_OK

This commit is contained in:
2026-01-15 11:58:31 +02:00
parent ebfa265f43
commit b7532297e8

View File

@@ -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