Bug
When starting a CLP package with telemetry disabled, ./sbin/start-clp.sh can fail even after the expected CLP services have been created or started. The startup command runs Docker Compose with up --detach --wait; with telemetry disabled, the generated package environment disables otel-collector, but Docker Compose v5.3.1 still exits with:
clp-package-eda5cf1e-b09a-4be4-9789-49d59cf55e3c is missing dependency otel-collector
Expected behavior: CLP should start successfully with telemetry disabled, and disabling telemetry should not make startup wait for or require otel-collector.
This appears related to the Docker Compose v5.3.x zero-replica dependency regression tracked upstream in docker/compose#13899.
CLP version
6ed4fffcdf2eb5cb93b85417f488a9cad2005f31
Environment
- OS: Ubuntu 22.04.5 LTS
- Docker Compose: Docker Compose version v5.3.1
- Docker Engine: Client 29.6.1, Server 29.6.1
- Package path:
build/clp-package
- Generated package environment:
CLP_DISABLE_TELEMETRY=true
CLP_OTEL_COLLECTOR_ENABLED=0
Reproduction steps
-
Build or otherwise prepare a CLP package at build/clp-package.
-
Ensure telemetry is disabled in the package environment, for example:
CLP_DISABLE_TELEMETRY=true
CLP_OTEL_COLLECTOR_ENABLED=0
-
Start the package:
cd build/clp-package
./sbin/start-clp.sh
-
Observe that startup reaches the Docker Compose wait step, creates/starts the expected CLP services, then exits non-zero with:
clp-package-eda5cf1e-b09a-4be4-9789-49d59cf55e3c is missing dependency otel-collector
Bug
When starting a CLP package with telemetry disabled,
./sbin/start-clp.shcan fail even after the expected CLP services have been created or started. The startup command runs Docker Compose withup --detach --wait; with telemetry disabled, the generated package environment disablesotel-collector, but Docker Compose v5.3.1 still exits with:Expected behavior: CLP should start successfully with telemetry disabled, and disabling telemetry should not make startup wait for or require
otel-collector.This appears related to the Docker Compose v5.3.x zero-replica dependency regression tracked upstream in docker/compose#13899.
CLP version
6ed4fffcdf2eb5cb93b85417f488a9cad2005f31Environment
build/clp-packageCLP_DISABLE_TELEMETRY=trueCLP_OTEL_COLLECTOR_ENABLED=0Reproduction steps
Build or otherwise prepare a CLP package at
build/clp-package.Ensure telemetry is disabled in the package environment, for example:
Start the package:
cd build/clp-package ./sbin/start-clp.shObserve that startup reaches the Docker Compose wait step, creates/starts the expected CLP services, then exits non-zero with: