Bug 1382728
Summary: | Metrics not available in UI until Hawkular cert is manually accepted and no warning or message to indicate this | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ian Tewksbury <itewksbu> |
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.3.0 | CC: | aos-bugs, jforrest, jokerman, mmccomas, tdawson, xiaocwan, yanpzhan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
The web console would not show any errors on the overview page when metrics were configured, but not working. It would quietly fall back to the behavior when metrics are not set up.
The web console now shows an error message with a link to the metrics status URL to help diagnose problems such as invalid certificates. The alert can be permanently dismissed for users who don't wish to see it.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-18 12:42:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ian Tewksbury
2016-10-07 14:11:50 UTC
Unfortunately this is how it has to work since the metrics component is under a different hostname than the console itself. Its not an ideal situation, the metrics and console team do not like it, but until there is a service we can use in OpenShift to proxy this information under the same hostname as the console, there is nothing the metrics team can do. If you want the desired behaviour where the browser automatically accepts the certificate you need to provide your own certificates signed by a CA trusted by your browser. This can be done by setting the hawkular-metrics.pem and hawkular-metrics-ca.cert secrets. The documentation explain how to do this. The UI normally does have an error message and a link explaining this situation. If you could please describe where you are not seeing the error message that may help the UI team provide a better message here. I'm guessing the issue is the overview. If you go to the monitoring page or the metrics tab for a deployment or pod then you'll see the error message that links you to the metrics splash page. But the overview we just fall back and show you the info about the pod templates instead. Sam and I talked at one point about throwing an alert at the top of the page when we fail to load the metrics. What Jessica said. Overview page shows nothing. You get a link if you go to the metrics page. It would be nice to show a warning or error or something on the overview page to link people through to accept the cert if possible. This has been merged into ose and is in OSE v3.4.0.17 or newer. Checked on OCP v3.4.0.17, after configure metrics, login on web console, check on overview page in the project, could find a warning info on the top “An error occurred getting metrics. Open metrics URL | Don't show me again“. After click "Open metrics URL", it jumps to metrics link and user could accept the cert on the page. The bug has been fixed, so move it to verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0066 Excellent news. |