]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/cephadm/test_cephadm: show exporter output
authorSage Weil <sage@newdream.net>
Thu, 28 Jan 2021 21:15:02 +0000 (15:15 -0600)
committerSage Weil <sage@newdream.net>
Sat, 30 Jan 2021 16:15:16 +0000 (10:15 -0600)
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit a78dab9e53ea19488a7c8719852a46311841ae75)

qa/workunits/cephadm/test_cephadm.sh

index 56e538524e50dc5beac604408b7189e40951f363..62ae40a89050b57bacfa85788890417ad27b2d7c 100755 (executable)
@@ -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" = "*" ]]