Deleting S3 bucket replication
Delete a replication configuration from a bucket.
Before you begin
- A running IBM Storage Ceph 9.9.09.9.1 cluster with Multi-site Ceph object Gateway configured. For more information on creating multi-site sync policies, see Creating a sync policy group.
- Zonegroup-level policy is created. For more information on creating zone group policies, see Bucket granular sync policies.
About this task
You can delete a replication configuration from a bucket. The bucket owner can grant permission to others to remove the replication configuration.
Note: It can take a while to delete the replication configuration.
Procedure
Delete the S3 API put bucket replication.
aws s3api delete-bucket-replication --bucket BUCKET_NAME --endpoint-url=RADOSGW_ENDPOINT_URL
For example,
[root@host01 ~]# aws s3api delete-bucket-replication --bucket testbucket --endpoint-url=http://host01:80
What to do next
- Verify that the existing replication rules are deleted.
radosgw-admin sync policy get --bucket=BUCKET_NAMEFor example,[ceph: root@host01 /]# radosgw-admin sync policy get --bucket=testbucket