Repository navigation
rgw: return proper error code and message when creating an existing bucket - #68722
jzhu116-bloomberg wants to merge 4 commits into
Conversation
|
made changes on some existing s3 test cases to test the error code part of this PR: ceph/s3-tests#744 |
|
@jzhu116-bloomberg Is this ready for a review? If so, please add the needs-review labe. |
|
cc @mattbenjamin since this relates to rgw_bucket_eexist_override |
|
Gentle ping @mattbenjamin. Can you please take a look at this PR when you have a chance? Thanks! |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
628200b to
30cdec5
Compare
Config Diff Tool Output! changed: rgw_bucket_eexist_override: old: Overrides the documented RGW behavior that treats multiple CreateBucket operations by the same owner as idempotent (rgw.yaml.in)
! changed: rgw_bucket_eexist_override: new: Overrides the documented RGW behavior that treats multiple CreateBucket operations by the same owner as idempotent. Applies to the S3 API only; Swift container PUT stays idempotent. (rgw.yaml.in)
! changed: rgw_bucket_eexist_override: old: CreateBucket on an existing bucket of the same owner returns 409/EEXIST, regardless of region. (rgw.yaml.in)
! changed: rgw_bucket_eexist_override: new: CreateBucket on an existing bucket of the same owner returns 409 BucketAlreadyOwnedByYou, regardless of region. (rgw.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
|
Some new changes have been committed:
|
|
/config check ok |
e2bac5a to
bf7ebc1
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
…ucket Signed-off-by: Jane Zhu <[email protected]>
Signed-off-by: Jane Zhu <[email protected]>
Signed-off-by: Jane Zhu <[email protected]>
Signed-off-by: Jane Zhu <[email protected]>
bf7ebc1 to
3fbfd86
Compare
Make the behavior consistent with the following docs (except the reseting acl part for s3)
AWS s3: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html#API_CreateBucket_Errors
Swift create container (PUT): https://docs.openstack.org/api-ref/object-store/#create-container
Fixes: https://tracker.ceph.com/issues/76398
Signed-off-by: Jane Zhu [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.