Bug 1852369 - [el7-only] provide playbooks that helps in backing up and restoring node configuration during upgrade
Summary: [el7-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: rhhi
Version: rhhiv-1.7
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHHI-V 1.7.z Async Update
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1852388
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-30 09:34 UTC by SATHEESARAN
Modified: 2020-11-17 12:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1850488
: 1852387 1852388 (view as bug list)
Environment:
Last Closed: 2020-11-17 12:44:26 UTC
Embargoed:


Attachments (Terms of Use)

Description SATHEESARAN 2020-06-30 09:34:24 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

--- 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

Comment 1 SATHEESARAN 2020-06-30 11:13:04 UTC
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

Comment 2 SATHEESARAN 2020-07-06 08:08:58 UTC
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


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