Bug 1472222
| Summary: | Incorrect address of kibana route configured when logging stacks is installed within the process of OCP installation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Xia Zhao <xiazhao> | ||||
| Component: | Installer | Assignee: | ewolinet | ||||
| Status: | CLOSED ERRATA | QA Contact: | Xia Zhao <xiazhao> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.6.0 | CC: | aos-bugs, jokerman, mmccomas, sdodson, wsun, xiazhao | ||||
| 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-08-10 05:31:01 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: |
|
||||||
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 |
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