instana / instana-agent-operator

A Kubernetes operator to install and manage the Instana agent.
https://www.instana.com
Apache License 2.0
46 stars 21 forks source link

issue with Py_IsInitialized in container deployment #53

Closed georgettica closed 3 years ago

georgettica commented 3 years ago

we are using instana-agent to monitor our cluster. the version of the operator is 1.0.2 (latest release)

we noticed that once we run python code inside a cronjob (a bash script with a python inline command) we recieve the error:

/bin/bash: symbol lookup error: /tmp/.instana/python/libinstanapy3-1.2.0.so: undefined symbol: Py_IsInitialized

this is presumably happening in correlation to the instana agent deployed on the cluster.

is there information we can provide to make debugging / fixing this issue better?

georgettica commented 3 years ago

ran this on an openshift cluster and the container that was holding this was an nodejs:latest, it was moved to https://catalog.redhat.com/software/containers/ubi8/nodejs-14/5ed7887dd70cc50e69c2fabb and the issue got solved.

posting this here in case this helps you to investigate the issue

georgettica commented 3 years ago

Closing as there is no traction, hope that this PR will help anyone with the same issue