From e3e0e2a3ba567ceb0d4d9bd306462737331aeb74 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 29 Jan 2021 09:07:15 -0600 Subject: [PATCH] qa/workunits/cephadm/test_cephadm: fix argument Signed-off-by: Sage Weil (cherry picked from commit 8c625c077b067380acbe005c2db818322011f56e) --- qa/workunits/cephadm/test_cephadm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3