mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 11:50:18 +00:00
deploy: add check for device-health-metrics pool
Rook creates a detault pool with name device_health_metrics for device-health-metrics CephBlockPool CR. device-health-metrics is added to cluster-test.yaml in Rook 1.8 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
493db5c183
commit
e5100eacd4
@ -198,6 +198,12 @@ function check_rbd_stat() {
|
||||
else
|
||||
RBD_POOL_NAME=$1
|
||||
fi
|
||||
# Rook creates a detault pool with name device_health_metrics for
|
||||
# device-health-metrics CephBlockPool CR
|
||||
if [[ "${RBD_POOL_NAME}" == "device-health-metrics" ]]; then
|
||||
RBD_POOL_NAME="device_health_metrics"
|
||||
fi
|
||||
|
||||
echo "Checking RBD ($RBD_POOL_NAME) stats... ${retry}s" && sleep 5
|
||||
|
||||
TOOLBOX_POD=$(kubectl_retry -n rook-ceph get pods -l app=rook-ceph-tools -o jsonpath='{.items[0].metadata.name}')
|
||||
|
Loading…
Reference in New Issue
Block a user