]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: add debug log to help diagnose 'bucket check unlinked' failure 60001/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 26 Sep 2024 14:47:08 +0000 (10:47 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 26 Sep 2024 14:53:51 +0000 (10:53 -0400)
relates to https://tracker.ceph.com/issues/65654

Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/workunits/rgw/test_rgw_bucket_check.py

index bfa6d65d6e7796ce72dbcf5f16bc4036bcb60efc..33936df2401f020a5e8dc75b02936c4ab49e5c89 100755 (executable)
@@ -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}')