Blomp Unable to Upload 5GB+ FIles

What is the problem you are having with rclone?

Unable to upload files 5GB and larger to OpenStack Swift (Blomp)
I'm unsure if this is an RClone issue, or something on the Blomp backend.

If I comment out the line chunk_size = 1P I get the error "Operation Forbidden"
If I leave that line as-is, I get the error "Too Large Object"

I've attempted the same transfer using CyberDuck, and this succeeds fine.

*Where I have inserted "TURNER" is my email address.

Run the command 'rclone version' and share the full output of the command.

rclone v1.64.2
- os/version: Microsoft Windows Server 2022 Standard 21H2 (64 bit)
- os/kernel: 10.0.20348.1850 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.3
- go/linking: static
- go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Blomp

The command you were trying to run (eg rclone copy /tmp remote:tmp)

.\rclone.exe copy "D:\VMware-VCSA-all-8.0.1-22088981.iso" BR:TURNER/T -P

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[BR]
type = swift
user = TURNER
auth = https://authenticate.ain.net
auth_version = 2
tenant = storage
key = SUPERSECRET
endpoint_type = public
leave_parts_on_error = true
chunk_size = 1P
no_chunk = false

A log from the command that you were trying to run with the -vv flag

2023/10/24 10:23:28 DEBUG : rclone: Version "v1.64.2" starting with parameters ["C:\\Users\\Administrator\\Downloads\\rclone-v1.61.1-windows-amd64\\rclone.exe" "copy" "D:\\VMware-VCSA-all-8.0.1-22088981.iso" "BR:TURNER/T" "-P" "-vvv"]
2023/10/24 10:23:28 DEBUG : Creating backend with remote "D:\\VMware-VCSA-all-8.0.1-22088981.iso"
2023/10/24 10:23:28 DEBUG : Using config file from "C:\\Users\\Administrator\\AppData\\Roaming\\rclone\\rclone.conf"
2023/10/24 10:23:28 DEBUG : fs cache: adding new entry for parent of "D:\\VMware-VCSA-all-8.0.1-22088981.iso", "//?/D:/"
2023/10/24 10:23:28 DEBUG : Creating backend with remote "BR:TURNER/T"
2023/10/24 10:23:29 DEBUG : VMware-VCSA-all-8.0.1-22088981.iso: Need to transfer - File not found at Destination
2023/10/24 10:23:30 ERROR : VMware-VCSA-all-8.0.1-22088981.iso: Failed to copy: Too Large Object
2023/10/24 10:23:30 ERROR : Attempt 1/3 failed with 1 errors and: Too Large Object
2023/10/24 10:23:30 DEBUG : VMware-VCSA-all-8.0.1-22088981.iso: Need to transfer - File not found at Destination
2023/10/24 10:23:30 ERROR : VMware-VCSA-all-8.0.1-22088981.iso: Failed to copy: Too Large Object
2023/10/24 10:23:30 ERROR : Attempt 2/3 failed with 1 errors and: Too Large Object
2023/10/24 10:23:30 DEBUG : VMware-VCSA-all-8.0.1-22088981.iso: Need to transfer - File not found at Destination
2023/10/24 10:23:30 ERROR : VMware-VCSA-all-8.0.1-22088981.iso: Failed to copy: Too Large Object
2023/10/24 10:23:30 ERROR : Attempt 3/3 failed with 1 errors and: Too Large Object
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         2.1s
2023/10/24 10:23:30 INFO  :
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         2.1s

2023/10/24 10:23:30 DEBUG : 5 go routines active
2023/10/24 10:23:30 Failed to copy: Too Large Object

My assumption is this has something to do with chunking/segmentation.

I've tried the below config, and still receiving "Operation Forbidden"

[BRTEST]
type = swift
user = TURNER
auth = https://authenticate.ain.net
auth_version = 2
tenant = storage
endpoint_type = public
key = SUPERSECRET

I see CyberDuck is making a .".file-segments" folder, which appears to be 1GB segments, for the large file. Seems to be part of Dynamic Large Objects in Swift?

This can't be bigger than 5G on swift.

Try setting it smaller and uploading a file bigger that that size. Rclone should make chunks.

I have a feeling that this won't work with blomp as rclone will try to create the segments in a new container.

That's probably the operation forbidden error - can you confirm with the log?

It looks like rclone needs some config on where to store the chunks.

Thanks for the reply Nick!

I've changed the chunk size to 4G for testing.

PS C:\Users\Administrator\Downloads\rclone-v1.61.1-windows-amd64> .\rclone.exe copy "D:\en-us_windows_10_business_editions_version_22h2_updated_aug_2023_x64_dvd_dc9d38b8.iso" BR:TURNER -P  -vvv
2023/10/25 08:32:01 DEBUG : rclone: Version "v1.64.2" starting with parameters ["C:\\Users\\Administrator\\Downloads\\rclone-v1.61.1-windows-amd64\\rclone.exe" "copy" "D:\\en-us_windows_10_business_editions_version_22h2_updated_aug_2023_x64_dvd_dc9d38b8.iso" "BR:TURNER" "-P" "-vvv"]
2023/10/25 08:32:01 DEBUG : Creating backend with remote "D:\\en-us_windows_10_business_editions_version_22h2_updated_aug_2023_x64_dvd_dc9d38b8.iso"
2023/10/25 08:32:01 DEBUG : Using config file from "C:\\Users\\Administrator\\AppData\\Roaming\\rclone\\rclone.conf"
2023/10/25 08:32:01 DEBUG : fs cache: adding new entry for parent of "D:\\en-us_windows_10_business_editions_version_22h2_updated_aug_2023_x64_dvd_dc9d38b8.iso", "//?/D:/"
2023/10/25 08:32:01 DEBUG : Creating backend with remote "BR:TURNER"
2023/10/25 08:32:03 DEBUG : en-us_windows_10_business_editions_version_22h2_updated_aug_2023_x64_dvd_dc9d38b8.iso: Need to transfer - File not found at Destination
2023/10/25 08:32:03 ERROR : en-us_windows_10_business_editions_version_22h2_updated_aug_2023_x64_dvd_dc9d38b8.iso: Failed to copy: Operation forbidden
2023/10/25 08:32:03 ERROR : Attempt 1/3 failed with 1 errors and: Operation forbidden
2023/10/25 08:32:03 DEBUG : en-us_windows_10_business_editions_version_22h2_updated_aug_2023_x64_dvd_dc9d38b8.iso: Need to transfer - File not found at Destination
2023/10/25 08:32:03 ERROR : en-us_windows_10_business_editions_version_22h2_updated_aug_2023_x64_dvd_dc9d38b8.iso: Failed to copy: Operation forbidden
2023/10/25 08:32:03 ERROR : Attempt 2/3 failed with 1 errors and: Operation forbidden
2023/10/25 08:32:03 DEBUG : en-us_windows_10_business_editions_version_22h2_updated_aug_2023_x64_dvd_dc9d38b8.iso: Need to transfer - File not found at Destination
2023/10/25 08:32:03 ERROR : en-us_windows_10_business_editions_version_22h2_updated_aug_2023_x64_dvd_dc9d38b8.iso: Failed to copy: Operation forbidden
2023/10/25 08:32:03 ERROR : Attempt 3/3 failed with 1 errors and: Operation forbidden
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         2.3s
2023/10/25 08:32:03 INFO  :
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         2.3s

2023/10/25 08:32:03 DEBUG : 5 go routines active
2023/10/25 08:32:03 Failed to copy: Operation forbidden

What made you change it from the default to that in the first place?

Ah neat. You'd probably want to ask them to change that as that will make anything break as you've seen. I was curious where it came from!

1 Like

Hmm, I re-read that again and take that back. It kind of says you'll break big uploads:

I'm not sure why they'd recommend that setting though.

I noticed that, I didn't entirely understand the entire page.

I just know over 5GB works on their website, and CyberDuck(By doing the segments), so I'm hopeful there's something that can be done with Rclone. $1/TB is just hard to beat at the moment. But if it's too much hassle, may not be worth it.

I should mention Chunker is an option, I know -- but then I cannot access the files via their WebGUI.

I think they are trying to give some options which seems a bit strange.

If there is no file size limit, not sure why I'd use the chunker remote.

If you end up using that 1st line they list, you can only transfer a file no larger than 5GB. If you make it smaller, rclone 'chunks' the upload and uploads which is not related to chunker remote. Just sounds the same.

The problem is that on swift, rclone creates the chunks in a different container.

So if you are uploading into container any chunks will be put into container_segments. This is the recommended way of uploading chunks so they don't show in the directory listings and confuse things.

Blomp allows you access to one container only, so when rclone attempts to create container_segments it gets permission denied.

This currently isn't configurable but it could be with a bit more work. Rclone could make a .file-segments folder like CyberDuck does and store the chunks in there.

I finally received an updated response from Blomp.

"rclone tries to use dynamic large objects which requires permission to build additional containers for each upload. We don't allow that because we can't enforce quotas this way.
Static Large Objects we support, and would be glad to help write the code to commit to rclone to use this mode with Blomp"

So I'm not sure if that means they're working with you guys already on a fix?

That makes sense.

I think this is the relevant issue

Any help appreciated!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.