qa/workunits/cephadm/test_cephadm: show exporter output

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2021-01-28 15:15:02 -06:00
parent f394eafd64
commit a78dab9e53

View File

@ -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" = "*" ]]