Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent backup config fails with The AWS Access Key Id you provided does not exist in our records. #4064

Open
equals215 opened this issue Oct 8, 2024 · 0 comments

Comments

@equals215
Copy link

Hi, I'm currently trying to setup my Manager's backup feature using a S3-like endpoint, not an AWS one.
When providing this config :

s3:
 access_key_id: **********
 secret_access_key: **********
 provider: Minio
 endpoint: **********

This is what I get when I test it with the following command :

scylla-manager-agent check-location -L s3:test1-backup --debug
{"L":"INFO","T":"2024-10-08T12:11:20.227Z","N":"rclone","M":"registered s3 provider [name=s3, chunk_size=50M, env_auth=true, memory_pool_flush_time=5m, memory_pool_use_mmap=true, provider=Minio, endpoint=http://************/, upload_concurrency=2, no_check_bucket=true, secret_access_key=****************, access_key_id=****************, disable_checksum=true]"}
{"L":"INFO","T":"2024-10-08T12:11:20.230Z","N":"rclone","M":"registered gcs provider [name=gcs, chunk_size=50M, memory_pool_flush_time=5m, memory_pool_use_mmap=true, allow_create_bucket=false, bucket_policy_only=true]"}
{"L":"INFO","T":"2024-10-08T12:11:20.230Z","N":"rclone","M":"registered azure provider [name=azure, disable_checksum=true, memory_pool_flush_time=5m, chunk_size=50M, memory_pool_use_mmap=true, use_msi=true]"}
{"L":"DEBUG","T":"2024-10-08T12:11:20.230Z","N":"rclone","M":"Creating backend with remote \"s3:test1-backup\""}
{"L":"DEBUG","T":"2024-10-08T12:11:20.231Z","N":"rclone","M":"Creating backend with remote \"/tmp/scylla-manager-agent-3791086943\""}
{"L":"DEBUG","T":"2024-10-08T12:11:20.593Z","N":"rclone","M":"S3 bucket test1-backup: Waiting for checks to finish"}
{"L":"DEBUG","T":"2024-10-08T12:11:20.593Z","N":"rclone","M":"S3 bucket test1-backup: Waiting for transfers to finish"}
{"L":"ERROR","T":"2024-10-08T12:11:20.632Z","N":"rclone","M":"scylla-manager-agent-3791086943/test: Failed to copy: s3 upload: 403 Forbidden: <?xml version='1.0' encoding='UTF-8'?>\n<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><Resource /><RequestId>29f6d624-****-****-****-adeda93c038d</RequestId></Error>","S":"github.com/scylladb/go-log.Logger.log\n\tgithub.com/scylladb/go-log@v0.0.7/logger.go:101\ngithub.com/scylladb/go-log.Logger.Error\n\tgithub.com/scylladb/go-log@v0.0.7/logger.go:84\nmain.setupCommand.RedirectLogPrint.func1\n\tgithub.com/scylladb/scylla-manager/v3/pkg/rclone/logger.go:19\ngithub.com/rclone/rclone/fs.LogPrintf\n\tgithub.com/rclone/rclone@v1.51.0/fs/log.go:152\ngithub.com/rclone/rclone/fs.Errorf\n\tgithub.com/rclone/rclone@v1.51.0/fs/log.go:167\ngithub.com/rclone/rclone/fs/operations.Copy\n\tgithub.com/rclone/rclone@v1.51.0/fs/operations/operations.go:497\ngithub.com/rclone/rclone/fs/sync.(*syncCopyMove).pairCopyOrMove\n\tgithub.com/rclone/rclone@v1.51.0/fs/sync/sync.go:409"}
FAILED: operation put: s3 upload: 403 Forbidden: The AWS Access Key Id you provided does not exist in our records. (code:InvalidAccessKeyId)

Note that I'm using a MinIO provider and I get an AWS related-error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant