Description of problem: Customer did not install logging EFK using parameter "openshift_logging_use_ops", even then view archive link of default and metrics is redirecting to incorrect operational ops url "kibana-ops.test.example.com". loggingPublicURL i.e logging.test.example.com Version-Release number of selected component (if applicable): v3.6.173.0.49 How reproducible: Installation of logging EFK without logging ops Steps to Reproduce: 1. Deploy logging EFK, do not use parameter "openshift_logging_use_ops" 2. check view archive link of default project it redirects to operational ops url kibana-ops.test.example.com Actual results: View Archive link of a pod log for (default, metrics) project redirects to kibana-ops.test.example.com, where as loggingPublicURL=logging.test.example.com Expected results: As logging ops is not installed, view archive link should redirect to loggingPublicURL i.e logging.test.example.com Additional info: NA
@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