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:
PR: https://github.com/gluster/gluster-ansible/pull/108
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
RDT looks good to me.
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