Bug 1850491 - [el8-only] provide playbooks that helps in backing up and restoring node configuration during upgrade
Summary: [el8-only] provide playbooks that helps in backing up and restoring node conf...
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
high
high
Target Milestone: ---
: RHGS 3.5.z Async Update
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
: 1852387 (view as bug list)
Depends On:
Blocks: 1850488
TreeView+ depends on / blocked
 
Reported: 2020-06-24 12:02 UTC by SATHEESARAN
Modified: 2020-07-23 06:46 UTC (History)
8 users (show)

Fixed In Version: gluster-ansible-roles-1.0.5-16.el8rhgs
Doc Type: Enhancement
Doc Text:
Previously , there were manual errors during the RHHI-V upgrade and replace host workflows. With this update, users can now minimize manual errors by using the playbook to backup and restore gluster and node configuration. The user can use the playbook to backup the node. When the node is reinstalled, the user can use this tar file to restore configurations in an automated way and restart all the services.
Clone Of: 1850488
Environment:
Last Closed: 2020-07-23 06:46:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3121 0 None None None 2020-07-23 06:46:42 UTC

Description SATHEESARAN 2020-06-24 12:02:31 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 1 Gobinda Das 2020-06-24 12:58:49 UTC
PR: https://github.com/gluster/gluster-ansible/pull/114

Comment 3 Gobinda Das 2020-07-01 13:12:14 UTC
*** Bug 1852387 has been marked as a duplicate of this bug. ***

Comment 4 SATHEESARAN 2020-07-09 12:26:09 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-16.el8rhgs.noarch
gluster-ansible-roles-1.0.5-16.el8rhgs.noarch

Comment 9 errata-xmlrpc 2020-07-23 06:46: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:3121


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