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: v17.1.0~3118^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a78dab9e53ea19488a7c8719852a46311841ae75;p=ceph.git qa/workunits/cephadm/test_cephadm: show exporter output Signed-off-by: Sage Weil --- 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" = "*" ]]