]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: introduce rgw_bucket_eexist_override
authorMatt Benjamin <mbenjamin@redhat.com>
Sun, 9 Mar 2025 16:30:24 +0000 (12:30 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 7 May 2025 13:38:49 +0000 (09:38 -0400)
commitd3009d41bf93a30740db5ca67272b3e303512026
treee4adf886bf876b024966f08cc028e4803da6880f
parent9238442fda536976cb9292893f82503da7c5de16
rgw: introduce rgw_bucket_eexist_override

S3: conditionally override 200, OK result for same-owner
CreateBucket requests

* also send an error message to avoid confusing awscli
* maps ERR_BUCKET_EXISTS to the same result, message as EEXIST

Fixes: https://tracker.ceph.com/issues/70369
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
doc/radosgw/s3/bucketops.rst
src/common/options/rgw.yaml.in
src/rgw/rgw_common.cc
src/rgw/rgw_op.cc
src/rgw/rgw_rest_s3.cc