Bug 2121519 - RGW: set chunk size to stripe size if larger than stripe size
Summary: RGW: set chunk size to stripe size if larger than stripe size
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 5.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 8.1
Assignee: Casey Bodley
QA Contact: Chaithra
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-25 17:50 UTC by Kyle Bader
Modified: 2025-06-26 12:11 UTC (History)
9 users (show)

Fixed In Version: ceph-19.2.1-132.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-06-26 12:11:48 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-5152 0 None None None 2022-08-25 18:02:45 UTC
Red Hat Product Errata RHSA-2025:9775 0 None None None 2025-06-26 12:11:51 UTC

Description Kyle Bader 2022-08-25 17:50:38 UTC
Description of problem:

By default rgw_max_chunk_size is 4MB and rgw_obj_stripe_size is 4MB

rgw_max_chunk_size needs to be <= rgw_obj_stripe_size

If it's not, and a client makes a PutObject call > rgw_obj_stripe_size, then it will fail (closes connection IIRC).

RHCS 5.1

How reproducible:

Easy, see above.

Steps to Reproduce:
1. Wet rgw_max_chunk_size to 16MB
2. Restart RGWs
3. PutObject > 4MB

Actual results:

Exception, connection closed.

Expected results:

RGW log a warning on startup and set rgw_max_chunk_size = rgw_obj_stripe_size if rgw_max_chunk_size > rgw_obj_stripe_size.

Comment 1 RHEL Program Management 2022-08-25 17:50:47 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 21 errata-xmlrpc 2025-06-26 12:11:48 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


Note You need to log in before you can comment on or make changes to this bug.