Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

sc add-gcp-broker fails on ClusterServiceBroker` deploy file #226

Open
bussyjd opened this issue Mar 4, 2019 · 2 comments
Open

sc add-gcp-broker fails on ClusterServiceBroker` deploy file #226

bussyjd opened this issue Mar 4, 2019 · 2 comments

Comments

@bussyjd
Copy link

bussyjd commented Mar 4, 2019

Install on GKE fails with cluster version 1.12.5-gke.5.
I am not sure how to fix this but happy to provide more information.

enabled required APIs:
  servicebroker.googleapis.com
  bigquery-json.googleapis.com
  bigtableadmin.googleapis.com
  ml.googleapis.com
  pubsub.googleapis.com
  spanner.googleapis.com
  sqladmin.googleapis.com
  storage-api.googleapis.com
generated the key at:  /tmp/service-catalog-gcp926102638/key.json
Broker "default", already exists
Failed to configure the Service Broker
Error: error deploying the Service Broker configs: deploy failed with output: exit status 1: error: unable to recognize "/tmp/service-catalog-gcp926102638/gcp-broker.yaml": no matches for kind "ClusterServiceBroker" in version "servicecatalog.k8s.io/v1beta1"                                                           

retrying doesn't help, the remove command also fails.

$ sc remove-gcp-broker                                                                                                    
Failed to remove the Service Broker
Error: error deleting broker resources: failed to delete resources output: exit status 1: error: unable to recognize "/tmp/service-catalog-gcp721808391/gcp-broker.yaml": no matches for kind "ClusterServiceBroker" in version "servicecatalog.k8s.io/v1beta1"  
@TaylorMutch
Copy link

I also have this issue.

enabled required APIs:
  servicebroker.googleapis.com
  bigquery-json.googleapis.com
  bigtableadmin.googleapis.com
  ml.googleapis.com
  pubsub.googleapis.com
  spanner.googleapis.com
  sqladmin.googleapis.com
  storage-api.googleapis.com
generated the key at:  /tmp/service-catalog-gcp088297047/key.json
Failed to configure the Service Broker
Error: error deploying the Service Broker configs: deploy failed with output: exit status 1: error: unable to recognize "/tmp/service-catalog-gcp088297047/gcp-broker.yaml": no matches for kind "ClusterServiceBroker" in version "servicecatalog.k8s.io/v1beta1"

@TaylorMutch
Copy link

Further, this is on a cluster that successfully is able to deploy the service catalog controller manager (avoiding issue #221).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants