Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1679401

Summary: Geo-rep setup creates an incorrectly formatted authorized_keys file
Product: [Community] GlusterFS Reporter: Sunny Kumar <sunkumar>
Component: geo-replicationAssignee: Sunny Kumar <sunkumar>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: anrobins, avishwan, bugs, csaba, rhinduja, rhs-bugs, sankarshan, storage-qa-internal, sunkumar
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1671862 Environment:
Last Closed: 2019-05-08 10:29:41 UTC Type: ---
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: 1671862    
Bug Blocks:    

Description Sunny Kumar 2019-02-21 05:26:54 UTC
+++ This bug was initially created as a clone of Bug #1671862 +++

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Description of problem:


When creating an ssh authorized_keys file prior to executing the push-pem command, the geo-rep setup inserts an extra space before the "ssh-rsa" label. This gets flagged by an enterprise customer's security scan as a security violation. 


Version-Release number of selected component (if applicable):

mainline

How reproducible:

Work through the geo-replication setup

Steps to Reproduce:
1.
2.
3.

Actual results:

There are two spaces between 'command="/usr/libexec/glusterfs/gsyncd"' and 'ssh-rsa'

Expected results:

There should only be one space.

Comment 1 Worker Ant 2019-02-21 05:30:08 UTC
REVIEW: https://review.gluster.org/22246 (geo-rep : fix incorrectly formatted authorized_keys) posted (#1) for review on master by Sunny Kumar

Comment 2 Worker Ant 2019-02-25 05:21:50 UTC
REVIEW: https://review.gluster.org/22246 (geo-rep : fix incorrectly formatted authorized_keys) merged (#2) on master by Amar Tumballi

Comment 3 Worker Ant 2019-05-07 08:25:45 UTC
REVIEW: https://review.gluster.org/22673 (geo-rep: fix incorrectly formatted authorized_keys) posted (#1) for review on master by Sunny Kumar

Comment 4 Worker Ant 2019-05-08 10:29:41 UTC
REVIEW: https://review.gluster.org/22673 (geo-rep: fix incorrectly formatted authorized_keys) merged (#3) on master by Amar Tumballi