-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ACL requirement for AWS S3 Exporter was a breaking change listed as Enhancement #39346
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
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
AWS explicitly recommends to disable ACLs on buckets https://docs.aws.amazon.com/AmazonS3/latest/userguide/ensure-object-ownership.html If ACLs are mandatory to enable that sounds like a bug in the collector. |
The error |
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Fixes a problem where ACLs have become required on configuration of the AWS S3 exporter. AWS explicitly recommends to disable ACLs on buckets https://docs.aws.amazon.com/AmazonS3/latest/userguide/ensure-object-ownership.html <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#39346 <!--Describe what testing was performed and which tests were added.--> #### Testing Added test to ensure configuration of the exporter worked as expected when ACL values were set. Updated existing config tests to ensure no ACL is set by default. <!--Describe the documentation added.--> #### Documentation Updated README.md to show ACLs are optional and off by default. Additionally added myself as a codeowner as I'm willing to take on partial ownership here. <!--Please delete paragraphs that you did not use before submitting.-->
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Fixes a problem where ACLs have become required on configuration of the AWS S3 exporter. AWS explicitly recommends to disable ACLs on buckets https://docs.aws.amazon.com/AmazonS3/latest/userguide/ensure-object-ownership.html <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#39346 <!--Describe what testing was performed and which tests were added.--> #### Testing Added test to ensure configuration of the exporter worked as expected when ACL values were set. Updated existing config tests to ensure no ACL is set by default. <!--Describe the documentation added.--> #### Documentation Updated README.md to show ACLs are optional and off by default. Additionally added myself as a codeowner as I'm willing to take on partial ownership here. <!--Please delete paragraphs that you did not use before submitting.-->
Uh oh!
There was an error while loading. Please reload this page.
Component(s)
exporter/awss3
What happened?
Description
Starting in v0.121.0 Users are required to provide a valid ACL for bucket access. Many existing buckets don't support ACLs as a default. This means that we see errors as listed in the logs provided.
This will require a bucket configuration change and a collector change and as such needs to be mentioned as a breaking change.
Steps to Reproduce
Have or create S3 bucket without ACL support
Use provided configuration in any vanilla collector
Then use a tool such as
telemetrygen
to send:Expected Result
Logs to show up in AWS S3
Actual Result
Error logs as attached.
Collector version
v0.123.0
Environment information
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: