-
Notifications
You must be signed in to change notification settings - Fork 798
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
S3 endpoint is defaulting to incorrect value in us-gov-east-1 #5520
Comments
This seems a network configuration problem Can you try to |
@alanprot Thanks for your response! I I have a few remaining questions:
|
One of our team member is trying to get a fix to the minio pkg: minio/minio-go#1879 |
Nice! We can pull that as soon as it get merged! |
Update: Maintainers decided to open a new MR with changes that they prefer: minio/minio-go#1880 |
@alanprot minio-go pkg was released: https://github.com/minio/minio-go/releases/tag/v7.0.63 |
PR: #5540 |
Can you test the lastest image? @mehta-ankit ? |
Sure. this is the image right (I think i got the right SHA) ? |
Yeah.. that's the one |
@alanprot Tested and it looks like this has resolved the issue. Thanks for your help and quick response! |
Describe the bug
I'm running Cortex v1.15.3 on an AWS EKS cluster in the us-gov-east-1 region. I have my blocks storage configured as follows:
The store gateway and other components that reach out to S3 are failing with errors similar to the following:
I have confirmed that the blocks_storage.s3.endpoint value is set correctly to
s3-fips.us-gov-east-1.amazonaws.com
by usingkubectl exec
to get into the pod and checking theetc/cortex/cortex.yaml
file, but for some reason the pods are actually trying to hit thes3.dualstack.us-east-1.amazonaws.com
endpoint instead. Where is this incorrect endpoint coming from?This seems similar to this mimir issue, but the hop limit is already set to 2 for my cluster.
I have been successfully running Cortex with the same configuration in non-gov regions, so it seems like a problem specific to the AWS GovCloud environment.
I've also tried setting the
region
tous-gov-east-1
, so the configuration is as follows:It then tries to hit
s3.dualstack.us-gov-east-1.amazonaws.com
instead, which does work, but it is still reaching out to the incorrect endpoint -- it should be using the FIPS endpoint I specified instead.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect Cortex to be trying to hit the S3 endpoint set in the configuration (
s3-fips.us-gov-east-1.amazonaws.com
), nots3.dualstack.us-east-1.amazonaws.com
.Environment:
Additional Context
Cortex is granted access to the S3 bucket through IRSA.
The text was updated successfully, but these errors were encountered: