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

Internal error on S3 CompleteMultipartUpload if parts are not specified

    XMLWordPrintableJSON

Details

    Description

      The following error can be received during multipart upload:

      An error occurred (500) when calling the CompleteMultipartUpload operation (reached max retries: 4): Internal Server Error 

      Reproduce steps:

      1. Create bucket:  aws s3api --endpoint http://s3g:9878 create-bucket --bucket test
      2. Create multipart upload: aws s3api --endpoint http://s3g:9878 create-multipart-upload --bucket test --key data
      3. Upload Part 1: aws s3api --endpoint http://s3g:9878 upload-part --bucket test --part-number 1 --upload-id 5eee13a8-e326-4e3f-935b-b948e04b2ef2-108397230370979845 --key data --body /etc/hosts
      4. Complete multipart upload without specifying parts: aws s3api --endpoint http://s3g:9878 complete-multipart-upload --bucket test --upload-id e901c545-81b0-4ccc-9d5b-2703243913a6-113126144083165185 --key data

      The Amazon S3 has the following output in this case:

      An error occured (InvalidRequest) when calling the CompleteMultipartUpload: You must specify at least one part

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              myskov Maksim Myskov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: