Unable to successfully connect to s3 block storage bucket: ACCESS DENIED #8548
Replies: 4 comments 1 reply
-
From your description, it's not clear if
Also, I'm not sure why do you need |
Beta Was this translation helpful? Give feedback.
-
I'm sorry for misunderstanding. insecure is false |
Beta Was this translation helpful? Give feedback.
-
by the way, grafana and loki works ok on china, only mimir fails |
Beta Was this translation helpful? Give feedback.
-
any progress? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Mimir fails to access S3 bucket with ACCESS DENIED error
It's an error
ts=2024-06-26T19:23:25.609453896Z caller=sanity_check.go:115 level=warn msg="Unable to successfully connect to configured object storage (will retry)" err="2 errors: blocks storage: unable to successfully send a request to object storage: Get "http://mimir-blocks.s3.cn-north-1.amazonaws.com.cn/sanity-check-at-startup": context deadline exceeded; ruler storage: unable to successfully send a request to object storage: Get "[http://mimir-ruler.s3.cn-north-1.amazonaws.com.cn/sanity-check-at-startup](http://mimir-ruler.s3.cn-north-1.amazonaws.com.cn/sanity-check-at-startup%5C)": context deadline exceeded"
To Reproduce
Steps to reproduce the behavior:
Just deploy mimir
I used build which supports a new config feature dualstack_enabled to disable dual stack endpoint,
Mimir release is grafana/mimir:r296-3410422
Expected behavior
Mimir can successfully connect to block storage and ruler buckets
A clear and concise description of what you expected to happen.
Environment
Deployment is done on k8s using helm on closed AWS VPC (without NAT)
it's my setup for mimir-blocks:
blocks_storage:
backend: s3
s3:
bucket_name: "mimir-blocks"
endpoint: "s3.cn-north-1.amazonaws.com.cn"
region: "cn-north-1"
insecure: true
dualstack_enabled: false
Is my endpoint set as expected?
Additional Context
Beta Was this translation helpful? Give feedback.
All reactions