mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +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"
|
||||
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
|
||||
|
||||
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