-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Description
- Stash: v0.9.0-rc.5
- kubernetes 1.16.6
- Object storage provider: Scaleway (only have two regions:
fr-par&nl-ams, tested with both)
When trying to use Scaleway object storage it gives an error because is not recognizing us-east-1 , there is a posibility to configure the default region if none was not found? For example, something like this:
backend:
s3:
endpoint: 's3.nl-ams.scw.cloud'
bucket: 'stash-bucket'
default_region: 'nl-ams' <-----
prefix: '/source/sample-statefulset'
- collected logs from stash (
kubectl logs --tail=10 -f stash-demo-2 -n demo -c stash)
Fatal: unable to open config file: Stat: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'nl-ams'
Is there a repository at the following location?
s3:s3.nl-ams.scw.cloud/stash-bucket/source/sample-statefulset
[golang-sh]$ /bin/restic_0.9.5 init --cache-dir /tmp/restic-cache
Fatal: create repository at s3:s3.nl-ams.scw.cloud/stash-bucket/source/sample-statefulset failed: client.BucketExists: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'nl-ams'
W0211 16:14:06.951235 1 backupsession.go:478] Failed to take backup for BackupSession s3-backup-1581437645. Reason: Fatal: create repository at s3:s3.nl-ams.scw.cloud/stash-bucket/source/sample-statefulset failed: client.BucketExists: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'nl-ams'
I0211 16:14:06.959312 1 status.go:104] Updating status of BackupSession: demo/s3-backup-1581437645 for host: host-2
W0211 16:14:07.000329 1 backupsession.go:405] failed to complete backup. Reason: Fatal: create repository at s3:s3.nl-ams.scw.cloud/stash-bucket/source/sample-statefulset failed: client.BucketExists: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'nl-ams'
- repository.yaml used to get his log
apiVersion: stash.appscode.com/v1alpha1
kind: Repository
metadata:
name: s3-scw-repo
namespace: demo
spec:
backend:
s3:
endpoint: 's3.nl-ams.scw.cloud'
bucket: 'stash-bucket'
prefix: '/source/sample-statefulset'
storageSecretName: stash-secret
Reactions are currently unavailable