rclone/backend/s3
Nick Craig-Wood 964fcd5f59 s3: fix multitenant multipart uploads with CEPH
CEPH uses a special bucket form `tenant:bucket` for multitentant
access using S3 as documented here:

https://docs.ceph.com/en/reef/radosgw/multitenancy/#s3

However when doing multipart uploads, in the reply from
`CreateMultipart` the `tenant:` was missing from the `Bucket` response
rclone was using to build the `UploadPart` request. This caused a 404
failure return. This may be a CEPH bug, but it is easy to work around.

This changes the code to use the `Bucket` and `Key` that we used in
`CreateMultipart` in `UploadPart` rather than the one returned from
`CreateMultipart` which fixes the problem.

See: https://forum.rclone.org/t/rclone-zcat-does-not-work-with-a-multitenant-ceph-backend/48618
2024-11-21 11:04:49 +00:00
..
gen_setfrom.go s3: update to using AWS SDK v2 - fixes #4989 2024-08-07 12:13:13 +01:00
s3.go s3: fix multitenant multipart uploads with CEPH 2024-11-21 11:04:49 +00:00
s3_internal_test.go s3: fix Cloudflare R2 integration tests after SDKv2 update #4989 2024-08-07 12:13:13 +01:00
s3_test.go s3: fix testing tiers which don't exist except on AWS 2024-11-20 12:08:23 +00:00
setfrom.go s3: update to using AWS SDK v2 - fixes #4989 2024-08-07 12:13:13 +01:00
v2sign.go s3: update to using AWS SDK v2 - fixes #4989 2024-08-07 12:13:13 +01:00