Hey folks, I have three rgw clusters setup with multi-site. replication is bi-direcitonal for all zones between each cluster. They were running Luminous 12.2.12 before I upgraded them to Reef 18.2.2 We have an internal app that manages S3 buckets in ceph for users which uses the admin ops api. There was an option in the api to enable or disable replication but it looks like it was removed in Nautilus (`OPT_BUCKET_SYNC_ENABLE` in src/rgw/rgw_admin.cc in luminous or mimic branches). I know that `radosgw-admin` has a command to toggle bucket sync, but that's not scalable for our user count. What is the intended way to S3 manage bucket replication in Ceph? Thanks, Greg -- Gregory O’Neill
Hey, Greg. src/test/rgw/rgw_multi/tests.py may be helpful as it seems to include code that issues these requests, and rgw_rest_s3.cc <http://rgw_rest_s3.cc/> implements them. The specific API bits t though I’m unsure about. One might use tcpdump et al to trace a radosgw-admin invocation to determine the actual API call. Once we figure this out we can add it to doc/radosgw/s3/bucketops.rst
On May 19, 2025, at 6:38 PM, Gregory O'Neill <oneill.gs@gmail.com> wrote:
Hey folks,
I have three rgw clusters setup with multi-site. replication is bi-direcitonal for all zones between each cluster. They were running Luminous 12.2.12 before I upgraded them to Reef 18.2.2
We have an internal app that manages S3 buckets in ceph for users which uses the admin ops api. There was an option in the api to enable or disable replication but it looks like it was removed in Nautilus (`OPT_BUCKET_SYNC_ENABLE` in src/rgw/rgw_admin.cc in luminous or mimic branches). I know that `radosgw-admin` has a command to toggle bucket sync, but that's not scalable for our user count.
What is the intended way to S3 manage bucket replication in Ceph?
Thanks, Greg
--
Gregory O’Neill _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Anthony D'Atri
-
Gregory O'Neill