This is my testing following my previous question
What is the problem you are having with rclone?
Using B2 via S3 for multipart uploads (testing) is giving ACL issues.
What is your rclone version (output from rclone version
)
rclone v1.52.0
- os/arch: darwin/amd64
- go version: go1.14.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
macOS 10.14.6
Which cloud storage system are you using? (eg Google Drive)
S3 via Backblaze (as opposed to B2 API)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone --config rclone.cfg \
--s3-disable-checksum \
--s3-upload-cutoff 1M \
--s3-chunk-size 5M \
--s3-upload-concurrency 4 \
-vv \
copyto random.bin s3A:jgwrclonetest/random.bin
And the same thing with s3B
Config:
[s3A]
type = s3
provider = other
env_auth = false
access_key_id = **REDACTED**
secret_access_key = *REDACTED**
endpoint = s3.us-west-000.backblazeb2.com
acl = bucket-owner-full-control
[s3B]
type = s3
provider = other
env_auth = false
access_key_id = *REDACTED**
secret_access_key = *REDACTED**
endpoint = s3.us-west-000.backblazeb2.com
acl = private
Also tested without --s3-disable-checksum
though the whole point is I want to see it
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
With s3A
:
2020/06/02 09:37:11 DEBUG : rclone: Version "v1.52.0" starting with parameters ["rclone" "--config" "rclone.cfg" "--s3-disable-checksum" "--s3-upload-cutoff" "1M" "--s3-chunk-size" "5M" "--s3-upload-concurrency" "4" "-vv" "copyto" "random.bin" "s3A:jgwrclonetest/random.bin"]
2020/06/02 09:37:11 DEBUG : Using config file from "**REDACTED**"
2020/06/02 09:37:11 DEBUG : fs cache: renaming cache item "random.bin" to be canonical "**REDACTED**"
2020/06/02 09:37:11 DEBUG : fs cache: renaming cache item "s3A:jgwrclonetest/" to be canonical "s3A:jgwrclonetest"
2020/06/02 09:37:11 DEBUG : random.bin: Modification times differ by -10m29.977932095s: 2020-06-02 09:31:32.624884541 -0600 MDT, 2020-06-02 09:21:02.646952446 -0600 MDT
2020/06/02 09:37:11 DEBUG : random.bin: MD5 = 90490a1d66ba164012dd3baa3328765c (Local file system at **REDACTED**)
2020/06/02 09:37:11 DEBUG : random.bin: MD5 = 0d3be77889dec53c705843951cc2501d (S3 bucket jgwrclonetest)
2020/06/02 09:37:11 DEBUG : random.bin: MD5 differ
2020/06/02 09:37:11 ERROR : random.bin: Failed to copy: InvalidArgument: Backblaze does not support the canned acl 'bucket-owner-full-control'
status code: 400, request id: 2a207a39980321e3, host id: aNy5mojcdNyI5QTljZFphMmGwZOg5YjPU
2020/06/02 09:37:11 ERROR : Attempt 1/3 failed with 1 errors and: InvalidArgument: Backblaze does not support the canned acl 'bucket-owner-full-control'
status code: 400, request id: 2a207a39980321e3, host id: aNy5mojcdNyI5QTljZFphMmGwZOg5YjPU
2020/06/02 09:37:11 DEBUG : random.bin: Modification times differ by -10m29.977932095s: 2020-06-02 09:31:32.624884541 -0600 MDT, 2020-06-02 09:21:02.646952446 -0600 MDT
2020/06/02 09:37:11 DEBUG : random.bin: MD5 = 90490a1d66ba164012dd3baa3328765c (Local file system at **REDACTED**)
2020/06/02 09:37:11 DEBUG : random.bin: MD5 = 0d3be77889dec53c705843951cc2501d (S3 bucket jgwrclonetest)
2020/06/02 09:37:11 DEBUG : random.bin: MD5 differ
2020/06/02 09:37:11 ERROR : random.bin: Failed to copy: InvalidArgument: Backblaze does not support the canned acl 'bucket-owner-full-control'
status code: 400, request id: 73bcdc7f39839f10, host id: aN9FmIzciNx85OTnNZBBhSmEoZI85FjO0
2020/06/02 09:37:11 ERROR : Attempt 2/3 failed with 1 errors and: InvalidArgument: Backblaze does not support the canned acl 'bucket-owner-full-control'
status code: 400, request id: 73bcdc7f39839f10, host id: aN9FmIzciNx85OTnNZBBhSmEoZI85FjO0
2020/06/02 09:37:12 DEBUG : random.bin: Modification times differ by -10m29.977932095s: 2020-06-02 09:31:32.624884541 -0600 MDT, 2020-06-02 09:21:02.646952446 -0600 MDT
2020/06/02 09:37:12 DEBUG : random.bin: MD5 = 90490a1d66ba164012dd3baa3328765c (Local file system at **REDACTED**)
2020/06/02 09:37:12 DEBUG : random.bin: MD5 = 0d3be77889dec53c705843951cc2501d (S3 bucket jgwrclonetest)
2020/06/02 09:37:12 DEBUG : random.bin: MD5 differ
2020/06/02 09:37:12 ERROR : random.bin: Failed to copy: InvalidArgument: Backblaze does not support the canned acl 'bucket-owner-full-control'
status code: 400, request id: c70438f1d1b654ba, host id: aN8tmBjfQNzc5PTlDZCNhHWFWZPg57DNV
2020/06/02 09:37:12 ERROR : Attempt 3/3 failed with 1 errors and: InvalidArgument: Backblaze does not support the canned acl 'bucket-owner-full-control'
status code: 400, request id: c70438f1d1b654ba, host id: aN8tmBjfQNzc5PTlDZCNhHWFWZPg57DNV
2020/06/02 09:37:12 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.1s
2020/06/02 09:37:12 DEBUG : 4 go routines active
2020/06/02 09:37:12 Failed to copyto: InvalidArgument: Backblaze does not support the canned acl 'bucket-owner-full-control'
status code: 400, request id: c70438f1d1b654ba, host id: aN8tmBjfQNzc5PTlDZCNhHWFWZPg57DNV
And with s3B
:
2020/06/02 09:39:23 DEBUG : rclone: Version "v1.52.0" starting with parameters ["rclone" "--config" "rclone.cfg" "--s3-disable-checksum" "--s3-upload-cutoff" "1M" "--s3-chunk-size" "5M" "--s3-upload-concurrency" "4" "-vv" "copyto" "random.bin" "s3B:jgwrclonetest/random.bin"]
2020/06/02 09:39:23 DEBUG : Using config file from "**REDACTED**/rclone.cfg"
2020/06/02 09:39:23 DEBUG : fs cache: renaming cache item "random.bin" to be canonical "**REDACTED**"
2020/06/02 09:39:23 DEBUG : fs cache: renaming cache item "s3B:jgwrclonetest/" to be canonical "s3B:jgwrclonetest"
2020/06/02 09:39:23 DEBUG : random.bin: Modification times differ by -10m29.977932095s: 2020-06-02 09:31:32.624884541 -0600 MDT, 2020-06-02 09:21:02.646952446 -0600 MDT
2020/06/02 09:39:23 DEBUG : random.bin: MD5 = 90490a1d66ba164012dd3baa3328765c (Local file system at **REDACTED**)
2020/06/02 09:39:23 DEBUG : random.bin: MD5 = 0d3be77889dec53c705843951cc2501d (S3 bucket jgwrclonetest)
2020/06/02 09:39:23 DEBUG : random.bin: MD5 differ
2020/06/02 09:39:23 ERROR : random.bin: Failed to copy: multipart upload failed to initialise: InvalidArgument: Backblaze does not support the 'x-amz-acl' header
status code: 400, request id: 326227602be84b9c, host id: adYlu+msEbvNvA3cHbh0=
2020/06/02 09:39:23 ERROR : Attempt 1/3 failed with 1 errors and: multipart upload failed to initialise: InvalidArgument: Backblaze does not support the 'x-amz-acl' header
status code: 400, request id: 326227602be84b9c, host id: adYlu+msEbvNvA3cHbh0=
2020/06/02 09:39:23 DEBUG : random.bin: Modification times differ by -10m29.977932095s: 2020-06-02 09:31:32.624884541 -0600 MDT, 2020-06-02 09:21:02.646952446 -0600 MDT
2020/06/02 09:39:24 DEBUG : random.bin: MD5 = 90490a1d66ba164012dd3baa3328765c (Local file system at **REDACTED**)
2020/06/02 09:39:24 DEBUG : random.bin: MD5 = 0d3be77889dec53c705843951cc2501d (S3 bucket jgwrclonetest)
2020/06/02 09:39:24 DEBUG : random.bin: MD5 differ
2020/06/02 09:39:24 ERROR : random.bin: Failed to copy: multipart upload failed to initialise: InvalidArgument: Backblaze does not support the 'x-amz-acl' header
status code: 400, request id: f25a8c44fc4431bf, host id: adVhuDmuLbipv6neibno=
2020/06/02 09:39:24 ERROR : Attempt 2/3 failed with 1 errors and: multipart upload failed to initialise: InvalidArgument: Backblaze does not support the 'x-amz-acl' header
status code: 400, request id: f25a8c44fc4431bf, host id: adVhuDmuLbipv6neibno=
2020/06/02 09:39:24 DEBUG : random.bin: Modification times differ by -10m29.977932095s: 2020-06-02 09:31:32.624884541 -0600 MDT, 2020-06-02 09:21:02.646952446 -0600 MDT
2020/06/02 09:39:24 DEBUG : random.bin: MD5 = 90490a1d66ba164012dd3baa3328765c (Local file system at **REDACTED**)
2020/06/02 09:39:24 DEBUG : random.bin: MD5 = 0d3be77889dec53c705843951cc2501d (S3 bucket jgwrclonetest)
2020/06/02 09:39:24 DEBUG : random.bin: MD5 differ
2020/06/02 09:39:24 ERROR : random.bin: Failed to copy: multipart upload failed to initialise: InvalidArgument: Backblaze does not support the 'x-amz-acl' header
status code: 400, request id: a5cb2bb9d2dd4c8c, host id: adcpuamvgbrxvynfOblE=
2020/06/02 09:39:24 ERROR : Attempt 3/3 failed with 1 errors and: multipart upload failed to initialise: InvalidArgument: Backblaze does not support the 'x-amz-acl' header
status code: 400, request id: a5cb2bb9d2dd4c8c, host id: adcpuamvgbrxvynfOblE=
2020/06/02 09:39:24 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.2s
2020/06/02 09:39:24 DEBUG : 4 go routines active
2020/06/02 09:39:24 Failed to copyto: multipart upload failed to initialise: InvalidArgument: Backblaze does not support the 'x-amz-acl' header
status code: 400, request id: a5cb2bb9d2dd4c8c, host id: adcpuamvgbrxvynfOblE=
What else?
- When I do a vanilla upload of
random.bin
it works fine! - I read in the B2 Docs about the ACLs. Hence the two tests.
- I also tried removing the line from the config manually and no change
Is this a bug or user error?