[Hawkular-dev] OpenShift - An error occurred getting metrics.

Matt Wringe mwringe at redhat.com
Tue Apr 11 13:51:45 EDT 2017


----- Original Message -----
> From: "Anton" <kurrent93 at gmail.com>
> To: "Discussions" <hawkular-dev at lists.jboss.org>
> Sent: Tuesday, 11 April, 2017 12:17:01 PM
> Subject: [Hawkular-dev] OpenShift - An error occurred getting metrics.
> 
> Hello
> 
> I have tried to run Hawkular in both `oc cluster up` and OpenShift, different
> versions of both.
> 
> The documentation for `oc cluster up` says (
> https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md#installing-metrics
> ) that by using the `--metrics` parameter, metrics is installed.
> 
> Its a similar story when installing OpenShift using Openshift-ansible.
> 
> However, in both cases, when logging into the OpenShift webconsole I see an
> error message saying:
> 
> An error occurred getting metrics. Open Metrics URL | Don't Show Me Again
> 

What happens if you open the metrics URL?

By default the metrics certificate is self signed and not trusted by the browser. So you will first need to click on the link and verify if you trust the certificate or not. If you accept the certificate and refresh the metrics page, do you still see the error?

If not, you might be running into an issue. If that is the case, can you please attach the output of 'oc get pods -n openshift-infra' to see what state each of the pods are in?

> It would seem there is more to correctly installing Hawkular metrics than
> just using the parameter.
> 
> What else needs to be done? And is it possible get the additional info added
> to the documentation for openshift-ansible and `oc cluster up`?
> 
> Thanks
> 
> 
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
> 


More information about the hawkular-dev mailing list