Bug 1771895

Summary: geo-rep: Improve debugging in log_raise_exception
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: geo-replicationAssignee: Kotresh HR <khiremat>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-13 12:17:31 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:

Description Kotresh HR 2019-11-13 08:25:19 UTC
Description of problem:
When gsyncd failed with tracebacks during start, it prints
only exception object but not the error string. This patch
adds the error string as well.
    
Version-Release number of selected component (if applicable):
mainline

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Example error message
"failed with ImportError"
    


Expected results:
"failed with ImportError: No module named _io."


Additional info:

Comment 1 Worker Ant 2019-11-13 08:27:48 UTC
REVIEW: https://review.gluster.org/23707 (geo-rep: Improve debugging) posted (#1) for review on master by Kotresh HR

Comment 2 Worker Ant 2019-11-13 12:17:31 UTC
REVIEW: https://review.gluster.org/23707 (geo-rep: Improve debugging) merged (#2) on master by Sunny Kumar