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

Ozone s3 API return 400 Bad Request for head-bucket for non existing bucket

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.0.0
    • S3

    Description

      Ozone s3 API returns 400 Bad Request for head-bucket for non-existing bucket.

      hrt_qa$ aws s3api --ca-bundle=/usr/local/share/ca-certificates/ca.crt --endpoint https://s3g:9879/ head-bucket --bucket fsdghj

      An error occurred (400) when calling the HeadBucket operation: Bad Request

      It should return 404 as per AWS documentation:
      https://docs.aws.amazon.com/cli/latest/reference/s3api/head-bucket.html

      A client error (404) occurred when calling the HeadBucket operation: Not Found

      Attachments

        Issue Links

          Activity

            People

              bharat Bharat Viswanadham
              nmaheshwari Namit Maheshwari
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: