Bug 1643932

Summary: geo-rep: On gluster command failure on slave, worker crashes with python3
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: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-6.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1644514 (view as bug list) Environment:
Last Closed: 2018-11-28 04:46:44 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: 1644514    

Description Kotresh HR 2018-10-29 13:23:59 UTC
Description of problem:
gluster command on slave fails, geo-rep worker crashes with python3.
Also geo-rep scheduler's Popen usage is not python3 compatible

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

How reproducible:
Only on failure

Steps to Reproduce:
1.
2.
3.

Actual results:
geo-rep crashes in python3 on failure.

Expected results:
geo-rep should not crash in python3

Additional info:

Comment 1 Worker Ant 2018-10-29 13:26:38 UTC
REVIEW: https://review.gluster.org/21505 (georep: python2 to python3 compat - scheduler) posted (#2) for review on master by Kotresh HR

Comment 2 Worker Ant 2018-10-30 13:13:21 UTC
REVIEW: https://review.gluster.org/21505 (georep: python2 to python3 compat - scheduler) posted (#3) for review on master by Amar Tumballi

Comment 3 Kotresh HR 2018-11-28 04:46:44 UTC
Fixed in v5.1

Comment 4 Shyamsundar 2019-03-25 16:31:39 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-6.0, please open a new bug report.

glusterfs-6.0 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/2019-March/000120.html
[2] https://www.gluster.org/pipermail/gluster-users/