-
Notifications
You must be signed in to change notification settings - Fork 165
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
exec: no such file or directory
on v0.116.0 images
#783
Comments
Hello, @damemi! I'm here to help you with bugs, answer questions, and assist you in becoming a contributor. Let's work together to resolve the issue you're facing while waiting for a human maintainer. The error message For the contrib image, the expected entrypoint is Here are a few steps you can take to troubleshoot and potentially resolve the issue:
If these steps do not resolve the issue, it might be necessary to check for any updates or patches from the maintainers of the OpenTelemetry Collector images. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@jackgopack4 could #726 be the culprit? |
Just for reference, this seems to be affecting GitHub actions uses this container as well: https://github.com/open-telemetry/opentelemetry-go-instrumentation/actions/runs/12377825359/job/34549117158?pr=1431 |
I think it must be. If I do |
This combined with the refactor ticket means we should probably go back to the drawing board on the PIE mode build. Apologies as I am out of office for the next week or two. |
For some reason binary is linked dynamically (and of course those libraries are not included in the image, so exec is not able to execute it):
For the record binary extracted from 0.115.1:
Quick dirty hack - just mount missing library (it depends on used architecture), e.g.
And then you have everything in the container, so exec will be able to execute it. I'm not sure about golang build options, but I guess pie can be also linked statically: https://stackoverflow.com/questions/64019336/go-compile-to-static-binary-with-pie |
We ran into this as well over on OpenTelemetry .NET. Our OtlpExporter integration tests (which use otel/opentelemetry-collector) are blowing up: https://github.com/open-telemetry/opentelemetry-dotnet/actions/runs/12379183379/job/34553658657?pr=6032#step:3:239 |
It was supposed to be internal linking but I guess I didn't configure it properly? |
New images 0.116.1 have been pushed, I tested with |
The |
Hi, running the latest images for the collector and contrib gives the following errors:
collector:
contrib:
The text was updated successfully, but these errors were encountered: