+++ This bug was initially created as a clone of Bug #2336983 +++ Description of problem: Customer excepts different behavior for RGW bucket creation. Ask is an option that when enabled will cause RGW to always return 409 if a CreateBucket call is made for a bucket that already exists. When false (default) the current 200 behavior will continue. The behavior that is documented here: https://docs.ceph.com/en/latest/radosgw/s3/bucketops/#http-response, is what Casey mentioned if it's the same owner, you don't get any message/error if it's a different owner, you get a 409 BucketAlreadyExists . Version-Release number of selected component (if applicable): 7.1* currently, expected to be the same with 8.x. Probably requires a 7.1* backport. How reproducible: ``` [root@ceph01 ~]# aws s3 mb s3://testingb --region default make_bucket: testingb [root@ceph01 ~]# aws s3 mb s3://testingb --region default make_bucket: testingb [root@ceph01 ~]# radosgw-admin bucket list | grep protect "protect" [root@ceph01 ~]# aws s3 mb s3://protect --region default make_bucket failed: s3://protect An error occurred (BucketAlreadyExists) when calling the CreateBucket operation: Cannot modify existing access control policy [root@ceph01 ~]# aws s3api create-bucket --bucket protect --region default An error occurred (BucketAlreadyExists) when calling the CreateBucket operation: Cannot modify existing access control policy ``` Steps to Reproduce: 1. 2. 3. Actual results: 409 Expected results: 200 Additional info:
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 7.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:4664