Bug 2252291

Summary: RGW read affinity similar to RBD read affinity
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: iwatson
Component: RGWAssignee: Jiffin <jthottan>
Status: CLOSED ERRATA QA Contact: Tejas <tchandra>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: akraj, ceph-eng-bugs, cephqe-warriors, etamir, jthottan, mbenjamin, tserlin
Target Milestone: ---   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.1.0-64.el9cp Doc Type: Enhancement
Doc Text:
.Improved read operations for Ceph Object Gateway With this enhancement, read affinity is added to the Ceph Object Gateway. The read affinity allows read calls to the nearest OSD by adding the flags and setting the correct CRUSH location.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-25 09:00:21 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: 2317218    

Description iwatson 2023-11-30 16:14:20 UTC
This RFE is a follow on from https://bugzilla.redhat.com/show_bug.cgi?id=2188336.

Targeting a specific ask to the Ceph RGW team since the RFE above covers multiple requests.

The RFE is to implement CephRGW read affinity when responding to 'get object' requests. RBD implemented a similar solution in [1][2].

[1] https://kubernetes.io/docs/concepts/services-networking/topology-aware-hints/
[2] https://blog.rook.io/rook-v1-11-storage-enhancements-8001aa67e10e

The CephRGW read affinity was discussed here in June/July [3]. Read affinity can be turned on at a pool level. As RGW uses several pools further investigation is needed to determine whether the flag can be turned on for all pools or a subset. 

[3] https://lists.ceph.io/hyperkitty/list/dev@ceph.io/thread/42LBRPAS232JSIBMJ4RDGAUIY2HDKTM2/

The business requirements for this RFE is to reduce WAN / cross-AZ traffic when using Ceph RGW. If implemented this will reduce our customers WAN bills and bandwith used.  

Note that the customer behind this RFE is using ODF spanned across several zones which have high WAN costs.

Comment 1 RHEL Program Management 2023-11-30 16:14:32 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 11 errata-xmlrpc 2024-11-25 09:00:21 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 8.0 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/RHBA-2024:10216