Description of problem: The default namespace of the "dashboard redirector" is "ansible-service-broker", but it's non-exist for OCP cluster, so we should set it to "openshift-ansible-service-broker" in openshift-ansible. Version-Release number of selected component (if applicable): openshift-ansible-3.10.0-0.47.0 How reproducible: always Steps to Reproduce: 1. Install the ASB with "ansible_service_broker_enable_dashboard_redirector=true" 2. Check the configure of the dashboard-redirector. Actual results: #oc edit dc/asb ... - command: - dashboard-redirector image: registry.reg-aws.openshift.com:443/openshift3/ose-ansible-service-broker:v3.10.0 Expected results: - command: - dashboard-redirector - --namespace - openshift-ansible-service-broker image: registry.reg-aws.openshift.com:443/openshift3/ose-ansible-service-broker:v3.10.0 Additional info:
I submit a PR(https://github.com/openshift/openshift-ansible/pull/8468) to fix this, looking forward your comments.
Commits pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/65c87e70fa378e6a46050c7c29bec18a83dfe758 bug 1581052: specify the namespace https://github.com/openshift/openshift-ansible/commit/7848be798d319c72d83a16d28846b576a28ec9e6 Merge pull request #8468 from jianzhangbjz/dashboard bug 1581052: specify the namespace
Thanks for the PR! Looks great.
Change status to "ON_QA" since the fixed PR has merged into openshift-ansible-3.10.0-0.54.0 version.
Verify it. Enable it in inventory file: ... ansible_service_broker_enable_dashboard_redirector=true ansible_service_broker_install=true #ansible-playbook -i qe-inventory-host-file playbooks/openshift-service-catalog/config.yml Installation works well. [root@qe-jiazha-31master-etcd-1 ~]# oc get route NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD asb-1338 asb-1338-openshift-ansible-service-broker.apps.0530-ngj.qe.rhcloud.com asb 1338 reencrypt None dr-1337 dr-1337-openshift-ansible-service-broker.apps.0530-ngj.qe.rhcloud.com asb 1337 None [root@qe-jiazha-31master-etcd-1 ~]# oc get pods NAME READY STATUS RESTARTS AGE asb-1-24tjs 2/2 Running 0 53s
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:1816