Bug 1942322 - [RHEL7] Include ansible tasks to backup and restore keyfiles under /etc/ssh on hyperconverged hosts
Summary: [RHEL7] Include ansible tasks to backup and restore keyfiles under /etc/ssh o...
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
urgent
Target Milestone: ---
: RHGS 3.5.z Async Update
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1942319
TreeView+ depends on / blocked
 
Reported: 2021-03-24 07:18 UTC by SATHEESARAN
Modified: 2021-03-30 09:32 UTC (History)
6 users (show)

Fixed In Version: gluster-ansible-roles-1.0.5-7.3
Doc Type: Bug Fix
Doc Text:
Previously, the SSH key files were not backed-up before reprovisioning the hyperconverged host. Hence, the SSH reboot of the host from the Red Hat Virtualization Manager Administration portal failed. Now, the SSH key files are included in the archive and restored post hyperconverged host reprovisioning. Thus, the hyperconverged host is now SSH rebooted from the Red Hat Virtualization Administration portal.
Clone Of: 1942319
Environment:
Last Closed: 2021-03-30 09:32:30 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:1034 0 None None None 2021-03-30 09:32:37 UTC

Description SATHEESARAN 2021-03-24 07:18:57 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 2 SATHEESARAN 2021-03-25 06:44:51 UTC
Upstream patch posted - https://github.com/gluster/gluster-ansible/pull/129

Comment 6 SATHEESARAN 2021-03-29 08:07:44 UTC
Tested with gluster-ansible-roles-1.0.5-7.3.el7rhgs.

Tasks now backup the keyfile in /etc/ssh and restores them while restoration

Comment 10 errata-xmlrpc 2021-03-30 09:32:30 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:1034


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