Closed
Description
Component(s)
No response
What happened?
Description
With the latest release (v0.110.0), I get the following error in all OTel collector pods when deploying with the OpenTelemetry Operator:
$ kubectl logs ...
Error: invalid argument "-component.UseLocalHostAsDefaultHost" for "--feature-gates" flag: feature gate "component.UseLocalHostAsDefaultHost" is stable, can not be disabled
2024/09/27 12:32:55 collector server run finished with error: invalid argument "-component.UseLocalHostAsDefaultHost" for "--feature-gates" flag: feature gate "component.UseLocalHostAsDefaultHost" is stable, can not be disabled
The problem is the inconsistency of the state of the feature gate, since in the opentelemetry-collector
core repository, the state of the gate was moved to stable here. But in this repository, it's still in beta
Steps to Reproduce
start the Otel collector with the "-component.UseLocalHostAsDefaultHost" feature gate
Expected Result
No error
Actual Result
Collector version
v0.110.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response