Bug 1832654

Summary: Include the inventory file for node preparation with gluster-ansible-roles
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Gobinda Das <godas>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhhiv-1.7CC: rhs-bugs
Target Milestone: ---   
Target Release: RHHI-V 1.8   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gluster-ansible-roles-1.0.5-12.el8rhgs Doc Type: Enhancement
Doc Text:
New inventory templates are available to simplify and automate upgrading Red Hat Hyperconverged Infrastructure for Virtualization.
Story Points: ---
Clone Of:
: 1832658 (view as bug list) Environment:
Last Closed: 2020-08-04 14:52:09 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: 1832658    
Bug Blocks: 1779977    

Description SATHEESARAN 2020-05-07 02:35:51 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 2 SATHEESARAN 2020-06-06 11:26:36 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 4 errata-xmlrpc 2020-08-04 14:52:09 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