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 2342928

Summary: Unable to Delete Objects when RADOS Pool quota hits Max
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: daniel parkes <dparkes>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: Vidushi Mishra <vimishra>
Severity: high Docs Contact: Rivka Pollack <rpollack>
Priority: high    
Version: 7.1CC: bhubbard, cbodley, ceph-eng-bugs, cephqe-warriors, gsitlani, ngangadh, nojha, rpollack, tserlin, vimishra, vumrao
Target Milestone: ---   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-116.el9cp Doc Type: Bug Fix
Doc Text:
.Ceph Object Gateway can now delete objects when RADOS is at maximum pool capacity Previously, when a RADOS pool was near its maximum quota, the Ceph Object Gateway was not able to delete objects. With this fix, Ceph Object Gateway can delete objects even when RADOS has reached its maximum pool threshold.
Story Points: ---
Clone Of:
: 2345560 (view as bug list) Environment:
Last Closed: 2025-06-26 12:24:40 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: 2345560, 2351689    

Description daniel parkes 2025-01-30 06:57:38 UTC
Description of problem:

Issue Hit by the IBM Ceph as a service Object Storage team. They use RADOS pool quotas to enforce a quota on the RGW data pool at the cluster level.

"When an S3 data pool has quota configured, and enough data is uploaded to the store to hit the quota max, we cannot delete objects to drop below the quota max and enable S3 I/O to continue."

This current behavior freezes all customer IOs until they open a support ticket, and an SRE works on the ticket to expand the pool quota for the end user, which is not a good experience.

I did some quick testing, and it seems this behavior happens at the Rados level, not in the RGW client:

ceph df detail | grep testpool
testpool 27 32 62 MiB 62 MiB 0 B 13 186 MiB 186 MiB 0 B 0.10 62 GiB N/A 48 MiB N/A 0 B 0 B
And I can't delete any object at the rados level until I increase the quota size; the rm just hangs.

[root@ceph-node-04 ~]# rados -p testpool rm largeobj2
^C

Once I increase the quota, I can delete:

[root@ceph-node-04 ~]# ceph osd pool set-quota testpool max_bytes 80485760
set-quota max_bytes = 80485760 for pool testpool
[root@ceph-node-04 ~]# rados -p testpool rm largeobj
[root@ceph-node-04 ~]#

Thanks

Comment 6 errata-xmlrpc 2025-06-26 12:24:40 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 (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), 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/RHSA-2025:9775