Bug 1547944
| Summary: | installation playbook for logging sets PUBLIC_MASTER_URL and OAP_LOGOUT_REDIRECT to first master | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | daniel <dmoessne> |
| Component: | Logging | Assignee: | ewolinet |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.7.0 | CC: | aos-bugs, ewolinet, jcantril, jokerman, mmccomas, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | 3.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-28 14:30:19 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: | 1505684 | ||
Pass with openshift-ansible-3.9.1-1.git.0.9862628.el7.noarch 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:0489 |
Description of problem: When installing logging via ansible playbook PUBLIC_MASTER_URL and OAP_LOGOUT_REDIRECT in kibana dc are set do first master which causes issues with kibana (e.g. logout leads to error) if the first master is not available for whatever reason. Version-Release number of selected component (if applicable): ansible-2.4.1.0-1.el7.noarch openshift v3.7.23 kubernetes v1.7.6+a08f5eeb62 kibana: image: registry.access.redhat.com/openshift3/logging-kibana:v3.7.23 image: registry.access.redhat.com/openshift3/logging-auth-proxy:v3.7.23 How reproducible: Steps to Reproduce: 1. install OCP 3.7 w/o logging 2. Add the following options to /etc/ansible/hosts [...] #logging openshift_hosted_logging_deploy=true openshift_logging_install_logging=true openshift_logging_storage_kind=nfs openshift_logging_storage_access_modes=['ReadWriteOnce'] openshift_logging_storage_nfs_directory=/exports openshift_logging_storage_nfs_options='*(rw,root_squash)' openshift_logging_storage_volume_name=logging openshift_logging_storage_volume_size=40Gi openshift_logging_image_version=v3.7.23 openshift_logging_image_prefix=registry.access.redhat.com/openshift3/ openshift_logging_master_url=https://kubernetes.default.svc.{{openshift.common.dns_domain}} openshift_logging_kibana_hostname=kibana.ocp.example.com [...] 3. Install logging # ansible-playbook -i /etc/ansible/hosts /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-logging.yml 4. Check dc for kibana: # oc describe dc/logging-kibana [...] OAP_PUBLIC_MASTER_URL: https://master1.example.com:8443 OAP_LOGOUT_REDIRECT: https://master1.example.com:8443/console/logout [...] Actual results: OAP_PUBLIC_MASTER_URL and OAP_LOGOUT_REDIRECT are always set to first master, which should not be the case Expected results: OAP_PUBLIC_MASTER_URL and OAP_LOGOUT_REDIRECT should point at the public cluster hostname Additional info: Description of problem: Version-Release number of the following components: rpm -q openshift-ansible rpm -q ansible ansible --version How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Please include the entire output from the last TASK line through the end of output if an error is generated Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag