diff options
author | Casey Bodley <cbodley@users.noreply.github.com> | 2024-10-07 15:12:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-07 15:12:05 +0200 |
commit | af86cb51ba161cd7e38d7c98be5f80f3030a62d5 (patch) | |
tree | ae8d8059e4ab6906a12ead022a0142cd3c346bd5 /qa | |
parent | Merge pull request #60020 from soumyakoduri/wip-skoduri-lc-process (diff) | |
parent | qa/rgw: add debug log to help diagnose 'bucket check unlinked' failure (diff) | |
download | ceph-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-x | qa/workunits/rgw/test_rgw_bucket_check.py | 1 |
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}') |