From a328c6e93839fcf0677a245ff21422a100abc499 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 4 Mar 2026 13:16:15 +0100 Subject: [PATCH] Fix tracing for py-executor - remove separate pip install for otel in Dockerfile Issue-ID: CCSDK-4150 Change-Id: Iee3c29d559e83ff14d5df64f1961387561d2682e Signed-off-by: Fiete Ostkamp --- ms/py-executor/docker/Dockerfile | 2 -- ms/py-executor/requirements.txt | 2 ++ ms/py-executor/setup.py | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ms/py-executor/docker/Dockerfile b/ms/py-executor/docker/Dockerfile index 4271160ac..a78072f81 100644 --- a/ms/py-executor/docker/Dockerfile +++ b/ms/py-executor/docker/Dockerfile @@ -23,7 +23,5 @@ RUN pip install --no-cache-dir /opt/app/onap/dependencies/common RUN pip install --no-cache-dir -r /opt/app/onap/dependencies/artifact-manager/requirements.txt RUN pip install --no-cache-dir /opt/app/onap/dependencies/artifact-manager -RUN pip install --no-cache-dir opentelemetry-distro==0.40b0 opentelemetry-exporter-otlp-proto-http==1.19.0 - USER onap ENTRYPOINT /opt/app/onap/py-executor/start.sh diff --git a/ms/py-executor/requirements.txt b/ms/py-executor/requirements.txt index 1086e48b9..183be426f 100644 --- a/ms/py-executor/requirements.txt +++ b/ms/py-executor/requirements.txt @@ -5,3 +5,5 @@ configparser==4.0.2 requests==2.22.0 ncclient==0.6.6 ansible==2.8.5 +opentelemetry-distro==0.40b0 +opentelemetry-exporter-otlp-proto-http==1.19.0 diff --git a/ms/py-executor/setup.py b/ms/py-executor/setup.py index 7aba007a5..6ed6ba109 100644 --- a/ms/py-executor/setup.py +++ b/ms/py-executor/setup.py @@ -29,5 +29,7 @@ setup( "requests>=2.22.0", "ncclient>=0.6.6", "ansible>=2.8.5", + "opentelemetry-distro==0.40b0", + "opentelemetry-exporter-otlp-proto-http==1.19.0", ], ) -- 2.16.6