Aruba Cloud problem S3

Hi all, someone can help me with aruba cloud s3 configuration? I report here my config and issue. What is wrong?

I'm getting a similar error with Aruba Cloud Object Storage. I created this configuration:

[aruba]
type = s3
env_auth = false
v2_auth = true
access_key_id = myuser
secret_access_key = mypass
region = other-v2-signature
endpoint = r1-it.storage.cloud.it
location_constraint = r1-it
acl = private

But when I try to upload a file:

[root@dev rclone]# rclone copy /root/kickstart-post.log aruba:qgbackup/test --s3-force-path-style=false
2020/12/26 02:30:46 ERROR : Attempt 1/3 failed with 1 errors and: Forbidden: Forbidden
        status code: 403, request id: , host id:
2020/12/26 02:30:46 ERROR : Attempt 2/3 failed with 1 errors and: Forbidden: Forbidden
        status code: 403, request id: , host id:
2020/12/26 02:30:46 ERROR : Attempt 3/3 failed with 1 errors and: Forbidden: Forbidden
        status code: 403, request id: , host id:
2020/12/26 02:30:46 Failed to copy: Forbidden: Forbidden
        status code: 403, request id: , host id:

Instead, ls works fine without --s3-force-path-style=false and doesn't work with this option.

Can you help me?

[root@dev rclone]# rpm -q rclone
rclone-1.47.0-1.el7.x86_64

I can normally upload with s3cmd

s3cmd put /root/kickstart-post.log s3://qgbackup

that has this configuration

[root@dev rclone]# cat /root/.s3cfg
# Setup endpoint
host_base = r1-it.storage.cloud.it
host_bucket = r1-it.storage.cloud.it
bucket_location = us-east-1
use_https = True

# Setup access keys
access_key =  myuser
secret_key = mypass

# Enable S3 v4 signature APIs
signature_v2 = True

Aruba only allows v2 signature.

That's a pretty old version, can you please update and test with the latest?

I'm running it on centos and yum update rclone doesn't find any update. How can I update?

When you first posted, it was in the rclone version section:

What is your rclone version (output from rclone version)

STOP and READ: Are you on the latest version of rclone? You can validate by checking the version listed here: https://rclone.org/downloads/

Same

[root@dev ~]# rclone version
rclone v1.53.3
- os/arch: linux/amd64
- go version: go1.15.5
[root@dev ~]# rclone copy /root/kickstart-post.log aruba:qgbackup
2020/12/26 20:24:48 ERROR : Attempt 1/3 failed with 1 errors and: Forbidden: Forbidden
        status code: 403, request id: , host id:
2020/12/26 20:24:48 ERROR : Attempt 2/3 failed with 1 errors and: Forbidden: Forbidden
        status code: 403, request id: , host id:
2020/12/26 20:24:48 ERROR : Attempt 3/3 failed with 1 errors and: Forbidden: Forbidden
        status code: 403, request id: , host id:
2020/12/26 20:24:48 Failed to copy: Forbidden: Forbidden
        status code: 403, request id: , host id:

I found this and seems to work

[arubacloud]
type = s3
provider = Other
env_auth = true
v2_auth = true
access_key_id = username
secret_access_key = password
acl = private
endpoint = r1-it.storage.cloud.it
region = other-v2-signature
location_constraint = R1-IT
disable_checksum = false

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