-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Sidecar: Blocks not uploaded with KMS encryption enabled #4245
Comments
I did some further testing and found that setting The current Objectstore config is as: objstore.yml
|
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Closing for now as promised, let us know if you need this to be reopened! 🤗 |
I experienced the same issue as @timkra using v0.23.1 and I was able to narrow the issue down to the following: When I had the following S3 config:
Requests as follows were being made:
After updating the config
When using the following config:
tl;dr If you use |
Thanos, Prometheus and Golang version used:
Object Storage Provider:
S3
What happened:
I configured S3 Server-Side Encryption, whenever the sidecar component tries to upload a new block an error is raised and the upload fails.
What you expected to happen:
Blocks are beeing uploaded to S3.
How to reproduce it (as minimally and precisely as possible):
Create a KMS key, configure S3 SSE-KMS with the previously created KMS key, Create an IAM role for Thanos, grant this role access to the KMS Key and configure the Objectstore S3 Server-Side Encryption with the KMS key.
Objectstore config:
IAM Policy
Full logs to relevant components:
Anything else we need to know:
The same error is raised on the compactor component.
The text was updated successfully, but these errors were encountered: