Bug 1497038 - [RFE] Add a separate uninstall playbook for gluster which will remove all heketi and deploy-heketi related resources
Summary: [RFE] Add a separate uninstall playbook for gluster which will remove all hek...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: 3.9.0
Assignee: Jose A. Rivera
QA Contact: Wenkai Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-29 04:57 UTC by Suresh
Modified: 2018-03-28 14:07 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed: 2018-03-28 14:07:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:07:53 UTC

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


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