Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9314

create-bucket on an existing bucket for s3g does not fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • S3

    Description

      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:

      $ 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"
      } 

      Attachments

        Issue Links

          Activity

            People

              tejaskriya09 Tejaskriya Madhan
              tejaskriya09 Tejaskriya Madhan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: