S3 cache not working with CEPH Object Gateway
Hi,
i'm using CEPH Object Gateway as a S3-compatible object storage.
It's seem that there is an authentification problem because in the output of my build i have:
Checking cache for test1/update... WARNING: Received: 403 Forbidden
If i use the URL that the gitlab-runner generate i get an xml output:
<?xml version="1.0" encoding="UTF-8"?><Error><Code>AccessDenied</Code><RequestId>tx000000000000000027aae-0057611943-1dd135-cnp-cer69</RequestId><HostId>1dd135-cnp-cer69-cnp</HostId></Error>
I can access/create/retrieve file(s) from the bucket with the s3cmd command line (with the same acceskey et secretkey)
This is my runner.cache configuration:
[runners.cache]
Type = "s3"
ServerAddress = "rados-gw.my.domain:6000"
AccessKey = "275IEK14D4TR9MNV9QYZ"
SecretKey = "ysa2sPJcYDqA173FrCHshYoErr8GKiENsWLDBVWG"
BucketName = "gitlab-runner-cache"
Insecure = true