Problems configuring KUBE_PING in JBoss EAP
Issue
We receive the following warning in RH-SSO pod logs:
10:23:47,690 WARN [org.jgroups.protocols.kubernetes.KUBE_PING] (thread-207,ejb,sso-39-f8pjp) failed getting JSON response from Kubernetes Client[masterUrl=https://10.10.10.10:443/api/v1 , headers={Authorization=#MASKED:835#}, connectTimeout=5000, readTimeout=30000, operationAttempts=3, operationSleep=1000, streamProvider=org.jgroups.protocols.kubernetes.stream.TokenStreamProvider@74333efa] for cluster [ejb],
namespace [default], labels [null]; encountered [java.lang.Exception: 3 attempt(s) with a 1000ms sleep to execute [OpenStream] failed. Last failure was [java.io.IOException: Server returned HTTP response code: 403 for URL: https://10.10.10.10:443/api/v1/namespaces/default/pods ]]
Environment
- Openshift
- 3.x
- 4.x <--- EAP Operator
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.4
- 7.x
- Red Hat Single Sign-On (RH-SSO)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.