Project

General

Profile

Actions

Bug #64264

closed

RGW:use radosgw-admin list object in bucket, radosgw-admin -h no useful info

Added by zhipeng li 3 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

[root@node106 ~]# radosgw-admin bucket list
[
"beijing/bucket01"
]
[root@node106 ~]# s3cmd ls s3://bucket01
2024-01-31 06:53 1210 s3://bucket01/123.txt
2024-01-31 06:35 1210 s3://bucket01/anaconda-ks.cfg

[root@node106 build]# radosgw-admin -h |grep -i -E "marker|max-entr"
mdlog trim trim metadata log (use marker)
bilog trim trim bucket index log (use start-marker, end-marker)
--max-entries=<entries> max entries for listing operations

[root@node106 ~]# radosgw-admin bucket list --bucket=beijing/bucket01 --max-entries=1 --marker=123.txt
[ {
"name": "anaconda-ks.cfg",
"instance": "",
"ver": {
"pool": 7,
"epoch": 1
},
"locator": "",
"exists": true,
"meta": {
"category": 1,
"size": 1210,
"mtime": "2024-01-31T06:35:15.270840Z",
"etag": "e8ee3eaa8853a54435b7939fa813f2b0",
"storage_class": "STANDARD",
"owner": "beijing$u22",
"owner_display_name": "test user",
"content_type": "text/plain",
"accounted_size": 1210,
"user_data": "",
"appendable": false
},
"tag": "51063525-d19f-4e34-8380-0cbc5aced196.4378.9140800260029420562",
"flags": 0,
"pending_map": [],
"versioned_epoch": 0
}
]

Actions #2

Updated by Casey Bodley 3 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 55390
Actions #3

Updated by Casey Bodley about 2 months ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF