Bug 1699394

Summary: [geo-rep]: Geo-rep goes FAULTY with OSError
Product: [Community] GlusterFS Reporter: Sunny Kumar <sunkumar>
Component: geo-replicationAssignee: Sunny Kumar <sunkumar>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: mainlineCC: avishwan, bugs, csaba, khiremat, rallan, rhinduja, rhs-bugs, sankarshan, smali, storage-qa-internal
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1699271
: 1770100 (view as bug list) Environment:
Last Closed: 2019-04-15 14:28:42 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: 1699271    
Bug Blocks: 1770100    

Description Sunny Kumar 2019-04-12 15:06:45 UTC
+++ This bug was initially created as a clone of Bug #1699271 +++

Description of problem:
=======================
Geo-replication goes faulty


Traceback (most recent call last):
  File "/usr/libexec/glusterfs/python/syncdaemon/repce.py", line 118, in worker
    res = getattr(self.obj, rmeth)(*in_data[2:])
  File "/usr/libexec/glusterfs/python/syncdaemon/changelogagent.py", line 37, in init
    return Changes.cl_init()
  File "/usr/libexec/glusterfs/python/syncdaemon/changelogagent.py", line 21, in __getattr__
    from libgfchangelog import Changes as LChanges
  File "/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py", line 18, in <module>
    class Changes(object):
  File "/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py", line 20, in Changes
    use_errno=True)
  File "/usr/lib64/python2.7/ctypes/__init__.py", line 360, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libgfchangelog.so: cannot open shared object file: No such file or directory


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


How reproducible:
================
Always


Actual results:
===============
Geo-rep status is FAULTY

Expected results:
=================
Geo-rep status should be ACTIVE/PASSIVE

Comment 1 Worker Ant 2019-04-12 15:10:03 UTC
REVIEW: https://review.gluster.org/22557 (libgfchangelog : use find_library to locate shared library) posted (#1) for review on master by Sunny Kumar

Comment 2 Worker Ant 2019-04-15 14:28:42 UTC
REVIEW: https://review.gluster.org/22557 (libgfchangelog : use find_library to locate shared library) merged (#3) on master by Amar Tumballi