[
https://issues.apache.org/jira/browse/HDDS-11457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-11457:
------------------------------------
Status: Patch Available (was: In Progress)
> 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
> Components: s3gateway
> Reporter: Maksim Myskov
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
>
> 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: [email protected]
For additional commands, e-mail: [email protected]