Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1421563

Summary: [Intservice_public_324]kibana route unaccessible after logging deployment
Product: OpenShift Container Platform Reporter: Xia Zhao <xiazhao>
Component: InstallerAssignee: ewolinet
Status: CLOSED ERRATA QA Contact: Xia Zhao <xiazhao>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.0CC: aos-bugs, ewolinet, jokerman, juzhao, mmccomas, pweil
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-12 19:01:52 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:
Bug Depends On:    
Bug Blocks: 1420219    
Attachments:
Description Flags
ES log
none
kibana_proxy container log
none
kibana container log
none
ansible full logs none

Description Xia Zhao 2017-02-13 05:44:02 UTC
Created attachment 1249747 [details]
ES log

Description of problem:
Deploy logging 3.5.0 stacks with ansible scripts. After EFK pods are all running, when ES is in green status, kibana route not accesible with error 

"Server not found

Firefox can't find the server at {{openshift.common.public_hostname}}."

The redirect URL after visiting the kibana route is:

https://{{openshift.common.public_hostname}}:8443/oauth/authorize?response_type=code&redirect_uri=https%3A%2F%2Fkibana.${sub-domain}%2Fauth%2Fopenshift%2Fcallback&scope=user%3Ainfo%20user%3Acheck-access%20user%3Alist-projects&client_id=kibana-proxy

Version-Release number of selected component (if applicable):
The latest ansible scripts in https://github.com/openshift/openshift-ansible

How reproducible:
Always

Steps to Reproduce:
1.Deploy logging 3.5.0 stacks with ansible

The inventory file:
[oo_first_master]
$master ansible_user=root ansible_ssh_user=root ansible_ssh_private_key_file="~/libra.pem" openshift_public_hostname=$master

[oo_first_master:vars]
deployment_type=openshift-enterprise
openshift_release=v3.5.0
openshift_logging_install_logging=true

openshift_logging_kibana_hostname=kibana.$subdomain
openshift_logging_kibana_ops_hostname=kibana-ops.$subdomain
public_master_url=https://$master:8443

openshift_logging_image_prefix=$registry/openshift3/
openshift_logging_image_version=3.5.0

openshift_logging_namespace=logging
openshift_logging_fluentd_use_journal=true

2.Wait until EFK pods are all running, and ES in green status
3.Visit the kibana route

Actual results:
kibana route unaccessible

Expected results:
kibana route should be accessible

Additional info:
Ansible execution log attached
Elasticsearch & kibana container logs attached

Comment 1 Xia Zhao 2017-02-13 05:45:25 UTC
Created attachment 1249748 [details]
kibana_proxy container log

Comment 2 Xia Zhao 2017-02-13 05:45:48 UTC
Created attachment 1249749 [details]
kibana container log

Comment 3 Xia Zhao 2017-02-13 06:15:26 UTC
Created attachment 1249752 [details]
ansible full logs

Comment 4 Xia Zhao 2017-02-15 03:26:56 UTC
This issue blocks about 60% tests which need to visit logging UI for checking result.

Comment 8 Xia Zhao 2017-02-16 03:23:43 UTC
Verified with the code in PR with branch https://github.com/ewolinetz/openshift-ansible/tree/logging_fix_kibana_routes, issue was fixed & kibana route accesible. Will set to verified once PR merged. Removing key word TestBlocker.

Comment 10 Xia Zhao 2017-02-20 05:08:45 UTC
Set to verified according to comment #8

Comment 12 errata-xmlrpc 2017-04-12 19:01:52 UTC
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:0903