mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
ci: add check for .mgr pool in rook.sh
Rook v1.9.x creates pool with name .mgr for builtin-mgr CephBlockPool CR. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
c55e3466b4
commit
f7a9558728
@ -205,6 +205,11 @@ function check_rbd_stat() {
|
|||||||
RBD_POOL_NAME="device_health_metrics"
|
RBD_POOL_NAME="device_health_metrics"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Rook v1.9.x creates pool with name .mgr for builtin-mgr CephBlockPool CR
|
||||||
|
if [[ "${RBD_POOL_NAME}" == "builtin-mgr" ]]; then
|
||||||
|
RBD_POOL_NAME=".mgr"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Checking RBD ($RBD_POOL_NAME) stats... ${retry}s" && sleep 5
|
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}')
|
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