We just hit this issue. Has to do with docker not being able to find the liboneagentproc.so file after the 1.189 agent update as the path was changed in that version. This occurred when the host got the new version of the agent but had not yet been restarted. Restarting docker fixed the issue.
oneagent storage path (/opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so), whilst starting from 1.189 said dynamic library is stored in version-specific path (in this case /opt/dyntrace/oneagent/bin/1.189.160.20200407-143018/linux-x86-64/liboneagentproc.so)
I had the same issue in my cluster, I was not able to create new pods after this update:
ERROR: ld.so: object ‘/opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Hi All, would like to also ask if this issue was addressed since we also encountered this error on 1.185 version of oneagent even though there’s no present docker or rancher. hoping to find some answers from other users that may have encountered this.
I have face this ld_preload_cannot be preloaded. What I have found is while building dynatrace image it is unable to load the liboneagentproc.so libraries. So we have used new dynatrace token for the image build, and the image able to load the libraries after that my error was disappeared