Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1507448 - [tsb]Can't delete templateinstance and other resoureces when deprovision a failed serviceinstance
[tsb]Can't delete templateinstance and other resoureces when deprovision a fa...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.7.0
Unspecified Unspecified
high Severity high
: ---
: 3.7.0
Assigned To: Jeff Peeler
XiuJuan Wang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-30 05:53 EDT by XiuJuan Wang
Modified: 2017-11-28 17:20 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Deleting a failed ServiceInstance was not deleting other dependent resources, now all resources are deleted as expected.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:20:01 EST
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 RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description XiuJuan Wang 2017-10-30 05:53:03 EDT
Description of problem:
Deprovision serviceinstance which status is failed, will not delete other resources include templateinstance.

Version-Release number of selected component (if applicable):
brew-*/ose-service-catalog   v3.7.0-0.185.0.0    ef0dd815574a        2 days ago          266 MB

How reproducible:
always

Steps to Reproduce:
1.Provision jenkins-ephemral clusterserviceclass via browse catalog
2.Cancel jenkins deployment so no jenkins pod is running
3.jenkins serviceinstance will failed due to 'Provision call failed: Readiness failed on DeploymentConfig wang1/jenkins'
4.Deprovision the failed serviceinstance

Actual results:
Only serviceinstance be deleted,templateinstance and other resources(like dc,rc,pod,bc,builds,service) don't be deleted.

Expected results:
Should delete all resources

Additional info:
Comment 1 Paul Morie 2017-10-30 10:51:34 EDT
This should be fixed by https://github.com/openshift/origin/pull/17075.

Jeff, will you test this and verify that it is fixed with the version in your PR?  If so, please move this bug to POST.
Comment 2 Paul Morie 2017-10-30 15:56:26 EDT
It's not clear to me what the point of the cancel button is, if it doesn't delete the ServiceInstance.  It was definitely confusing to users in this case.  Is this a bug related to the button, or is the button itself a bug until we have a way to actually cancel the operation?
Comment 3 Samuel Padgett 2017-10-30 16:29:10 EDT
There is no cancel for provision in the console. I think the description is referring to cancelling the running deployment for the deployment config created by the template.
Comment 4 Samuel Padgett 2017-10-30 16:44:32 EDT
Verified this is working

https://github.com/openshift/origin/pull/17075
Comment 5 XiuJuan Wang 2017-10-30 22:03:42 EDT
Paul
I cancel jenkins deployment just to make serviceinstance provision failed.
Serviceinstance provision failed is a necessary conditions for this bug.
Comment 7 XiuJuan Wang 2017-11-01 22:41:41 EDT
Can't reproduce this bug with [1]

[1]
openshift v3.7.0-0.189.0
kubernetes v1.7.6+a08f5eeb62

ose-service-catalog:v3.7.0-0.189.0
Comment 10 errata-xmlrpc 2017-11-28 17:20:01 EST
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/RHSA-2017:3188

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