Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1689833 - [DOCS] Should record the difference behavior from ocp3.x for delete serviceinstance (have to remove servicebinding firstly)
Summary: [DOCS] Should record the difference behavior from ocp3.x for delete servicein...
Status: NEW
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 4.1
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.1.0
Assignee: Andrea Hoffer
QA Contact: Zhang Cheng
Vikram Goyal
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-18 09:17 UTC by Zhang Cheng
Modified: 2019-03-19 07:06 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-03-18 13:11:46 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Zhang Cheng 2019-03-18 09:17:47 UTC
Description of problem: 
I understand that should remove related servicebinding firstly before remove the serviceinstance in backend.
User can remove the serviceinstance directly even though existing servicebinding from web console in OCP3.X, but OCP4.1 is different with OCP3.X, user cannot delete serviceinstance directly while existing servicebinding.

Version-Release number of selected component (if applicable):
$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE     STATUS
version   4.0.0-0.nightly-2019-03-15-063749   True        False         14h       Cluster version is 4.0.0-0.nightly-2019-03-15-063749

How reproducible:

Steps to Reproduce:
1. Provision a postgresql apb
2. Create a servicebinding of postgresql
3. Try to remove service instance directly in web console by:
Open Provisioned Services page -> Find postgresql-apb -> click delete service instance

Actual results:
Serviceinstance cannot be removed since DeprovisionBlockedByExistingCredentials.

Expected results: 
Both serviceinstance and related servicebinding should be removed succeed while click 'delete service instance' in web console

addition info: 

Comment 1 Zhang Cheng 2019-03-18 09:51:17 UTC
Changing component to website

Comment 2 Zhang Cheng 2019-03-18 09:54:20 UTC
Sorry, moving to Management Console

Comment 3 Samuel Padgett 2019-03-18 13:11:46 UTC
We've intentionally changed the behavior here. The user must explicitly remove service bindings now. This is consistent with the CLI.

Comment 4 Zhang Cheng 2019-03-19 02:27:13 UTC
Should record the difference behavior from ocp3.x for delete serviceinstance (have to remove servicebinding firstly) in OCP4.1 official doc

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