Red Hat Bugzilla – Bug 1478937
openshift-logging playbook does not set OAP_PUBLIC_MASTER_URL correctly
Last modified: 2017-08-08 02:12:13 EDT
Description of problem:
OAP_PUBLIC_MASTER_URL is not correctly populated in a HA environment.
Version-Release number of the following components:
$ rpm -q openshift-ansible
$ rpm -q ansible
$ ansible --version
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.5 (default, May 3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]
Every time when running the openshift-logging playbook. It also get reset to the incorrect value when re-running the playbook.
Steps to Reproduce:
1. Set up a HA OCP cluster
2. Run the openshift-logging playbook
Kibana does not redirect to the correct master URL. Which will make logging in impossible since it redirects to the incorrect URL.
The URL that should be populated to this variable should probably be openshift_master_cluster_public_hostname instead of the first master that's being set in the kibana deploymentconfig.
This also goes for OAP_LOGOUT_REDIRECT.
This also happens with kibana-ops deployed.
*** This bug has been marked as a duplicate of bug 1464349 ***