You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Gargi Jaiswal (Jira)" <ji...@apache.org> on 2026/06/18 11:37:00 UTC

[jira] [Created] (HDDS-15608) Return BucketAlreadyOwnedByYou when the same S3 owner recreates an existing bucket

Gargi Jaiswal created HDDS-15608:
------------------------------------

             Summary: Return BucketAlreadyOwnedByYou when the same S3 owner recreates an existing bucket
                 Key: HDDS-15608
                 URL: https://issues.apache.org/jira/browse/HDDS-15608
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: S3
            Reporter: Gargi Jaiswal
            Assignee: Gargi Jaiswal


s3-tests {color:#00875a}{{test_bucket_create_exists}}{color} fails when the same S3 client creates a bucket twice. Ozone S3 Gateway always returns 409 with error code {*}{{BucketAlreadyExists}}{*}.

AWS S3 expects:
||Scenario||HTTP||Error code||
|Same S3 owner creates a bucket that already exists|409|{{BucketAlreadyOwnedByYou}}|
|Different S3 owner creates a bucket with an existing global name|409|{{BucketAlreadyExists}}|

Add *{{BUCKET_ALREADY_OWNED_BY_YOU}}* to {color:#00875a}{{S3ErrorTable}}{color} ({{{}BucketAlreadyOwnedByYou{}}}, HTTP 409) and return when same S3 owner creates a bucket that already exists



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org