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

Anton kurrent93 at gmail.com
Tue Apr 11 17:12:29 EDT 2017


Hi John

To clarify, its not a certificate issue. After I accept the certificate
warning, the browser redirects to:

Application is not available

The application is currently not serving requests at this endpoint. It may
not have been started or is still starting.

Possible reasons you are seeing this page:

The host doesn't exist. Make sure the hostname was typed correctly and that
a route matching this hostname exists.
The host exists, but doesn't have a matching path. Check if the URL path
was typed correctly and that the route was created using the desired path.
Route and path matches, but all pods are down. Make sure that the resources
exposed by this route (pods, services, deployment configs, etc) have at
least one pod running.


On 11 April 2017 at 20:55, John Mazzitelli <mazz at redhat.com> wrote:

> This happens always - and I never quite figured out why. But once you
> click on that link "Open Metrics URL" and get the "started" splash page, it
> all shows it is working.
>
> I think it has to do with the self-signed certificate and how the browser
> wants to be told it is OK. I'm not sure, that's just a guess.
>
> But, if you started "oc cluster up --metrics" and you see that message,
> its all OK. Just click "Open Metrics URL" and see that you can get to the
> metrics splash screen via your browser.
>
> Other than that, I don't have a good explanation - I just know how I get
> that message to go away. It shows up for me everytime I "oc cluster up
> --metrics".
>
> ----- Original Message -----
> > 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
> >
> >
> > 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
> >
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20170411/3443d933/attachment.html 


More information about the hawkular-dev mailing list