Description of problem: Currently you need to set the ansible_service_broker_install flag to true in order for the broker to deploy (it defaults to false). Instead, we should default to installing the broker when the catalog is installed. Steps to Reproduce: 1. Set the catalog to install 2. Run the installer Actual results: The catalog is installed but not the broker Expected results: the broker and catalog should both be installed
https://github.com/openshift/openshift-ansible/pull/5958
https://github.com/openshift/openshift-ansible/pull/5959/files
Updated Description of problem: Currently you need to set the openshift_enable_service_catalog, ansible_service_broker_install, and template_service_broker flags to true in order for the catalog and both broker to install. They should all install by default. Steps to Reproduce: 1. Don't set any of the broker/catalog flags 2. Run the installer Actual results: The catalog and brokers are not installed Expected results: the brokers and catalog should be installed
https://github.com/openshift/openshift-ansible/pull/5959
Re-test this bug with openshift-ansible-3.7.0-0.195.0.git.0.5efcf4a.el7.noarch, FAIL. Don't set any of service catalog/ASB/TSB flags, trigger installation, found only service catalog role are called, no ASB/TSB role is called. TASK [ansible_service_broker : Set default image variables based on deployment type] *** Monday 06 November 2017 07:10:17 +0000 (0:00:00.031) 0:23:33.661 ******* skipping: [ec2-34-207-172-11.compute-1.amazonaws.com] => (item=/home/slave4/workspace/Launch Environment Flexy/private-openshift-ansible/roles/ansible_service_broker/vars/openshift-enterprise.yml) => {"changed": false, "item": "/home/slave4/workspace/Launch Environment Flexy/private-openshift-ansible/roles/ansible_service_broker/vars/openshift-enterprise.yml", "skip_reason": "Conditional result was False", "skipped": true} <--snip--> TASK [template_service_broker : Set default image variables based on deployment type] *** Monday 06 November 2017 07:10:19 +0000 (0:00:00.030) 0:23:34.960 ******* skipping: [ec2-34-207-172-11.compute-1.amazonaws.com] => (item=/home/slave4/workspace/Launch Environment Flexy/private-openshift-ansible/roles/template_service_broker/vars/openshift-enterprise.yml) => {"changed": false, "item": "/home/slave4/workspace/Launch Environment Flexy/private-openshift-ansible/roles/template_service_broker/vars/openshift-enterprise.yml", "skip_reason": "Conditional result was False", "skipped": true} I guess that is because the following default value is not changed. roles/ansible_service_broker/defaults/main.yml:ansible_service_broker_install: false roles/template_service_broker/defaults/main.yml:template_service_broker_install: False
https://github.com/openshift/openshift-ansible/pull/6020 additional fixes
Fixed in openshift-ansible-3.7.4-1.git.0.254e849.el7.noarch.rpm service catalog, template broker and ansible service broker are enabled by default
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/RHSA-2017:3188