instana/instana-agent-operator

issue with Py_IsInitialized in container deployment

georgettica opened this issue · 2 comments

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?

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

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