Bug 2121519

Summary: RGW: set chunk size to stripe size if larger than stripe size
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Kyle Bader <kbader>
Component: RGWAssignee: Casey Bodley <cbodley>
Status: CLOSED ERRATA QA Contact: Chaithra <ckulal>
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 5.1CC: cbodley, ceph-eng-bugs, cephqe-warriors, ckulal, kbader, mbenjamin, rpollack, tserlin, vdas
Target Milestone: ---   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-132.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 12:11:48 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:

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