Hi Pablo,
(I'm also cc-ing our upstream development mailing list - let's continue the conversation on that list)
Hi Andrew
Nice to meet you, I’m Pablo from Amdocs Israel branch
I saw your tutorial on Container JFR on OpenShift cluster for JFR recording
https://www.youtube.com/watch?v=NQULoG2pLa8
I’m trying to define same on OCP 4 cluster for openJDK11 based applications
Managed to deploy the Cryostat operator + CR instance + managed to record for the same POD
Just for clarity here, "managed to record for the same pod" -
you're referring to creating a recording within Cryostat itself?
My issue comes when trying to listen to other cluster PODs. Exposed for them a jfr-jmx port and the pod is visible in the Cryostat dashboard
When I try to record for it I get the following exception:
java.net.SocketException: Network is unreachable (connect failed)
or
Caused by: org.openjdk.jmc.rjmx.ConnectionException: Could not connect to remote target service:jmx:rmi:///jndi/rmi://10.254.16.119:9091/jmxrmi
Following are the java options I added on my application
I’m struggling with this few days, any help/hint will be appreciated :-)
Just in case I’m attaching the Cryostat CR POD log
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=9091
-Dcom.sun.management.jmxremote.rmi.port=9091
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
Thanks a lot in advance!
Pablo Martinez
This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service
Could you describe for us the cluster you are using? ie. how many
nodes are in the cluster, are Cryostat and your other application
pod assigned to the same node, if the service URL's IP address
(10.254.16.119) looks like an expected IP address for your
application pod, etc.