Bug 1832658 - Include the inventory file for node preparation with gluster-ansible-roles
Summary: Include the inventory file for node preparation with gluster-ansible-roles
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-ansible
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHGS 3.5.z Batch Update 2
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1832654 1840123
TreeView+ depends on / blocked
 
Reported: 2020-05-07 03:07 UTC by SATHEESARAN
Modified: 2020-06-16 05:57 UTC (History)
7 users (show)

Fixed In Version: gluster-ansible-roles-1.0.5-12.el8rhgs, gluster-ansible-maintenance-1.0.1-3.el8rhgs
Doc Type: Enhancement
Doc Text:
Previously,a lot of steps are required to replace the RHHI node. With this release, you can run Integrated Ansible playbook which includes node preparation and replacement to replace a RHHI node.
Clone Of: 1832654
Environment:
Last Closed: 2020-06-16 05:57:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:2575 0 None None None 2020-06-16 05:57:50 UTC

Description SATHEESARAN 2020-05-07 03:07:41 UTC
Description of problem:
-----------------------
Node preparation is required for replace host procedure, where the user needs to configure the host specifically for RHHI cluster.

The inventory file is currently available as part of the doc and user had to copy it every time, to run the Ansible playbook that configures the node.
Also adds up to frequent change in the docs, if introducing the change in the inventory.

It will be easy for the user to create the inventory from the template file

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
gluster-ansible-roles-1.0.5-10.el8rhgs

How reproducible:
------------------
not applicable, as this is not the issue

Actual results:
---------------
No inventory file is available as a template under /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/

Expected results:
-----------------
1. Include the node_prep_inventory.yml under /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/
2. Include the node_prep.yml playbook under /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/


Additional info:

Comment 3 Gobinda Das 2020-05-26 11:31:57 UTC
PR: https://github.com/gluster/gluster-ansible/pull/108

Comment 6 SATHEESARAN 2020-06-06 11:25:39 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 8 Gobinda Das 2020-06-11 12:31:41 UTC
RDT looks good to me.

Comment 10 errata-xmlrpc 2020-06-16 05:57: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, 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


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