Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CrashLoopBackOff on using opentelemetry-collector-contrib image from private repository #26307

Closed
anand3493 opened this issue Aug 30, 2023 · 2 comments
Labels
bug Something isn't working needs triage New item requiring triage

Comments

@anand3493
Copy link

Component(s)

cmd/otelcontribcol

What happened?

Description

In our organization we have the policy to use docker images from our own AWS ECR repo.
Hence I had pulled this image "otel/opentelemetry-collector-contrib:0.83.0" and pushed into our AWS ECR and mapped it in the values file.
The pods are getting into CrashLoopBackOff state, while if I simply use "otel/opentelemetry-collector-contrib:0.83.0" this image, the deployment is working fine.

Expected Result

Expecting to deploy using our own docker images

Actual Result

Error:
failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/otelcol-contrib": stat /otelcol-contrib: no such file or directory: unknown

Collector version

0.83.0

Environment information

Environment

Kubernetes

OpenTelemetry Collector configuration

No response

Log output

failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/otelcol-contrib": stat /otelcol-contrib: no such file or directory: unknown

Additional context

No response

@anand3493 anand3493 added bug Something isn't working needs triage New item requiring triage labels Aug 30, 2023
@anand3493
Copy link
Author

Sorry, my bad. I had supplied operator image incorrectly

@saiganeshkABI
Copy link

Can you help us by sharing the correct operator image?

This is the command I used to deploy otel in our aks:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

2 participants