From: Sage Weil Date: Fri, 29 Jan 2021 15:07:15 +0000 (-0600) Subject: qa/workunits/cephadm/test_cephadm: fix argument X-Git-Tag: v16.2.0~215^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39190%2Fhead;p=ceph.git qa/workunits/cephadm/test_cephadm: fix argument Signed-off-by: Sage Weil (cherry picked from commit 8c625c077b067380acbe005c2db818322011f56e) --- diff --git a/qa/workunits/cephadm/test_cephadm.sh b/qa/workunits/cephadm/test_cephadm.sh index 62ae40a89050..9a28e8e0071a 100755 --- a/qa/workunits/cephadm/test_cephadm.sh +++ b/qa/workunits/cephadm/test_cephadm.sh @@ -367,8 +367,8 @@ 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') +$CEPHADM shell --fsid $FSID --config $CONFIG --keyring $KEYRING ceph orch ls --service-type cephadm-exporter --format json +host_pattern=$($CEPHADM shell --fsid $FSID --config $CONFIG --keyring $KEYRING ceph orch ls --service-type cephadm-exporter --format json | jq -r '.[0].placement.host_pattern') [[ "$host_pattern" = "*" ]] ## run