Bug 1944064

Summary: [RHEL 8] Include ansible tasks to backup and restore keyfiles under /etc/ssh on hyperconverged hosts
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: gluster-ansibleAssignee: Gobinda Das <godas>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: high    
Version: rhhiv-1.8CC: pprakash, rcyriac, rhs-bugs, sabose, sasundar, shilpsha
Target Milestone: ---   
Target Release: RHGS 3.5.z Async Update   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, SSH reboot of the host from the Red Hat Virtualization Manager Administration portal failed as the SSH key files were not backed-up before reprovisioning the hyperconverged host. With this update, SSH key files are included in the archive and restored post hyperconverged host reprovisioning, thereby enabling the SSH reboot from the Red Hat Virtualization Administration portal.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-14 07:57:51 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:    
Bug Blocks: 1942319    

Description SATHEESARAN 2021-03-29 07:45:44 UTC
Description of problem:
-----------------------
Need to backup and restore files under /etc/ssh on hyperconverged hosts for the subsequent 4.4.z updates to happen successfully

This fix is required only for RHEL 7 based gluster-ansible-roles.

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
gluster-ansible-roles-1.0.5-7.2.el7rhgs

How reproducible:
-----------------
Always

Expected results:
------------------
Include ansible tasks to backup and restore files to and from /etc/ssh on hyperconverged hosts

Comment 1 Gobinda Das 2021-03-29 11:32:38 UTC
Upstream PR: https://github.com/gluster/gluster-ansible/pull/129

Comment 4 SATHEESARAN 2021-04-05 17:39:35 UTC
Verified with gluster-ansible-roles-1.0.5-24

While backing up the configuration, /etc/ssh directory is also backed up and while
restoring the required key files under the backup directory is restored to /etc/ssh

Comment 10 errata-xmlrpc 2021-04-14 07:57:51 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 (gluster-ansible bug fix 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/RHBA-2021:1182