Hi! we are testing the oneagent operator in Minishift. The deploy of full stack agent works just great, but no process get injected, event after starting new pods or leaving the pods at 0 by a few minutes.
All pods keeps saying that a restart is need it. We started new ones, build new ones and I restarted the minishift enviroment a few times, but always the same.
Checking the support logs i found this failures:
info [native] Detected PA Injection failure for PGI:
Also, checking oneagenthelper log:
severe [docker ] pid 27988: Injection failed for container k8s_sti-build_nginx-test-1-build_test_e4280cab-75ee-11e9-9d3b-525400c47d6f_0
We are doing this to check this before testing in a real openshift enviroment deploy. The Oneagent installed as Operator wont inject, as daemon wont inject. Installed the .sh agent at the linux box, and worked like a charm. After starting varius nginx pods, every single one was injected. (Using Nginx as demo)
Answer by Julius L. ·
Not sure if this is the same issue, but I also had problems deploying Oneagent via operator on Minishift. If I remember correctly, it was because of how Minishift is build (I think it was readonly root or something similar preventing the injection - maybe it was the LD_PRELOAD setting). The Operator will run the Oneagent as a docker image with elevated rights and with access to the host filesystem.
Anyway, on real Openshift it worked like charm.