Bug 1511847 - Shouldn't remove servicebinding when deprovision serviceinstance from UI
Summary: Shouldn't remove servicebinding when deprovision serviceinstance from UI
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: Zhang Cheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-10 09:54 UTC by XiuJuan Wang
Modified: 2017-11-10 15:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-10 13:41:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description XiuJuan Wang 2017-11-10 09:54:26 UTC
Description of problem:
When deprovision serviceinstance from web console, servicebinding will be removed firstly.
Works in cmd.Delete serviceinstance from cli, servicebinding will not be removed.

Version-Release number of selected component (if applicable):
openshift v3.7.5
kubernetes v1.7.6+a08f5eeb62

How reproducible:
always

Steps to Reproduce:
1.Provision a clusterserviceclass from browse catalog.
2.Create a binding
3.Deprovision the serviceinstance from web console

Actual results:
step3:
servicebinding will be removed. and serviceinstance is marked as deletion.

Expected results:
Should has same behavior with cmd.

Additional info:

Comment 1 Samuel Padgett 2017-11-10 13:41:14 UTC
This is intended behavior. We remove the service binding first since you cannot delete the instance fully without removing the binding. This is why we say in the dialog it will delete all data.

I understand the CLI works differently. Improved CLI support for service catalog is coming in a later release.

Comment 2 Samuel Padgett 2017-11-10 15:19:36 UTC
Here is the PR that specifically enabled this behavior with some background discussion.

https://github.com/openshift/origin-web-console/pull/2150


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