Description of problem: ------------------------ Existing logic in the gluster-ansible-maintenance roles allows only restoring peers only with 3 nodes cluster. It should be made generic for any numbers of peers in the cluster Version-Release number of selected component (if applicable): ------------------------------------------------------------- gluster-ansible-maintenance-1.0.1-2.el8rhgs How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1. Execute the role to replace the host Actual results: ---------------- Peer replacement works only for 3 node gluster cluster Expected results: ----------------- Peer replacement should generically work for any number of hosts in the cluster Additional info: ----------------- This affects the replace-host workflow
Gobinda and I had a discussion to handle this changes as part of the bug https://bugzilla.redhat.com/show_bug.cgi?id=1840003 and there is no need to separate changes. So CLOSING this bug *** This bug has been marked as a duplicate of bug 1840003 ***