ci: dump the rbd-nbd logs

print the rbd-nbd logs from the VM location /var/log/ceph/

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
Prasanna Kumar Kalever 2021-08-12 19:40:40 +05:30 committed by mergify[bot]
parent 2f24c7f47d
commit a373882099

View File

@ -39,6 +39,9 @@ log minikube_ssh journalctl --boot
log df -hT
log minikube_ssh df -hT
# get the rbd-nbd logs from the VM and write them to stdout
log minikube_ssh "sudo find /var/log/ceph/ -type f | xargs sudo tail -n +1"
# fetch all logs from /var/lib/rook in the VM and write them to stdout
log minikube_ssh sudo tar c /var/lib/rook | tar xvO