Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1624782 - [admin] Remove subscription will also remove resources & instances when disable cascade deletion
[admin] Remove subscription will also remove resources & instances when disab...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.11.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.11.0
Assigned To: Alec Merdler
Yadan Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-03 05:39 EDT by shahan
Modified: 2018-10-11 03:26 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-11 03:25:55 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:26 EDT

  None (edit)
Description shahan 2018-09-03 05:39:03 EDT
Description of problem:
 Remove subscription will also remove resources & instances when disable cascade deletion

Version-Release number of selected component (if applicable):
OpenShift Web Console:    v3.11.0-0.25.0
"io.openshift.source-repo-commit": "c4f3f9fafa60fbcb188b6fed9b48a177a8f3e723"

How reproducible:
always

Steps to Reproduce:
1. install openshift enabled OLM
2. create subscription for etcd in Catalog Sources
3. click operation icon for etcd-rh2k4 in the subscription list page, click 'Remove Subscription' 
4. check out the checkbox 'Completely remove application instances and resources from the selected namespace'

Actual results:
4. The resources & instance created by subscription were deleted unexpectedly
eg: deployment,pod, service, instance and so on


Expected results:
4. should not delete resources & instances controlled by subscription

Additional info:
Comment 1 Alec Merdler 2018-09-04 13:27:43 EDT
https://github.com/openshift/console/pull/489
Comment 3 shahan 2018-09-06 02:56:05 EDT
checked this issue has been fixed. The resources controlled by one subscription would not be deleted as deletion of subscription if cascade was disabled. verified this bug.
registry.reg-aws.openshift.com:443/openshift3/ose-console                        v3.11               8479e847d3a8        7 hours ago         250 MB
Comment 5 errata-xmlrpc 2018-10-11 03:25:55 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.