From: Sage Weil Date: Thu, 28 Jan 2021 21:15:02 +0000 (-0600) Subject: qa/workunits/cephadm/test_cephadm: show exporter output X-Git-Tag: v16.2.0~215^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6d18a33c368f3a956dee47563a6df3e8a392a212;p=ceph.git qa/workunits/cephadm/test_cephadm: show exporter output Signed-off-by: Sage Weil (cherry picked from commit a78dab9e53ea19488a7c8719852a46311841ae75) --- diff --git a/qa/workunits/cephadm/test_cephadm.sh b/qa/workunits/cephadm/test_cephadm.sh index 56e538524e50..62ae40a89050 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" = "*" ]]