Bug 1630144

Summary: Geo-rep: Geo-rep regression times out occasionally
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: geo-replicationAssignee: Kotresh HR <khiremat>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.1CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-4.1.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1610405 Environment:
Last Closed: 2018-09-26 14:02:57 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: 1610405    
Bug Blocks:    

Description Kotresh HR 2018-09-18 05:43:13 UTC
+++ This bug was initially created as a clone of Bug #1610405 +++

Description of problem:
Geo-rep regression test cases times out occasionally.
prove -v tests/00-geo-rep/georep-basic-dr-rsync.t

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

How reproducible:
sometimes


Steps to Reproduce:
1. prove -v tests/00-geo-rep/georep-basic-dr-rsync.t


Actual results:
It hangs sometimes

Expected results:
It should not hang

Additional info:

--- Additional comment from Worker Ant on 2018-07-31 10:40:09 EDT ---

REVIEW: https://review.gluster.org/20601 (geo-rep/hook-script: Fix ssh/scp options) posted (#1) for review on master by Kotresh HR

--- Additional comment from Worker Ant on 2018-08-02 23:19:31 EDT ---

COMMIT: https://review.gluster.org/20601 committed in master by "Aravinda VK" <avishwan> with a commit message- geo-rep/hook-script: Fix ssh/scp options

Always use ssh and scp with "-oPasswordAuthentication=no"
and "-oStrictHostKeyChecking=no" options. It might hang
the post script otherwise leading geo-rep setup failure

Also increased geo-rep timeout. Occasionally, it's taking
more time to reach Active/Passive status. Especially, the
first start after create.

fixes: bz#1610405
Change-Id: I9560d64dbe0edf5db73446a9fc97dda19b88d233
Signed-off-by: Kotresh HR <khiremat>

Comment 1 Worker Ant 2018-09-18 07:13:25 UTC
REVIEW: https://review.gluster.org/21200 (geo-rep/hook-script: Fix ssh/scp options) posted (#1) for review on release-4.1 by Kotresh HR

Comment 2 Worker Ant 2018-09-21 13:26:14 UTC
COMMIT: https://review.gluster.org/21200 committed in release-4.1 by "Shyamsundar Ranganathan" <srangana> with a commit message- geo-rep/hook-script: Fix ssh/scp options

Always use ssh and scp with "-oPasswordAuthentication=no"
and "-oStrictHostKeyChecking=no" options. It might hang
the post script otherwise leading geo-rep setup failure

Also increased geo-rep timeout. Occasionally, it's taking
more time to reach Active/Passive status. Especially, the
first start after create.

Backport of:
 > Patch: https://review.gluster.org/20601
 > BUG: bz#1610405
 > Change-Id: I9560d64dbe0edf5db73446a9fc97dda19b88d233
 > Signed-off-by: Kotresh HR <khiremat>

fixes: bz#1630144
Change-Id: I9560d64dbe0edf5db73446a9fc97dda19b88d233
Signed-off-by: Kotresh HR <khiremat>

Comment 3 Shyamsundar 2018-09-26 14:02:57 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-4.1.5, please open a new bug report.

glusterfs-4.1.5 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://lists.gluster.org/pipermail/announce/2018-September/000113.html
[2] https://www.gluster.org/pipermail/gluster-users/