Skip to content

Error about invalid argument "-component.UseLocalHostAsDefaultHost" #35569

Closed
@odubajDT

Description

@odubajDT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageNew item requiring triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions