Skip to content

OpAMP Supervisor: failed to start supervisor: could not get bootstrap info from the Collector: collector's OpAMP client never connected to the Supervisor #44913

@brightzheng100

Description

@brightzheng100

Component(s)

cmd/opampsupervisor

What happened?

Description

I wanted to have a test with the latest OpAMP Supervisor component but I got error while trying to start it up:

./bin/opamp-supervisor --config supervisor-config.yaml
2025/12/12 12:27:59 failed to start supervisor: could not get bootstrap info from the Collector: collector's OpAMP client never connected to the Supervisor

Steps to Reproduce

  1. Build and start the OpAMP server
~/workspaces/OSS/OpenTelemetry/playground/bin/opamp-server
2025/12/11 14:42:12.236313 [MAIN] OpAMP Server starting...
2025/12/11 14:42:12.237413 [MAIN] OpAMP Server running...

2. Build OpAMP Supervisor:

```sh
git clone https://github.com/open-telemetry/opentelemetry-collector-contrib.git
cd opentelemetry-collector-contrib/cmd/opampsupervisor
go build -o ~/workspaces/OSS/OpenTelemetry/playground/bin/opamp-supervisor
  1. Create the supervisor-config.yaml as:
server:
  endpoint: wss://127.0.0.1:4321/v1/opamp
  tls:
    insecure_skip_verify: true 

capabilities:
  reports_effective_config: true
  reports_own_metrics: true
  reports_own_logs: true
  reports_own_traces: true
  reports_health: true
  accepts_remote_config: true
  reports_remote_config: true

agent:
  executable: /Users/brightzheng/workspaces/OSS/OpenTelemetry/playground/bin/otelcol-dev
  config_files: [/Users/brightzheng/workspaces/OSS/OpenTelemetry/playground/config.yaml]

storage:
  directory: /Users/brightzheng/workspaces/OSS/OpenTelemetry/playground/temp

The error I got:

./bin/opamp-supervisor --config supervisor-config.yaml
2025/12/12 12:27:59 failed to start supervisor: could not get bootstrap info from the Collector: collector's OpAMP client never connected to the Supervisor

Note: the mentioned otelcol-dev binary file and config.yaml config file exist in the right folder.
To prove it:

$ /Users/brightzheng/workspaces/OSS/OpenTelemetry/playground/bin/otelcol-dev --config /Users/brightzheng/workspaces/OSS/OpenTelemetry/playground/config.yaml
2025-12-12T20:30:40.435+0800	info	service@v0.141.0/service.go:224	Starting otelcol-dev...	{"resource": {"service.instance.id": "4ce5b544-4dbf-4909-9378-c3bb82e82042", "service.name": "otelcol-dev", "service.version": ""}, "Version": "", "NumCPU": 10}
2025-12-12T20:30:40.435+0800	info	extensions/extensions.go:40	Starting extensions...	{"resource": {"service.instance.id": "4ce5b544-4dbf-4909-9378-c3bb82e82042", "service.name": "otelcol-dev", "service.version": ""}}
2025-12-12T20:30:40.435+0800	info	otlpreceiver@v0.141.0/otlp.go:120	Starting GRPC server	{"resource": {"service.instance.id": "4ce5b544-4dbf-4909-9378-c3bb82e82042", "service.name": "otelcol-dev", "service.version": ""}, "otelcol.component.id": "otlp", "otelcol.component.kind": "receiver", "endpoint": "[::]:4317"}
2025-12-12T20:30:40.436+0800	info	service@v0.141.0/service.go:247	Everything is ready. Begin running and processing data.	{"resource": {"service.instance.id": "4ce5b544-4dbf-4909-9378-c3bb82e82042", "service.name": "otelcol-dev", "service.version": ""}}

Expected Result

The OpAMP Supervisor should properly start the agent, here is a custom built "OTel Collector" and report back to OpAMP Server.

Actual Result

Bootstrap got issues.

Collector version

v0.141.0

Environment information

Environment

OS: Darwin

Compiler(if manually compiled):

$ go version
go version go1.25.5 darwin/arm64

OpenTelemetry Collector configuration

receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317
exporters:
  debug:
    verbosity: detailed
service:
  pipelines:
    traces:
      receivers: [otlp]
      exporters: [debug]

Log output

./bin/opamp-supervisor --config supervisor-config.yaml
2025/12/12 12:41:32 failed to start supervisor: could not get bootstrap info from the Collector: collector's OpAMP client never connected to the Supervisor

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions