minio-multipart-upload #451

Closed
opened 2024-08-02 09:00:19 +00:00 by alexvanin · 3 comments
Owner

frostfs-aio v1.5.0 (frostfs-s3-gw v0.29.0)

minio-multipart-upload mechanism described in https://github.com/tuine/minio-multipart-upload seems broken for s3 gateway. Command below fails with access to object operation denied. as far as I know (didn't test locally).

Please check it on v0.29.0 and v0.30.1 (nightly-v1.6 branch of aio).

curl --location --request PUT 'presigned URL' \
--header 'Content-Type: application/pdf' \
--data 'pathtofile'
frostfs-aio v1.5.0 (frostfs-s3-gw v0.29.0) minio-multipart-upload mechanism described in https://github.com/tuine/minio-multipart-upload seems broken for s3 gateway. Command below fails with `access to object operation denied.` as far as I know (didn't test locally). Please check it on v0.29.0 and v0.30.1 (nightly-v1.6 branch of aio). ``` curl --location --request PUT 'presigned URL' \ --header 'Content-Type: application/pdf' \ --data 'pathtofile' ```
dkirillov was assigned by alexvanin 2024-08-02 09:00:54 +00:00
Author
Owner

Maybe some kludge setting should solve it, need to investigate.

Maybe some `kludge` setting should solve it, need to investigate.
Member

Couldn't reproduce this error neither on v0.29.x or v0.30.x. But got some other error:

org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.Element(name="PartNumberMarker", type=void.class, data=false, required=true) on field 'partNumberMarker' private int io.minio.messages.ListPartsResult.partNumberMarker for class io.minio.messages.ListPartsResult at line 2

org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.Element(name="NextPartNumberMarker", type=void.class, data=false, required=true) on field 'nextPartNumberMarker' private int io.minio.messages.ListPartsResult.nextPartNumberMarker for class io.minio.messages.ListPartsResult at line 2

and

2024-08-06 11:45:04.009  WARN 598097 --- [nio-8006-exec-1] io.minio.MinioClient                     : S3 service returned unknown XML for CompleteMultipartUpload REST API. <?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUploadResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Bucket>test2</Bucket><Key>test/tmp2.txt</Key><ETag>&#34;24c119568a1f9c2d6f2b0fa29a90943a-1&#34;</ETag></CompleteMultipartUploadResult>
Couldn't reproduce this error neither on v0.29.x or v0.30.x. But got some other error: ``` org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.Element(name="PartNumberMarker", type=void.class, data=false, required=true) on field 'partNumberMarker' private int io.minio.messages.ListPartsResult.partNumberMarker for class io.minio.messages.ListPartsResult at line 2 org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.Element(name="NextPartNumberMarker", type=void.class, data=false, required=true) on field 'nextPartNumberMarker' private int io.minio.messages.ListPartsResult.nextPartNumberMarker for class io.minio.messages.ListPartsResult at line 2 ``` and ``` 2024-08-06 11:45:04.009 WARN 598097 --- [nio-8006-exec-1] io.minio.MinioClient : S3 service returned unknown XML for CompleteMultipartUpload REST API. <?xml version="1.0" encoding="UTF-8"?> <CompleteMultipartUploadResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Bucket>test2</Bucket><Key>test/tmp2.txt</Key><ETag>&#34;24c119568a1f9c2d6f2b0fa29a90943a-1&#34;</ETag></CompleteMultipartUploadResult> ```
dkirillov referenced this issue from a commit 2024-08-08 07:55:18 +00:00
Member
Compatibility with https://github.com/tuine/minio-multipart-upload added in #454
alexvanin added this to the v0.31.0 milestone 2024-11-20 11:45:47 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#451
No description provided.