Skip to content

Commit 03040f1

Browse files
committed
[DEBUGGING] capture logs of ceph-ods-prepare Pods before running rbd command
1 parent cc0926e commit 03040f1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/rook.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ function check_rbd_stat() {
238238
continue
239239
}
240240

241+
# FIXME: extra debugging because "rbd pool stats" hangs (OSDs unavailable)
242+
kubectl -n rook-ceph logs -l app=rook-ceph-osd-prepare
243+
241244
if kubectl_retry exec -n rook-ceph "$TOOLBOX_POD" -it -- rbd pool stats "$RBD_POOL_NAME" &>/dev/null; then
242245
echo "RBD ($RBD_POOL_NAME) is successfully created..."
243246
break

0 commit comments

Comments
 (0)