[ceph-users] (no subject)

2017-03-20 Thread Shaon
-- 
Imran Hossain Shaon | http://shaon.me/
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] radosgw: Multipart upload fails while using AWS Java SDK and signature v4

2017-03-20 Thread Shaon
r][\n]"
2017-03-20 09:29:10.061 DEBUG wire:72 - http-outgoing-0 >> "Connection:
Keep-Alive[\r][\n]"
2017-03-20 09:29:10.061 DEBUG wire:72 - http-outgoing-0 >> "Expect:
100-continue[\r][\n]"
2017-03-20 09:29:10.061 DEBUG wire:72 - http-outgoing-0 >> "[\r][\n]"
2017-03-20 09:29:10.104 DEBUG wire:72 - http-outgoing-0 << "HTTP/1.1 403
Forbidden[\r][\n]"
2017-03-20 09:29:10.105 DEBUG wire:72 - http-outgoing-0 <<
"x-amz-request-id: tx02011-0058d0034e-d83b-default[\r][\n]"
2017-03-20 09:29:10.106 DEBUG wire:72 - http-outgoing-0 << "Content-Length:
194[\r][\n]"
2017-03-20 09:29:10.106 DEBUG wire:72 - http-outgoing-0 << "Accept-Ranges:
bytes[\r][\n]"
2017-03-20 09:29:10.106 DEBUG wire:72 - http-outgoing-0 << "Content-Type:
application/xml[\r][\n]"
2017-03-20 09:29:10.107 DEBUG wire:72 - http-outgoing-0 << "Date: Mon, 20
Mar 2017 16:29:02 GMT[\r][\n]"
2017-03-20 09:29:10.107 DEBUG wire:72 - http-outgoing-0 << "Connection:
Keep-Alive[\r][\n]"
2017-03-20 09:29:10.107 DEBUG wire:72 - http-outgoing-0 << "[\r][\n]"
2017-03-20 09:29:10.146 DEBUG wire:86 - http-outgoing-0 << "SignatureDoesNotMatchtx02011-0058d0034e-d83b-defaultd83b-default-default"

​Please let me know if more information is required.

My initial assumption was that I am hitting this bug,
http://tracker.ceph.com/issues/17076

But according to the following email this was supposed to be fixed
in 10.2.6 which is the version I am using.
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2017-March/016617.html​

I was guessing if this has anything to with the way UploadId is​ passed in
clients like s3cmd,
resource[uri]=/tempfile17mb?partNumber=1&uploadId=2~hHwYZeWx0sfY0fzQpHT2WiYw8tNp4gN

vs. clients like AWS Java SDK
​,
​
"PUT
/testbucket/testkeyawssdk?uploadId=2%7Eo3Ixqoi90fZeQCVYpwAJloD5S3iz5S&partNumber=1

B
​ut then again, AWS Java SDK does the same thing while uploading using
signature v2.

Please let me know if this is an issue that is likely to be fixed or there
is any thing that I could do to workaround this error.

Thanks,
Shaon

​
​[1] https://gist.github.com/shaon/c6df5d62197c638abc2b02df9d3646c6​

-- 
Imran Hossain Shaon | http://shaon.me/
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com