Bug 1497038

Summary: [RFE] Add a separate uninstall playbook for gluster which will remove all heketi and deploy-heketi related resources
Product: OpenShift Container Platform Reporter: Suresh <sgaikwad>
Component: InstallerAssignee: Jose A. Rivera <jarrpa>
Status: CLOSED ERRATA QA Contact: Wenkai Shi <weshi>
Severity: medium Docs Contact:
Priority: low    
Version: 3.7.0CC: aos-bugs, aos-storage-staff, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.9.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
A new playbook has been introduced that will uninstall an existing GlusterFS deployment. This will remove all existing resources, including pods, services, and others. It will also, optionally, remove all data and configuration from the hosts that were running GlusterFS pods.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-28 14:07:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Suresh 2017-09-29 04:57:10 UTC
Description of problem:
Add a separate uninstall playbook for gluster which will remove all heketi and deploy-heketi related resources. As of now, if installation throws any errors and leaves heketi resources on the system, we have to manually remove them. We use below steps to remove them:

https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.2/html/container-native_storage_for_openshift_container_platform/chap-documentation-red_hat_gluster_storage_container_native_with_openshift_platform-uninstalling

Can we add a separate playbook to uninstall gluster which will remove all the resources.

Take a look at bug 1492090 for reference. 

https://bugzilla.redhat.com/show_bug.cgi?id=1492090


Version-Release number of selected component (if applicable):
OCP3.6

Comment 2 Jose A. Rivera 2018-02-09 15:22:29 UTC
Currently being worked on: https://github.com/openshift/openshift-ansible/pull/6918

Comment 4 Wenkai Shi 2018-03-07 10:28:15 UTC
Verified with version openshift-ansible-3.9.3-1.git.0.e166207.el7, heketi and deploy-heketi related resources can be removed now.

Comment 7 errata-xmlrpc 2018-03-28 14:07:14 UTC
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:0489