Bug 1510406

Summary: "keep_namespace" & "keep_namespace_on_error" should be added while installing ASB
Product: OpenShift Container Platform Reporter: Weihua Meng <wmeng>
Component: Service BrokerAssignee: Fabian von Feilitzsch <fabian>
Status: CLOSED DUPLICATE QA Contact: Weihua Meng <wmeng>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.7.0CC: aos-bugs, jmatthew, jokerman, mmccomas, wmeng
Target Milestone: ---   
Target Release: 3.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-09 19:34:09 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:

Description Weihua Meng 2017-11-07 10:38:15 UTC
Description of problem:
"keep_namespace" & "keep_namespace_on_error" should be added while installing ASB

Version-Release number of the following components:
openshift-ansible-3.7.0-0.196.0.git.0.27cd7ec.el7.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1. install OCP with ASB
2. check broker-config configmap in openshift-ansible-service-broker project when installation finished
# oc get configmap broker-config -o yaml -n openshift-ansible-service-broker


Actual results:
"keep_namespace" & "keep_namespace_on_error" are not added.

# oc get configmap broker-config -o yaml -n openshift-ansible-service-broker

    openshift:
      host: ""
      ca_file: ""
      bearer_token_file: ""
      sandbox_role: edit
      image_pull_policy: IfNotPresent
    broker:

Expected results:
"keep_namespace" & "keep_namespace_on_error" should be added

openshift:
  host: ""
  ca_file: ""
  bearer_token_file: ""
  image_pull_policy: IfNotPresent
  sandbox_role: "edit"
  keep_namespace: false
  keep_namespace_on_error: true
broker:

https://github.com/openshift/ansible-service-broker/blob/master/etc/example-config.yaml#L34

Additional info:

Comment 4 Weihua Meng 2017-11-09 09:03:29 UTC
Fix in openshift-ansible-3.7.4-1.git.0.254e849.el7.noarch.rpm

Comment 5 John Matthews 2017-11-09 19:34:09 UTC
Note, we ended up fixing this in 3.7 in BZ 1511186

*** This bug has been marked as a duplicate of bug 1511186 ***

Comment 6 Weihua Meng 2017-11-10 01:31:42 UTC
We usually dup new bug to old one.