diff --git a/tests/get_logs.sh b/tests/get_logs.sh index 5e567fbce8..319c419917 100644 --- a/tests/get_logs.sh +++ b/tests/get_logs.sh @@ -90,7 +90,7 @@ copy_logs() { # cephadm related logs mkdir -p ${LOG_DIR}/ceph sudo cp /etc/ceph/ceph.conf ${LOG_DIR}/ceph - sudo cp -Rf /var/run/ceph/* ${LOG_DIR}/ceph + sudo cp /var/run/ceph/*/cluster.yml ${LOG_DIR}/ceph/cluster.yml sudo cephadm shell -- ceph --connect-timeout 5 -s > ${LOG_DIR}/ceph/ceph_s.txt sudo cephadm shell -- ceph --connect-timeout 5 osd tree > ${LOG_DIR}/ceph/ceph_osd_tree.txt