You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tejaskriya Madhan (Jira)" <ji...@apache.org> on 2023/09/19 07:57:00 UTC
[jira] [Created] (HDDS-9314) create-bucket on an existing bucket for s3g does not fail
Tejaskriya Madhan created HDDS-9314:
---------------------------------------
Summary: create-bucket on an existing bucket for s3g does not fail
Key: HDDS-9314
URL: https://issues.apache.org/jira/browse/HDDS-9314
Project: Apache Ozone
Issue Type: Bug
Components: S3
Reporter: Tejaskriya Madhan
Assignee: Tejaskriya Madhan
Recreate on bucket should throw BucketAlreadyExists Error.
But in case of ozone its always return exit code 0 on create-bucket even though it exists:
{code:java}
$ aws s3api --endpoint http://localhost:9878 create-bucket --bucket buckettest
{
"Location": "http://localhost:9878/buckettest"
}
$ aws s3api --endpoint http://localhost:9878 create-bucket --bucket buckettest
{
"Location": "http://localhost:9878/buckettest"
} {code}
--
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