From 6d18a33c368f3a956dee47563a6df3e8a392a212 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 28 Jan 2021 15:15:02 -0600 Subject: [PATCH] qa/workunits/cephadm/test_cephadm: show exporter output Signed-off-by: Sage Weil (cherry picked from commit a78dab9e53ea19488a7c8719852a46311841ae75) --- qa/workunits/cephadm/test_cephadm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/workunits/cephadm/test_cephadm.sh b/qa/workunits/cephadm/test_cephadm.sh index 56e538524e50d..62ae40a89050b 100755 --- a/qa/workunits/cephadm/test_cephadm.sh +++ b/qa/workunits/cephadm/test_cephadm.sh @@ -367,6 +367,7 @@ cond="curl -k -s -H \"Authorization: Bearer $token\" \ is_available "exporter_threads_active" "$cond" 3 # check we deployed for all hosts +$CEPHADM shell --fsid $FSID --config $CONFIG --keyring $KEYRING ceph orch ls cephadm-exporter --format json host_pattern=$($CEPHADM shell --fsid $FSID --config $CONFIG --keyring $KEYRING ceph orch ls cephadm-exporter --format json | jq -r '.[0].placement.host_pattern') [[ "$host_pattern" = "*" ]] -- 2.39.5