Bug 1566357

Summary: [ASB] Deploy the ASB failed in 3.10 cluster
Product: OpenShift Container Platform Reporter: Jian Zhang <jiazha>
Component: Service BrokerAssignee: Todd Sanders <tsanders>
Status: CLOSED DUPLICATE QA Contact: Zhang Cheng <chezhang>
Severity: high Docs Contact:
Priority: high    
Version: 3.10.0CC: aos-bugs, jiazha, mfojtik, wmeng, xtian, zhsun, zitang
Target Milestone: ---Keywords: TestBlocker
Target Release: 3.10.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: 2018-04-16 15:06:52 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 Jian Zhang 2018-04-12 07:12:17 UTC
Description of problem:

The pod of the deploy gets errors:
error: couldn't scale asb-1 to 1: replicationcontrollers "asb-1" is forbidden: User "system:serviceaccount:openshift-ansible-service-broker:deployer" cannot get replicationcontrollers/scale in the namespace "openshift-ansible-service-broker": User "system:serviceaccount:openshift-ansible-service-broker:deployer" cannot get replicationcontrollers/scale in project "openshift-ansible-service-broker"


Version-Release number of selected component (if applicable):
The asb version: 1.2.5
The deployer version: openshift-deploy v3.10.0-0.20.0
[root@qe-jiazha-10master-etcd-1 ~]# docker run --rm --entrypoint=openshift-deploy registry.reg-aws.openshift.com:443/openshift3/ose-deployer:v3.10 version
openshift-deploy v3.10.0-0.20.0

How reproducible:
Always

Steps to Reproduce:
1, Build a 3.10 OCP cluster by using the  openshift-ansible-3.10.0-0.20.0.
2, Check the pods in the `openshift-ansible-service-broker` namespace.
[root@qe-jiazha-10master-etcd-1 ~]# oc get pods -n openshift-ansible-service-broker
NAME           READY     STATUS    RESTARTS   AGE
asb-1-deploy   0/1       Error     0          2h

Actual results:
The pod of the ASB cannot be deployed to success.

Expected results:
Deploy the ASB success.

Additional info:
I confirm the version v3.10.0-0.16.0 of the deployer can deploy the ASB success.

Comment 1 Zhang Cheng 2018-04-12 07:29:26 UTC
Adding "TestBlocker" keyword since it is blocking all TCs relate with ansible service broker in OCP3.10

Comment 2 Michal Fojtik 2018-04-16 15:06:52 UTC
Closing as duplicate. The bug is a version skew between deployer image and the API server (the deployer is newer than used API).

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