Bug 1850488

Summary: provide playbooks that helps in backing up and restoring node configuration during upgrade
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: rhgs-3.5CC: godas, 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-15.el8rhgs Doc Type: Enhancement
Doc Text:
New backup and restore playbooks are now included in Red Hat Hyperconverged Infrastructure for Virtualization to simplify the process of backing up and restoring important configuration for host replacement and automated upgrades.
Story Points: ---
Clone Of:
: 1850491 1852369 (view as bug list) Environment:
Last Closed: 2020-08-04 14:52:36 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: 1850491    
Bug Blocks: 1779977    

Description SATHEESARAN 2020-06-24 11:56:19 UTC
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

Comment 3 SATHEESARAN 2020-07-09 12:24:54 UTC
Backup and restore playbook is now available with gluster-ansible-roles-1.0.5-16.el8rhgs

The playbooks for backup and restore gluster configurations are available now

[root@rhsqa-grafton7 hc-ansible-deployment]# rpm -qf archive_config*
gluster-ansible-roles-1.0.5-15.el8rhgs.noarch
gluster-ansible-roles-1.0.5-15.el8rhgs.noarch

Comment 6 errata-xmlrpc 2020-08-04 14:52:36 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