[Ansible-service-broker] ServiceInstance can't be created on k8s 1.13

Charles Moulliard cmoullia at redhat.com
Fri Dec 14 17:35:00 UTC 2018


Hi,

I have deployed successfully the latest version of the OAB on k8s but when
I try to create a serviceInstance I get this error

dh-postgresql-apb
Generated from service-catalog-controller-manager
5 times in the last 2 minutes
Error provisioning ServiceInstance of ClusterServiceClass (K8S:
"1dda1477cace09730bd8ed7a6505607e" ExternalName: "dh-postgresql-apb") at
ClusterServiceBroker "automation-broker-apb": Status: 500; ErrorMessage:
<nil>; Description: Unable to connect to the cluster; ResponseError: <nil>

Trace reported by the k8s Catalog Controller

I1214 17:29:56.615914       1 controller_instance.go:586] ServiceInstance
"my-spring-app/dh-postgresql-apb" v114: Provisioning a new ServiceInstance
of ClusterServiceClass (K8S: "1dda1477cace09730bd8ed7a6505607e"
ExternalName: "dh-postgresql-apb") at Broker "automation-broker-apb"
I1214 17:29:56.615980       1 controller_instance.go:415] ServiceInstance
"my-spring-app/dh-postgresql-apb" v114: BrokerOpRetry: added
d585b38a-ffc5-11e8-b172-0242ac110008 (my-spring-app/dh-postgresql-apb)
generation 1 to backoffBeforeRetrying map
I1214 17:29:56.616000       1 osbproxy.go:76] OSBClientProxy
ProvisionInstance()
I1214 17:29:56.625490       1 client.go:221] handling failure responses
I1214 17:29:56.625629       1 controller_instance.go:1769] ServiceInstance
"my-spring-app/dh-postgresql-apb" v114: Error provisioning ServiceInstance
of ClusterServiceClass (K8S: "1dda1477cace09730bd8ed7a6505607e"
ExternalName: "dh-postgresql-apb") at ClusterServiceBroker
"automation-broker-apb": Status: 500; ErrorMessage: <nil>; Description:
Unable to connect to the cluster; ResponseError: <nil>
I1214 17:29:56.625675       1 controller_instance.go:1770] ServiceInstance
"my-spring-app/dh-postgresql-apb" v114: Setting condition "Ready" to False
I1214 17:29:56.625708       1 controller_instance.go:1769] ServiceInstance
"my-spring-app/dh-postgresql-apb" v114: Error provisioning ServiceInstance
of ClusterServiceClass (K8S: "1dda1477cace09730bd8ed7a6505607e"
ExternalName: "dh-postgresql-apb") at ClusterServiceBroker
"automation-broker-apb": Status: 500; ErrorMessage: <nil>; Description:
Unable to connect to the cluster; ResponseError: <nil>
I1214 17:29:56.625753       1 controller_instance.go:1770] ServiceInstance
"my-spring-app/dh-postgresql-apb" v114: Setting condition
"OrphanMitigation" to True
I1214 17:29:56.625773       1 controller_instance.go:1808] ServiceInstance
"my-spring-app/dh-postgresql-apb" v114: Setting lastTransitionTime,
condition "OrphanMitigation" to 2018-12-14 17:29:56.625691293 +0000 UTC
m=+413.760565741
I1214 17:29:56.625780       1 controller_instance.go:1769] ServiceInstance
"my-spring-app/dh-postgresql-apb" v114: The instance provision call failed
with an ambiguous error; attempting to deprovision the instance in order to
mitigate an orphaned resource
I1214 17:29:56.625821       1 controller_instance.go:1770] ServiceInstance
"my-spring-app/dh-postgresql-apb" v114: Setting condition "Ready" to False

Any idea how to resolve it ?

Best regards

Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ansible-service-broker/attachments/20181214/49ab32ab/attachment.htm>


More information about the Ansible-service-broker mailing list