Bug 1293268

Summary: Include openssh-server and openssh-clients package in RHGS container image
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: rhgs-server-containerAssignee: Mohamed Ashiq <mliyazud>
Status: CLOSED CURRENTRELEASE QA Contact: Anoop <annair>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.1CC: asrivast, hchiramm, mliyazud, pprakash, rcyriac, sankarshan, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rhgs-server-rhel7:3.1.2-5 Doc Type: Bug Fix
Doc Text:
Cause: No openssh-server, openssh-clients, rsync and tar packages in RHGS image. Consequence: Affects Geo-replication in RHGS image. Fix: Adding openssh-server,openssh-client,rsync and tar to the RHGS image. Result: Geo-replication in RHGS image works fine. Packages successfully added to the image.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-19 17:30:11 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: 1294618    

Description Shruti Sampat 2015-12-21 09:32:58 UTC
Description of problem:
-----------------------

Passwordless ssh connection is required between master and slave clusters for glusterfs geo-replication to work. SSH server and client packages are required to be installed on the glusterfs storage server for this. They should be part of the RHGS container image, in my opinion. 

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
rhgs-server-rhel7:3.1.2-3

Actual results:
----------------
RHGS container image does not contain openssh-server and openssh-clients packages.

Expected results:
-----------------
RHGS container image should contain openssh-server and openssh-clients packages.

Comment 2 Mohamed Ashiq 2015-12-21 13:55:56 UTC
Added the openssh-server and openssh-client packages. Speaking with kotresh, Geo-replication needs rsync and tar packages too. 
All the four packages will be available in the next build.

Comment 3 Humble Chirammal 2016-01-03 05:56:19 UTC
@Ashiq, when you build next image, apart from including these packages, can you disable all the repos once the installation of the packages are done in intermediate containers?

Comment 4 Mohamed Ashiq 2016-01-05 11:37:23 UTC
@Humble, IMO, Its not necessary to disable the repos after installation.

This bug is delayed due to build failure in rhpkg container build which is fixed now.

https://engineering.redhat.com/rt/Ticket/Display.html?id=385101

Comment 7 Shruti Sampat 2016-01-11 07:14:19 UTC
Verified as fixed in rhgs-server-rhel7:3.1.2-5 -

# rpm -qa | grep openssh
openssh-server-6.6.1p1-22.el7.x86_64
openssh-6.6.1p1-22.el7.x86_64
openssh-clients-6.6.1p1-22.el7.x86_64