-
Notifications
You must be signed in to change notification settings - Fork 148
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
symbol not found when loading opentelemetry module #141
Comments
maybe related #146 |
@longwuyuan I need to deploy nginx on the upper part of k8s to integrate opentelemetry. I plan to use two methods. The first is to directly configure it in the pod of ingress nginx controller according to the requirements of opentelemetry CPP contrib, but nginx reports an error: the file ld-linux-x86-64 cannot be found so. 2。 So I failed. The second is the way you mentioned above. Have you succeeded? Can you help me? thank you. |
my status is same as reported originally |
Hi @longwuyuan, can you give us some context here please. Your Dockerfile doesn't seem to have the build result. I suppose you use it for building and storing artifacts somewhere else but I couldn't find it. |
Hi @esigo, The link to the image built by the ingress-nginx project CI is here https://console.cloud.google.com/gcr/images/k8s-staging-ingress-nginx/global/opentelemetry The build is a success. We then make the use of the image available as an option, in a sidecar container. A user can enable this option to load the module in the nginx-ingress-controller like this https://github.com/kubernetes/ingress-nginx/blob/ec1b01092ef2c2ff36fe296c91c45d9b2d394bbd/charts/ingress-nginx/values.yaml#L583 ;
But the module fails to load. There are several errors stating "symbol not found"
|
@longwuyuan, I can't pull your image. Also I was not able to build opentelemetry using the build script you have provided. You may add |
Hi @esigo, Thank you very much for updating.
If you are going to pull, kindly try like above and update and I will work on the problem.
Thanks tons for this help. |
You may check the PR I've raised in our repo: open-telemetry/opentelemetry-cpp#1382 |
Hi @esigo, I added the flag and I used the latest commit, at the time of writing this post, but I am getting a checksum error on the src tgz. Any suggestions/comments ;
|
Ah, just saw the PR. That should help a lot in simplifying the build. Thank you very much. |
No comment on hash. |
Ah, thank you again. Only now I realise there are 2 components, needing to be built. |
@esigo thanks tons. Wanted to repeat clear opinion that if you can raise a similar PR in our repo, will be much obliged and grateful. |
Hi @longwuyuan, sure I'm working on it. |
@esigo Thank you very much. Its a huge help |
Have you solved this problem? Can your image make ot work normally? I hope you succeed. |
hi @mahaisong, This is work in progress as you can see from the comments. I think the problem will be solved in a few weeks. |
@longwuyuan please close the issue if it's fixed. |
Hi @esigo , Apologies for troubling again but we are having problems making progress. After merging your PR in ingress-nginx, the CI there is failing to build the opentelemetry image stating checksum error on downloading src tgz
|
kubernetes/k8s.io#3746. we have a successful build . Much much gratitude @esigo /close |
Hi,
Steps to reproduce
Where the ot.yaml looks like this
Then follow the below steps ;
What is the expected behavior?
I expected the module to load since we built on alpine and there was no build error .
What is the actual behavior?
The module fails to load and attempt to load module reports missing symbols
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: