Open jimmidyson opened 7 years ago
Yeah, think we mostly just need to update the links used in hawtio-kubernetes to use HTTPS, they should already be using openshift-jvm, just not using an HTTPS URL most likely.
On Aug 26, 2016 6:38 AM, "Jimmi Dyson" notifications@github.com wrote:
We need to enable https for Jolokia everywhere to make both the fabric8 console & OpenShift console work together.
Currently hawtio-kubernetes uses plain http https://github.com/hawtio/hawtio-kubernetes/blame/8394445e96cf5c1c3231ff81567dde9e041288e3/plugins/kubernetes/ts/kubernetesModel.ts#L814 to connect to Jolokia which works fine with our quickstarts in their current state.
The OpenShift console requires Jolokia to be secured via https. Easy enough to do: just set env var AB_JOLOKIA_AUTH_OPENSHIFT=true for the container.
So we either have OpenShift console using openshift-jvm or fabric8 console using hawtio-kubernetes. Can we get both to work consistently, as well as ensuring this doesn't break on Kubernetes? I think we can just enable https without auth for Jolokia for Kubernetes?
Thoughts @rhuss https://github.com/rhuss @gashcrumb https://github.com/gashcrumb @jstrachan https://github.com/jstrachan?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fabric8io/fabric8/issues/6289, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVdrKp-OFtub27PIqQSpF7_5hdluI9Nks5qjsI2gaJpZM4Jt9IG .
Is this PR related? https://github.com/fabric8io/fabric8-console/pull/210
I doubt it, I think for this one we just need to change the links that we generate in hawtio-kubernetes.
but we should merge that one :-)
ooh ok lets do that
[merge]
helps if the merge comment was added to the PR :)
We seem to have this issue in the current release. The JMX console for messaging pods does not work (message-gateway and message-broker).
I have investigated the following:
Found workaround to modify deployment setting: AB_JOLOKIA_AUTH_OPENSHIFT=
Hi @iscra , Did you find any solution for JMX console for messaging pods? It's still not working. Any alternative solution?
Hi @shoaibjdev, the workaround with setting the env
AB_JOLOKIA_AUTH_OPENSHIFT=
should work.
There is also a pull request changing the defaults in the message broker: https://github.com/fabric8io/fabric8-ipaas/pull/517 (and fixing more issues)
Hi @iscra thank you for the workaround! I was pulling hair trying to fix this issue.
@iscra the message-broker and gateway work now, however, the amq karaf quickstart is having trouble syncing with those pods. Do you know what might be causing that issue?
We need to enable https for Jolokia everywhere to make both the fabric8 console & OpenShift console work together.
Currently hawtio-kubernetes uses plain http to connect to Jolokia which works fine with our quickstarts in their current state.
The OpenShift console requires Jolokia to be secured via https. Easy enough to do: just set env var
AB_JOLOKIA_AUTH_OPENSHIFT=true
for the container.So we either have OpenShift console using openshift-jvm or fabric8 console using hawtio-kubernetes. Can we get both to work consistently, as well as ensuring this doesn't break on Kubernetes? I think we can just enable https without auth for Jolokia for Kubernetes?
Thoughts @rhuss @gashcrumb @jstrachan?