Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1584970 - Left templateinstance behind after deprovision serviceinstance
Left templateinstance behind after deprovision serviceinstance
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.10.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.11.0
Assigned To: jkim
XiuJuan Wang
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-01 00:48 EDT by XiuJuan Wang
Modified: 2018-10-11 03:20 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-11 03:20:02 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 None None None 2018-10-11 03:20 EDT

  None (edit)
Description XiuJuan Wang 2018-06-01 00:48:57 EDT
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 09:30:55 EDT
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 01:53:28 EDT
Can't reproduce this bug in ocp v3.11.0-0.21.0 version
Comment 6 errata-xmlrpc 2018-10-11 03:20:02 EDT
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.