Skip to content

Commit c2dabc9

Browse files
committed
ci: fetch the logs of ceph-ods-prepare Pods
When Rook fails deploying OSDs, the logs of the ceph-osd-prepare Pods can contain useful pointers to the issue. Signed-off-by: Niels de Vos <ndevos@ibm.com>
1 parent 5fd4fbf commit c2dabc9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/rook.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function log_errors() {
2222
kubectl -n rook-ceph get events
2323
kubectl -n rook-ceph describe pods
2424
kubectl -n rook-ceph logs -l app=rook-ceph-operator --tail=-1
25+
kubectl -n rook-ceph logs -l app=rook-ceph-osd-prepare
2526
kubectl -n rook-ceph get CephClusters -oyaml
2627
kubectl -n rook-ceph get CephFilesystems -oyaml
2728
kubectl -n rook-ceph get CephBlockPools -oyaml

0 commit comments

Comments
 (0)