ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
OpenShift fails after agent deployed
Article ID: 103713
CA Application Performance Management Agent (APM / Wily / Introscope)INTROSCOPE
After implementing CA APM OpenShift monitoring, the Openshift technician is getting this error: oc create -f caagent-openshift> Error from server (BadRequest): error when creating "caagent-openshiftmonitor.yml": DaemonSet in version "v1beta1" cannot be handled as a DaemonSet: [pos 337]: json: expect char '"' but got char '[' Error from server (AlreadyExists): error when creating "caagent-openshiftmonitor.yml": deployments.extensions "caagent-deployment" already exists
CA APM 10.7
1. You have to replace all the placeholders like "[AGENTMANAGER_URL]" with the actual values in caagent-openshiftmonitor.yml.
2. run "oc delete deployment caagent-deployment" and "oc delete ds/caagent" before running "oc create -f caagent-openshiftmonitor.yml" again.
Basically, replace all substitutes like connection URL, APIToken , agentManger URL etc and recreate the pod. You can either delete them individually, run oc delete -f caagent-openshiftmonitor.yml, or even you run oc apply to re-create the pods.