You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Maksim Myskov (Jira)" <ji...@apache.org> on 2024/09/12 19:24:00 UTC

[jira] [Created] (HDDS-11457) Internal error on S3 CompleteMultipartUpload if parts are not specified

Maksim Myskov created HDDS-11457:
------------------------------------

             Summary: Internal error on S3 CompleteMultipartUpload if parts are not specified
                 Key: HDDS-11457
                 URL: https://issues.apache.org/jira/browse/HDDS-11457
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Maksim Myskov


The following error can be received during multipart upload:
{code:java}
An error occurred (500) when calling the CompleteMultipartUpload operation (reached max retries: 4): Internal Server Error {code}
Reproduce steps:
 # Create bucket:  aws s3api --endpoint http://s3g:9878 create-bucket --bucket test
 # Create multipart upload: aws s3api --endpoint http://s3g:9878 create-multipart-upload --bucket test --key data
 # 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
 # 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:
{code:java}
An error occured (InvalidRequest) when calling the CompleteMultipartUpload: You must specify at least one part{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