Merge pull request #67723 from perezjosibm/wip-perezjos-tracker75202

qa/workunits: add crimson/test_crimson_dump_metrics.sh
This commit is contained in:
Jose Juan Palacios-Perez 2026-03-25 11:04:32 +00:00 committed by GitHub
commit 4b3eb2e2bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -27,4 +27,4 @@ tasks:
- workunit:
clients:
client.0:
- cephtool/test_crimson_dump_metrics.sh
- crimson/test_crimson_dump_metrics.sh

View File

@ -5,6 +5,9 @@
set -x
function test_dump_metrics() {
# Skip this test unless the osd_type is crimson:
[ "$(ceph osd metadata 0 | jq -r '.osd_type')" == "crimson" ] || return 0
# Ensure can get dump_metrics full
ceph tell osd.0 dump_metrics 2>/dev/null > /tmp/dump_metrics_full.json || true