[ 
https://issues.apache.org/jira/browse/HDDS-12871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018950#comment-18018950
 ] 

Ivan Andika edited comment on HDDS-12871 at 9/9/25 1:10 AM:
------------------------------------------------------------

FYI (Update). presigned PUT URL is already supported previously, but there is a 
regression introduced by HDDS-12935 which will return an error if 
"x-amz-content-sha256" does not exist although Presigned URL does not contain 
"x-amz-content-sha256" param. 

As [~hevinhsu] mentioned in 
[https://github.com/apache/ozone/pull/9000#issuecomment-3251895061] , the 
failure of this should be due to the lack of content hash validation of 
"x-amz-content-sha256". This can be supported in the future.


was (Author: JIRAUSER298977):
FYI (Update). presigned PUT URL is already supported previously, but there is a 
regression introduced by HDDS-12935 which will return an error if 
"x-amz-content-sha256" does not exist although Presigned URL does not contain 
the header. 

As [~hevinhsu] mentioned in 
[https://github.com/apache/ozone/pull/9000#issuecomment-3251895061] , the 
failure of this should be due to the lack of content hash validation of 
"x-amz-content-sha256". This can be supported in the future.

> Test failure in Presigned put by MinIO Mint
> -------------------------------------------
>
>                 Key: HDDS-12871
>                 URL: https://issues.apache.org/jira/browse/HDDS-12871
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Chung En Lee
>            Assignee: Chung En Lee
>            Priority: Major
>
> Refer to Tanvi’s MinIO Mint compatibility report, there are two test failures 
> for presigned put. See:
> {
>   "alert": "",
>   "args": \{
>     "bucketName": "aws-sdk-go-test-1scvh355gwpwud",
>     "expiry": 60000000000,
>     "objectName": "presignedTest"
>   },
>   "duration": 1441,
>   "error": "AWS S3 error code mismatch",
>   "function": "PresignedPut",
>   "message": "AWS SDK Go presigned PUT expected to fail with 
> XAmzContentSHA256Mismatch but got AccessDenied",
>   "name": "aws-sdk-go",
>   "status": "FAIL"
> }
> {
>   "name": "aws-sdk-ruby",
>   "function": "presignedPut(bucket_name,file_name)",
>   "args": \{
>     "bucket_name": "aws-sdk-ruby-bucket-7a141cf28192",
>     "file_name": "datafile-1-kB"
>   },
>   "duration": 60937.61,
>   "error": "execution expired",
>   "status": "FAIL"
> }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to