Bug 2252263 - [RFE] Add new advanced feature to the RGW service spec file, to stop the RGW sending multisite sync data
Summary: [RFE] Add new advanced feature to the RGW service spec file, to stop the RGW ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 8.0
Assignee: Adam King
QA Contact: Anuchaithra
URL:
Whiteboard:
Depends On:
Blocks: 2317218
TreeView+ depends on / blocked
 
Reported: 2023-11-30 13:03 UTC by daniel parkes
Modified: 2024-11-25 09:00 UTC (History)
7 users (show)

Fixed In Version: ceph-19.1.0-3
Doc Type: Enhancement
Doc Text:
.Setting `rgw_run_sync_thread` to ‘false’ for Ceph Object gateway daemon users is now automated With this enhancement, by setting `disable_multisite_sync_traffic` to ‘true’ under the `spec` section of an Ceph Object Gateway specification, Cephadm will handle setting the `rgw_run_sync_thread` setting to ‘false’ for Ceph Object Gateway daemons under that service. That will stop the Ceph Object Gateway daemons from spawning threads to handle the sync of data and metadata. The process of setting `rgw_run_sync_thread` to ‘false’ for Ceph Object Gateway daemon users is now automated through the Ceph Object Gateway specification file.
Clone Of:
Environment:
Last Closed: 2024-11-25 09:00:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-7979 0 None None None 2023-11-30 13:04:04 UTC
Red Hat Product Errata RHBA-2024:10216 0 None None None 2024-11-25 09:00:17 UTC

Description daniel parkes 2023-11-30 13:03:24 UTC
Description of problem:

When configuring a multisite deployment, it is quite common practice to dedicate specific RGW services to the client IO, and other RGW services to take care of the multisite replication.

By default all RGWs participate in multisite replication, there are two steps needed to remove and RGW for participating in the multisite replication sync.

1. Set the ceph parameter on the RGW client:  ceph config set ${KEY_ID} rgw_run_sync_thread false , when false, prevents this object store''s gateways from transmitting multisite replication data

2. The previous parameter only tells the RGW not to SEND replication data, but it can keep receiving, to also avoid receiving we need to remove the RGWs from the zonegroup and zone replication endpoints.

From Cephadm point of view, to provide a way to configure this in the spec file it would be enough to address point 1, to add a new parameter in the spec file, something like the rook example: 

"disableMultisiteSyncTraffic: false"

There is also an example in rook around the same topic: https://github.com/rook/rook/pull/12327/files#diff-471e0bbca5b3e456a7a2fca6611d7c235e584dc0a297a00d40743ec571ddb393R211

For the second point I think we could just need to document, that the rgws with sync disable should be removed from the zone, zonegroup endpoints, like: https://github.com/rook/rook/pull/12327/files#diff-35a70e8ee5bd35588349525fa34d27ca5f1ceea83477d0275cb4d889b6d6a0cdR6001.

Comment 10 errata-xmlrpc 2024-11-25 09:00:12 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


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