Bug 1840123 - [RFE] Replacing the host with same host post reprovisioning using ansible playbook from CLI
Summary: [RFE] Replacing the host with same host post reprovisioning using ansible pla...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: RHHI-V 1.8
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1832658
Blocks: RHHI-V-1.8-Engineering-RFE-BZs 1846209
TreeView+ depends on / blocked
 
Reported: 2020-05-26 12:07 UTC by SATHEESARAN
Modified: 2020-08-04 14:52 UTC (History)
2 users (show)

Fixed In Version: gluster-ansible-roles-1.0.5-12.el8rhgs, gluster-ansible-maintenance-1.0.1-4.el8rhgs
Doc Type: Enhancement
Doc Text:
New upgrade playbooks are available to simplify and automate upgrading Red Hat Hyperconverged Infrastructure for Virtualization.
Clone Of:
Environment:
Last Closed: 2020-08-04 14:52:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3314 0 None None None 2020-08-04 14:52:54 UTC

Description SATHEESARAN 2020-05-26 12:07:34 UTC
Description of problem:
------------------------
Its highly possible one of the hosts in the RHHI-V cluster may go non-operational, and in those cases users prefer to reprovision the same host fresh post fixing the problems and restore the hosts.

This is achieved by the replacing the faulty-previously-existing-node by renewed-itself.

This procedure should be available as a playbook, so that the user could perform it with ease


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHHI-V 1.8

How reproducible:
-----------------
Not applicable


Actual results:
------------------
No easy method to do this process of replacing the host by itself

Expected results:
-----------------
Easy playbook that replaces the host by itself.

Additional info:

Comment 1 SATHEESARAN 2020-06-03 09:58:41 UTC
Dependent bug is already ON_QA

Comment 2 SATHEESARAN 2020-06-08 10:39:43 UTC
Tested with RHV 4.4.1 and gluster-ansible-maintenance-1.0.3.el8rhgs

There are 2 failures

1. Syntax error related to unremoved "-block" in the role
2. Semantic error, where the 'gluster_ansible_cluster_node' is used to replace host workflow

Comment 3 SATHEESARAN 2020-06-15 09:24:02 UTC
Tested with gluster-ansible-roles-1.0.5-12.el8rhgs

The ansible roles for replacing the host with the host of the same name/FQDN post reprovisioning,
is available

[root@ ~ ]# ls /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/ | grep node
node_prep_inventory.yml
node_replace_inventory.yml
[root@ ~ ]# ls /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/ | grep node
replace_node.yml

Comment 5 errata-xmlrpc 2020-08-04 14:52:32 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 (RHHI for Virtualization 1.8 bug fix and enhancement update), 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:3314


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