Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1612048

Summary: Should not return `no kind "ClusterServiceBroker"` errors
Product: OpenShift Container Platform Reporter: Jian Zhang <jiazha>
Component: MasterAssignee: Michal Fojtik <mfojtik>
Status: CLOSED DUPLICATE QA Contact: Xingxing Xia <xxia>
Severity: medium Docs Contact:
Priority: high    
Version: 3.11.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.11.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-08-06 11:39:16 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-08-03 10:48:50 UTC
Description of problem:
Still return below errors even if the ClusterServiceBroker resource has already created succeed.
error: no kind "ClusterServiceBroker" is registered for version "servicecatalog.k8s.io/v1beta1" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:29"

Version-Release number of selected component (if applicable):
[root@ip-172-18-14-168 ~]# oc version
oc v3.11.0-0.10.0
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://ip-172-18-14-168.ec2.internal:8443
openshift v3.11.0-0.10.0
kubernetes v1.11.0+d4cacc0


How reproducible:
always

Steps to Reproduce:
1. Create the ClusterServiceBroker via below command:
oc new-app --file=https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/svc-catalog/ups-broker-template.yaml


Actual results:
[root@ip-172-18-14-168 ~]# oc new-app --file=https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/svc-catalog/ups-broker-template.yaml
warning: Cannot find git. Ensure that it is installed and in your path. Git is required to work with git repositories.
--> Deploying template "kube-service-catalog/ups-broker" for "https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/svc-catalog/ups-broker-template.yaml" to project kube-service-catalog

     * With parameters:
        * UPS_BROKER_PROJECT=kube-service-catalog

--> Creating resources ...
    service "ups-broker" created
    deployment.apps "ups-broker" created
    clusterservicebroker.servicecatalog.k8s.io "ups-broker" created
--> Success
error: no kind "ClusterServiceBroker" is registered for version "servicecatalog.k8s.io/v1beta1" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:29"


Expected results:
Should not return the `no kind "ClusterServiceBroker"` errors.

Additional info:

Comment 1 Xingxing Xia 2018-08-06 01:49:28 UTC
Seems same as bug 1610255

Comment 2 Michal Fojtik 2018-08-06 11:39:16 UTC

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