Bug 1584970 - Left templateinstance behind after deprovision serviceinstance
Summary: Left templateinstance behind after deprovision serviceinstance
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.10.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.11.0
Assignee: jkim
QA Contact: XiuJuan Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-01 04:48 UTC by XiuJuan Wang
Modified: 2018-10-11 07:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-10-11 07:20:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1579194 0 medium CLOSED Failed to provision Serviceinstance when met 409 error 2022-03-13 15:00:24 UTC
Red Hat Product Errata RHBA-2018:2652 0 None None None 2018-10-11 07:20:30 UTC

Internal Links: 1579194

Description XiuJuan Wang 2018-06-01 04:48:57 UTC
Description of problem:
This bug happened 100% when serviceinstance failed due to 409 error. Aslo,this happened sometimes when deprovision a normal serviceinstance.
When deprovision the serviceinstance, serviceinstance and servicebindings are reclaimed except templateinstance

Version-Release number of selected component (if applicable):
60%

How reproducible:
always

Steps to Reproduce:
1.Provision a serviceclass.
2.Deprovision the serviceinstance after serviceinstance failed or succeed.
3.

Actual results:
serviceinstance and servicebindings are reclaimed except templateinstance

Expected results:
templateinstance should be deleted too.

Additional info:
I0601 02:27:29.116685       1 controller_instance.go:1143] ServiceInstance "test/cakephp-mysql-example-2ct29": Error provisioning ServiceInstance of ClusterServiceClass (K8S: "756c83aa-647a-11e8-aa79-fa163e42b8a1" ExternalName: "cakephp-mysql-example") at ClusterServiceBroker "template-service-broker": Status: 409; ErrorMessage: <nil>; Description: <nil>; ResponseError: <nil>
I0601 02:27:29.117325       1 event.go:218] Event(v1.ObjectReference{Kind:"ServiceInstance", Namespace:"test", Name:"cakephp-mysql-example-2ct29", UID:"36594304-6543-11e8-92a1-0a580a800004", APIVersion:"servicecatalog.k8s.io", ResourceVersion:"185269", FieldPath:""}): type: 'Warning' reason: 'ProvisionCallFailed' Error provisioning ServiceInstance of ClusterServiceClass (K8S: "756c83aa-647a-11e8-aa79-fa163e42b8a1" ExternalName: "cakephp-mysql-example") at ClusterServiceBroker "template-service-broker": Status: 409; ErrorMessage: <nil>; Description: <nil>; ResponseError: <nil>
I0601 02:27:31.861982       1 controller_instance.go:1639] ServiceInstance "test/cakephp-mysql-example-2ct29": Cleared finalizer
I0601 02:28:10.091617       1 controller_instance.go:233] ServiceInstance "test/cakephp-mysql-example-2ct29": Not doing work for test/cakephp-mysql-example-2ct29 because it has been deleted

Comment 1 John Matthews 2018-06-04 13:30:55 UTC
We believe this BZ is a duplicate of 1579194, yet before we close this as a duplicate we require more time to investigate and confirm our beliefs. 

Moving this to 3.11 as 3.10 is very late in bug cycle and we do not want to introduce further churn to 3.10.

Comment 4 XiuJuan Wang 2018-08-24 05:53:28 UTC
Can't reproduce this bug in ocp v3.11.0-0.21.0 version

Comment 6 errata-xmlrpc 2018-10-11 07:20:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2652


Note You need to log in before you can comment on or make changes to this bug.