From 6a56d85f19642906492ff975dd7e948b242f3af9 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Mon, 20 Mar 2023 21:07:32 +0000 Subject: [PATCH] qa/standalone/scrub/osd-scrub-dump.sh: drop unnecessary primary lookup 1e44d86b2 swapped this to a pg tell command which doesn't actually need the primary specified. Drop the now unnecessary lookup. Signed-off-by: Samuel Just --- qa/standalone/scrub/osd-scrub-dump.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/qa/standalone/scrub/osd-scrub-dump.sh b/qa/standalone/scrub/osd-scrub-dump.sh index f21ec78013fa..0129114625aa 100755 --- a/qa/standalone/scrub/osd-scrub-dump.sh +++ b/qa/standalone/scrub/osd-scrub-dump.sh @@ -85,7 +85,6 @@ function TEST_recover_unexpected() { for qpg in $(ceph pg dump pgs --format=json-pretty | jq '.pg_stats[].pgid') do - primary=$(ceph pg dump pgs --format=json | jq ".pg_stats[] | select(.pgid == $qpg) | .acting_primary") eval pg=$qpg # strip quotes around qpg ceph tell $pg scrub done -- 2.47.3