### Description of problem ### OpenShift v3.10 Client "oc cluster add automation-service-broker" should install openshift3/ose-ansible-service-broker v3.10. Instead, it currently installs the latest release of the upstream automation broker. ### Version-Release number ### RHEL 7.5 host with Openshift v3.10 Linux Client installed ### business impact ### Current behavior makes it difficult for developers using "oc cluster up" or cdk to test APBs because the version of the service broker they are using for test is significantly different from the production version included with OCP v3.10.
As a temporary workaround you should be able to patch the dc to get a similar broker: oc patch dc -n openshift-automation-service-broker openshift-automation-service-broker --patch='{"spec":{"template":{"spec":{"containers":[{"name": "penshift-automation-service-broker", "image":"ansibleplaybookbundle/origin-ansible-service-broker:release-1.2"}]}}}}' PR's for 3.11 and 3.10: https://github.com/openshift/origin/pull/20626 https://github.com/openshift/origin/pull/20627
We can't apply the patch on origin 3.10 as the openshift ansible role installing ASB uses the following namespace : openshift-ansible-service-broker and not openshift-automation-service-broker and container name is asb and not penshift-automation-service-broker
Hi Charles If you're using openshift-ansible you should be able to change the image and tag using these options ansible_service_broker_image_prefix ansible_service_broker_image_tag Regardless you should be able to modify the patch line to work similarly, something alone the lines of: oc patch dc -n openshift-ansible-service-broker asb --patch='{"spec":{"template":{"spec":{"containers":[{"name": "asb", "image":"ansibleplaybookbundle/origin-ansible-service-broker:release-1.2"}]}}}}' If you're using openshift-ansible and still having problems, or the default behavior is not as expected, please open a bug against openshift-anisble so we can track that issue appropriately and get it fixed.
Aligning to 4.0 to investigate further.
Closing this BZ as 'oc cluster up' will not be part of OCP 4.0.