You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/07/11 12:55:00 UTC

[jira] [Updated] (HDDS-15831) CompleteMultipartUpload with no parts returns InvalidRequest instead of MalformedXML

     [ https://issues.apache.org/jira/browse/HDDS-15831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HDDS-15831:
----------------------------------
    Labels: pull-request-available  (was: )

> CompleteMultipartUpload with no parts returns InvalidRequest instead of MalformedXML
> ------------------------------------------------------------------------------------
>
>                 Key: HDDS-15831
>                 URL: https://issues.apache.org/jira/browse/HDDS-15831
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Huang Kuan Hao
>            Assignee: Huang Kuan Hao
>            Priority: Major
>              Labels: pull-request-available
>
> The Ceph s3-test test_multipart_upload_empty fails because CompleteMultipartUpload with an empty part list returns the wrong S3 error code. The HTTP status is already correct (400); only the error code differs.
> Failing Ceph s3-test (1):
> - test_multipart_upload_empty
> The test initiates a multipart upload, uploads no parts, then calls CompleteMultipartUpload with an empty \{{<CompleteMultipartUpload/>}} body.
> - Expected (AWS): HTTP 400 with error code \{{MalformedXML}}.
> - Ozone: HTTP 400 with error code \{{InvalidRequest}}.
> initiate MPU, upload 0 parts
> CompleteMultipartUpload (empty part list)
> AWS:   400 MalformedXML
> Ozone: 400 InvalidRequest ("You must specify at least one part")
> Ref: [https://ozone.s3.peterxcli.dev/]



--
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