summaryrefslogtreecommitdiffstats
path: root/qa
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@users.noreply.github.com>2024-10-07 15:12:05 +0200
committerGitHub <noreply@github.com>2024-10-07 15:12:05 +0200
commitaf86cb51ba161cd7e38d7c98be5f80f3030a62d5 (patch)
treeae8d8059e4ab6906a12ead022a0142cd3c346bd5 /qa
parentMerge pull request #60020 from soumyakoduri/wip-skoduri-lc-process (diff)
parentqa/rgw: add debug log to help diagnose 'bucket check unlinked' failure (diff)
downloadceph-af86cb51ba161cd7e38d7c98be5f80f3030a62d5.tar.xz
ceph-af86cb51ba161cd7e38d7c98be5f80f3030a62d5.zip
Merge pull request #60001 from cbodley/wip-65654-debug
qa/rgw: add debug log to help diagnose 'bucket check unlinked' failure Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Diffstat (limited to 'qa')
-rwxr-xr-xqa/workunits/rgw/test_rgw_bucket_check.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/workunits/rgw/test_rgw_bucket_check.py b/qa/workunits/rgw/test_rgw_bucket_check.py
index bfa6d65d6e7..33936df2401 100755
--- a/qa/workunits/rgw/test_rgw_bucket_check.py
+++ b/qa/workunits/rgw/test_rgw_bucket_check.py
@@ -173,6 +173,7 @@ def main():
exec_cmd(f'radosgw-admin bucket check --fix --bucket {BUCKET_NAME}')
out = exec_cmd(f'radosgw-admin bucket check unlinked --bucket {BUCKET_NAME} --fix --min-age-hours 0 --rgw-olh-pending-timeout-sec 0 --dump-keys')
json_out = json.loads(out)
+ log.info(f'"bucket check unlinked" returned {json_out}, expecting {unlinked_keys}')
assert len(json_out) == len(unlinked_keys)
bucket.object_versions.all().delete()
out = exec_cmd(f'radosgw-admin bucket stats --bucket {BUCKET_NAME}')