I am facing an error while running uninstall.sh on OpenShift cluster after un-installing the Operator?

In case of un-installing Dynatrace operator for classicFullStack and applicationMonitoring without CSI driver on Openshift.
You may face the below/similar error due to inability to access the file system.

Cleaning up /opt/dynatrace/oneagent/agent. Part of configuration preserved in /var/lib/dynatrace/oneagent ERROR: ld.so: object '/opt/dynatrace/oneagent/agent/bin/current/linux-x86-64/liboneagentproc.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.

In such scenario you can perform one of the below steps:

1- ssh access to the worker node and run the uninstall script
2- login under debug container, elevate the permissions and then run the script
“oc debug node/<node-name>”
“chroot /host”
"uninstall.sh "
Documentation page for un-installing the operator

6 Likes

Thank you for sharing this @akram_elkhangy