Feature #41061
closed
Add support for --bucket-id in radosgw-admin bucket stats command
Added by Vikhyat Umrao over 4 years ago.
Updated almost 4 years ago.
Backport:
nautilus, octopus
Description
Add support for `--bucket-id` in `radosgw-admin bucket stats` command. This will help when we know the bucket-id but not the bucket name. We do not have to run grep like this.
# radosgw-admin bucket stats | grep -B8 55c9e095-9d20-4a0f-91ef-35e786611b6f.927354.1
"bucket": "mybucket1",
"zonegroup": "e4460222-1aae-4c86-9c70-721cd9c13d86",
"placement_rule": "default-placement",
"explicit_placement": {
"data_pool": "",
"data_extra_pool": "",
"index_pool": ""
},
"id": "55c9e095-9d20-4a0f-91ef-35e786611b6f.927354.1",
RHBZ - https://bugzilla.redhat.com/show_bug.cgi?id=1749876
- Assignee set to Vikhyat Umrao
- This feature will help while troubleshooting Large OMAP objects issue because of bucket.instance objects. We can get the bucket id from bucket.instance.
2019-08-20 00:16:26.354331 osd.13 osd.13 192.168.42.218:6804/725336 469 :
cluster [WRN] Large omap object found. Object:
272:77fe05db:::.dir.7659bed4-dcd2-4616-95b3-4f7d971c6dd8.2907365.1:head
Key count: 2401160 Size (bytes): 459802197
- Status changed from New to In Progress
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 30024
- Backport changed from nautilus to nautilus, octopus
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #45316: nautilus: Add support for --bucket-id in radosgw-admin bucket stats command added
- Copied to Backport #45317: octopus: Add support for --bucket-id in radosgw-admin bucket stats command added
- Description updated (diff)
- Status changed from Pending Backport to Resolved
Also available in: Atom
PDF