mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
ci: get the logs from the Ceph cluster pods
It seems that `/var/log/rook` inside the VM does not contain any files. Getting the logs from the Pods through kubectl may not be as stable, but it should get some logs when minikube is still/again available. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
410db81215
commit
7ebc8306ef
@ -44,7 +44,11 @@ log minikube_ssh sudo tar c /var/lib/rook | tar xvO
|
||||
|
||||
# gets status of the Rook deployment
|
||||
log kubectl -n rook-ceph get pods
|
||||
log kubectl -n rook-ceph describe pods
|
||||
for POD in $(kubectl -n rook-ceph get pod -l rook_cluster=rook-ceph -o jsonpath='{.items[0].metadata.name}')
|
||||
do
|
||||
log kubectl -n rook-ceph describe pod "${POD}"
|
||||
log kubectl -n rook-ceph logs "${POD}"
|
||||
done
|
||||
log kubectl -n rook-ceph describe CephCluster
|
||||
log kubectl -n rook-ceph describe CephBlockPool
|
||||
log kubectl -n rook-ceph describe CephFilesystem
|
||||
|
Loading…
Reference in New Issue
Block a user