Description of problem: ----------------------- While upgrading to RHHI-V 1.8, its not straight as 1.7 was released with RHEL 7 platform. So in this case, user had to backup few configurations and reinstall the node, restore the configuration, and wait for self-heal to complete, before proceeding with the same steps on the rest of the nodes in the cluster To help in smooth backup-restore, to minimize manual errors while backing up and restoring configurations and to reduce manual efforts, it would be optimal to have playbook that does backup and generates the tar file, which the user can copy to backup node. Then when the node is reinstalled, user could pull this tar and restore configurations too in an automated way and restart all services. This way, it will help RHHI users to perform smooth upgrade to 1.8 Version-Release number of selected component (if applicable): -------------------------------------------------------------- RHHI-V 1.8 How reproducible: ----------------- Not applicable as this is not a bug, but the request to include such playbooks Expected results: ------------------ Automate backup and restore of configuration files --- Additional comment from RHEL Program Management on 2020-06-30 09:04:38 UTC --- This BZ is being approved for the RHHI-V 1.8 release, upon receipt of the 3 ACKs (PM,Devel,QA) for the release flag 'rhhiv‑1.8' and Target Release set to RHHI-V 1.8
Playbook to backup the configuration files is not available with RHHI-V 1.7 and for those customers, who wish to migrate from 1.7 to 1.8, will face difficulty to do this manually. So this bug becomes evident to supply that playbook in RHHI-V 1.7 with RHV 4.3.11, so that users could make use of this to upgrade from 1.7 to 1.8
Verified with RHVH 4.3.11 and gluster-ansible-roles-1.0.5-7.1.el7rhgs The required backup and restore playbooks are now available with /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment [root@ ]# imgbase w You are on rhvh-4.3.11.1-0.20200701.0+1 [root@ hc-ansible-deployment]# rpm -qa | grep gluster-ansible-roles gluster-ansible-roles-1.0.5-7.1.el7rhgs.noarch [root@ hc-ansible-deployment]# ls -1 | grep archive archive_config_inventory.yml archive_config.yml