OpenShift caagent-deployment not connecting properly

book

Article ID: 145608

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

We are having problems with one of our OpenShift clusters.  The agent itself is connecting but the ApiServer Connection Status is showing 0 instead of 1 and we are not seeing any metadata.



Environment

Release : 10.7.0

Component : APM Agents

Resolution

Here is the Exception in the deployment DEBUG log:

[DEBUG] [IntroscopeAgent.Fabric8ClusterMonitor] Failed to extract information for Namespaces
io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:57)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.list(BaseOperation.java:508)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.list(BaseOperation.java:62)
at com.ca.apm.openshift.clients.fabric8.Fabric8ClusterMonitor.getListOfNamespaces(Fabric8ClusterMonitor.java:233)
at com.ca.apm.openshift.clients.fabric8.Fabric8ClusterMonitor.run(Fabric8ClusterMonitor.java:80)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Failed to connect to openshift.abc123.com/1.2.3.4:80
...


Basically we are not able to connect to the OpenShift_Connection_Url as specified in the stack trace above (http://openshift.abc123.com)



However in the DEBUG log collection, we see this:

[[email protected]<host>]# oc project caapm
Already on project "caapm" on server "https://openshift.abc123.com:443".


Please use this URL and see if it can connect:

https://openshift.abc123.com:443