Bug 1641431

Summary: [RFE] Provide roles for node replacement
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Sachidananda Urs <surs>
Component: gluster-ansibleAssignee: Prajith <pkesavap>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.5CC: asakthiv, godas, pkesavap, puebele, rcyriac, rhs-bugs, sabose, sasundar
Target Milestone: ---Keywords: FutureFeature, ZStream
Target Release: RHGS 3.5.z Batch Update 2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, a corrupted Gluster peer node was manually reconfigured and was added back to the Gluster cluster. In this release, replacing a Gluster peer node in a Gluster cluster , helps reconfigure Gluster and adds the reconfigured node back to the cluster on Red Hat Hyperconverged Infrastructure for Virtualization deployments.
Story Points: ---
Clone Of:
: 1826282 (view as bug list) Environment:
rhhiv, rhel8
Last Closed: 2020-06-16 05:57:29 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:
Bug Depends On: 1840003    
Bug Blocks: 1633126, 1826282    

Description Sachidananda Urs 2018-10-22 05:22:13 UTC
Description of problem:

Provide ansible role for replacing a GlusterFS node with a new node.

Comment 2 Sachidananda Urs 2018-10-22 05:25:16 UTC
@sahina, we have done work as part of gluster-ansible, need your help in prioritizing.

Comment 3 Sachidananda Urs 2018-10-22 05:31:48 UTC
Ref: https://github.com/sac/gluster-ansible-maintenance

Comment 4 Sahina Bose 2018-10-29 07:28:31 UTC
The replace node needs to be tested w.r.t RHHI. Sas/Bipin, do we need a corresponding RHHI bug to track this?

Comment 16 Amrita 2020-05-19 11:22:14 UTC
As confirmed with Prajith, approved doc text is 

Previously, a corrupted {Gluster} peer node was manually reconfigured and was added back to the {Gluster} cluster. In this release, replacing a {Gluster} peer node in a {Gluster} cluster , helps reconfigure {Gluster} and adds the reconfigured node back to the cluster.

Comment 17 SATHEESARAN 2020-05-27 04:45:43 UTC
Tested with gluster-ansible-maintenance-1.0.1-2.el8rhgs

When running the playbook, the gluster peer membership is restored correctly,
but the volume restoration is not complete. And for that particular issue,
there is a separate bug tracked - https://bugzilla.redhat.com/show_bug.cgi?id=1840003

Comment 18 SATHEESARAN 2020-05-27 05:49:56 UTC
Upstream PR: https://github.com/gluster/gluster-ansible/pull/108

Comment 20 SATHEESARAN 2020-06-11 18:40:25 UTC
Tested with gluster-ansible-maintenance-1.0.1-4.el8rhgs and gluster-ansible-roles-1.0.5-12.el8rhgs and RHVH 4.4.1

1. All the playbooks and inventories required for node replacement are available
2. Successfully replace the node with the same host post reinstallation with the same FQDN

Comment 22 errata-xmlrpc 2020-06-16 05:57:29 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/RHEA-2020:2575