Bug 1519808
| Summary: | View archive link for default and metrics pods redirects to wrong kibana url | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Rajnikant <rkant> |
| Component: | Logging | Assignee: | Jeff Cantrill <jcantril> |
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.1 | CC: | aos-bugs, bcankurt, jmalde, juzhao, rkant, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | 3.6.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: The annotation to identify the proper kibana instance to use for ops namespaces is being set regardless of if an OPS logging cluster is used or not
Consequence: Users will be directed to non-existent service from the origin web console when trying to view operations logs
Fix: For existing deployments, manually run 'oc annotate ns $NAMESPACE openshift.io/logging.ui.hostname-' for each affected namespace. New deployments will only have this annotation set by the installer if 'openshift_logging_use_ops' variable is set to true.
Result: User's will be directed to the correct version of Kibana when viewing ops logs from the origin web console.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-01-23 17:59:00 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: | |||
| Attachments: | |||
|
Description
Rajnikant
2017-12-01 13:23:44 UTC
@Rajnikant Can you please also provide a more specific version of Openshift and the output of the metrics namespace 'oc get project openshift-infra -o yaml'. There is logic in the webconsole that controls where a user is directed The workaround is to edit the namespace and remove the annotation: 1. oc edit ns openshift-infra 2. delete annotatin: 'openshift.io/logging.ui.hostname' Easier workaround is: oc annotate ns $NAMESPACE openshift.io/logging.ui.hostname- Can you log that as a new issue? This requires a change that is separate from this one. View archive link for default and metrics pods now redirects to correct kibana url Images: logging-kibana/images/v3.6.173.0.89-1 logging-fluentd/images/v3.6.173.0.89-1 logging-auth-proxy/images/v3.6.173.0.89-1 logging-elasticsearch/images/v3.6.173.0.89-1 logging-curator/images/v3.6.173.0.89-1 Created attachment 1369747 [details]
openshift-infra pod, view archive link redirect to correct url
Created attachment 1369769 [details]
pod under default project, view archive link redirect to correct url
Created attachment 1369770 [details]
pod under openshift-infra project, view archive link redirect to correct url
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-2018:0113 We just upgraded from 3.6.173 to 3.7.23 and faced exactly same issue. openshift-infra namespace had the annotation with "kibana-ops" Please ref https://bugzilla.redhat.com/show_bug.cgi?id=1547348 for 3.7 |