-
Notifications
You must be signed in to change notification settings - Fork 527
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
error running Tempo #2577
Comments
That does seem odd. I'm surprised it's not using the endpoint specified in the config. These values are directly pushed into the minio client here: tempo/tempodb/backend/s3/s3.go Line 411 in 2edbdfa
Perhaps drop the region option? Then maybe it will honor the endpoint provided? |
thanks for the replay, tried that, and other variances but didn't work. |
So tracking this into minio some it looks like it rewrites your hostname here: https://github.com/minio/minio-go/blob/691ae870325d3cd7c3fc426cbf8396342cd58907/api.go#L906 The logic is skipped if it doesn't look like an amazon endpoint here: https://github.com/minio/minio-go/blob/691ae870325d3cd7c3fc426cbf8396342cd58907/api.go#L909 and there's a second check to see if it looks like an "amazon private link endpoint" here: https://github.com/minio/minio-go/blob/691ae870325d3cd7c3fc426cbf8396342cd58907/api.go#L922 Here is the regex it uses to determine if a hostname is a "private link endpoint": I don't know much about this. Should your hostname match this regex? |
i don't think so... i could be wrong... |
Hi guys, I am facing a similar problem here but I suspect that is related to the aws sdk and the region you are accessing. Details of configuration:
Error :
|
Reopening. Accidentally closed this instead of #2565. |
Hi @joe-elliott, I have successfully tested the image tag main-c633387. Thanks a lot for your help. |
Are you saying main-c633387 fixed your issue? Likely an update to the minio s3 client.
There is not. We tend to release every 3 months or so. On that cadence our next release would be late july/early august. |
Hi Joe, |
Is there anything we can do about my issue? |
If the latest Tempo release does not fix the issue then I'd file an issue with the minio go client to get some insight into this behavior. |
I'm using tempo image version 2.1.1 |
I believe the change that fixes this is in minio/minio-go#1726, which has been updated in |
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. |
Describe the bug
we are deploying Tempo on-premise with the distributed helm chart and connect to AWS S3 via PrivateLink.
im having the following error:
level=info ts=2023-06-20T12:38:44.891213365Z caller=main.go:102 msg="Starting Tempo" version="(version=2.1.1, branch=HEAD, revision=4157d7620)"
level=error ts=2023-06-20T12:40:14.89436955Z caller=main.go:105 msg="error running Tempo" err="failed to init module services error initialising module: store: failed to create store unexpected error from ListObjects on bucket1: Get "http://bucket1.s3.dualstack.eu-central-1.amazonaws.com/?delimiter=%2F&encoding-type=url&prefix=\": dial tcp xxx.xxx.xxx.xxx:80: i/o timeout"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
connect to:
bucket1.s3.eu-central-1.amazonaws.com
not connect to:
bucket1.s3.dualstack.eu-central-1.amazonaws.com
the option to connect to S3 without dualstack and/or disable the IPv6
Environment:
Additional Context
storage:
trace:
block:
version: vParquet
backend: s3
s3:
access_key: 'q1w2e3r4t5y6u7i8'
secret_key: 'q1w2e3r4t5y6u7i8o9p0zaxscdvfbgnhmj,k.l/;''
bucket: 'bucket1'
endpoint: "s3.eu-central-1.amazonaws.com"
insecure: true
forcepathstyle: false
region: "eu-central-1"
admin:
backend: s3
The text was updated successfully, but these errors were encountered: