Skip to content

Commit af86cb5

Browse files
authored
Merge pull request ceph#60001 from cbodley/wip-65654-debug
qa/rgw: add debug log to help diagnose 'bucket check unlinked' failure Reviewed-by: J. Eric Ivancich <[email protected]>
2 parents 7ee0539 + fdecec7 commit af86cb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qa/workunits/rgw/test_rgw_bucket_check.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def main():
173173
exec_cmd(f'radosgw-admin bucket check --fix --bucket {BUCKET_NAME}')
174174
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')
175175
json_out = json.loads(out)
176+
log.info(f'"bucket check unlinked" returned {json_out}, expecting {unlinked_keys}')
176177
assert len(json_out) == len(unlinked_keys)
177178
bucket.object_versions.all().delete()
178179
out = exec_cmd(f'radosgw-admin bucket stats --bucket {BUCKET_NAME}')

0 commit comments

Comments
 (0)