Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1749876

Summary: [RFE] radosgw-admin: add support for --bucket-id in bucket stats command
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vikhyat Umrao <vumrao>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: Vidushi Mishra <vimishra>
Severity: medium Docs Contact: Amrita <asakthiv>
Priority: unspecified    
Version: 3.3CC: asakthiv, cbodley, ceph-eng-bugs, gsitlani, kbader, kdreyer, mbenjamin, sweil, vereddy, vimishra
Target Milestone: ---Keywords: FutureFeature, TestOnly
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.0.0-8633.el8cp Doc Type: Enhancement
Doc Text:
.Bucket name or ID is supported in the `radosgw-admin bucket stats` command. With this release, the bucket name or ID can be used as an argument in the `radosgw-admin bucket stats` command. Bucket stats reports the non-current bucket instances which can be used in debugging a class of large OMAP object warnings that is the Ceph OSD log.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:22:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1727980, 1959686    

Description Vikhyat Umrao 2019-09-06 15:57:29 UTC
Description of problem:
[RFE] radosgw-admin: add support for --bucket-id in bucket stats command
https://tracker.ceph.com/issues/41061

- This feature will help while troubleshooting Large OMAP objects issue because of bucket.instance objects. We can get the bucket id from the shard object if the bucket is sharded we need to just drop the last digit.

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

Version-Release number of selected component (if applicable):
RHCS 3.3

Comment 3 Ken Dreyer (Red Hat) 2021-01-12 23:50:58 UTC
Upstream tracker indicates this was fixed in v14.2.10 upstream. We shipped this fix in RHCS 4 when we shipped v14.2.11 in https://access.redhat.com/errata/RHSA-2021:0081

This bug tracks testing in RHCS 5.

Comment 8 errata-xmlrpc 2021-08-30 08:22:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3294

Comment 9 Red Hat Bugzilla 2023-09-15 00:18:35 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days