Description of problem: Install logging stacks along with OCP by specifying these lines in inventory: openshift_hosted_logging_deploy=true openshift_hosted_logging_storage_kind=nfs openshift_hosted_logging_storage_access_modes=['ReadWriteOnce'] openshift_hosted_logging_storage_nfs_directory=/var/lib/exports openshift_hosted_logging_storage_nfs_options='"*(rw,root_squash)"' openshift_hosted_logging_storage_volume_name=logging openshift_hosted_logging_storage_volume_size=10G openshift_hosted_logging_deployer_prefix=${brew-registry}/openshift3/ openshift_hosted_logging_deployer_version=v3.6 The kibana route address is configured to be: # oc get route NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD logging-kibana kibana.router.default.svc.cluster.local logging-kibana <all> reencrypt/Redirect None It should be $subdomain in master-config file of openshift cluster, otherwise can't be recognized by openshift router. Version-Release number of selected component (if applicable): # openshift version openshift v3.6.152.0 kubernetes v1.6.1+5115d708d7 etcd 3.2.1 # rpm -qa | grep ansible openshift-ansible-filter-plugins-3.6.152.0-1.git.0.e58be7d.el7.noarch openshift-ansible-docs-3.6.152.0-1.git.0.e58be7d.el7.noarch openshift-ansible-lookup-plugins-3.6.152.0-1.git.0.e58be7d.el7.noarch openshift-ansible-callback-plugins-3.6.152.0-1.git.0.e58be7d.el7.noarch openshift-ansible-playbooks-3.6.152.0-1.git.0.e58be7d.el7.noarch ansible-2.2.3.0-1.el7.noarch openshift-ansible-3.6.152.0-1.git.0.e58be7d.el7.noarch openshift-ansible-roles-3.6.152.0-1.git.0.e58be7d.el7.noarch How reproducible: Always Steps to Reproduce: 1.Install logging stacks v3.6 along with OCP 3.6 cluster's installation 2.Check the address of kibana route after EFK is running 3. Actual results: # oc get route NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD logging-kibana kibana.router.default.svc.cluster.local logging-kibana <all> reencrypt/Redirect None Expected results: It should be $subdomain in master-config file of openshift cluster, otherwise can't be recognized by openshift router. Additional info: 1. Issue did not repro when logging stacks were installed seperately post openshift's installation by running this command: $ ansible-playbook -i ~/inventory -v /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-logging.yml 2. Full log of openshift installation / inventory file were provided in comment #1
The test env in comment #1 were redeployed, env is no longer in the state when bug repro.
Xia, What does the correctly created route look like? Can you provide the output of oc get route for that?
Created attachment 1300829 [details] The inventory file used for logging deployment where a correct kibana route address is got
Thanks for your effort here, Eric. Please always feel free to let me know if anything else I can do from QE side to ease your work here.
We can't re-create this issue can QE please reset.
Thanks for the fix, Eric. My auto installed logging environment is back today, the address of kibana route was configured to ${subdomain} there, and logging system working fine. Set to verified. The ansible version tested with: openshift-ansible-playbooks-3.6.169-1.git.0.440d532.el7.noarch # openshift version openshift v3.6.169 kubernetes v1.6.1+5115d708d7 etcd 3.2.1
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/RHEA-2017:1716