Bug 1631595 - glusterfs geo-replication breaks
Summary: glusterfs geo-replication breaks
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: 4.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-21 02:43 UTC by Ritesh Khadgaray
Modified: 2019-06-25 12:57 UTC (History)
10 users (show)

Fixed In Version: glusterfs-6.x, glusterfs-5.5
Clone Of:
Environment:
Last Closed: 2019-06-25 12:57:04 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Ritesh Khadgaray 2018-09-21 02:43:56 UTC
Description of problem:
geo-replication fails 

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

How reproducible:
awlays

Steps to Reproduce:
1. Setup geo-replication

Actual results:
From gsyncd log
Traceback (most recent call last):
  File "/usr/libexec/glusterfs/python/syncdaemon/repce.py", line 101, 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 17, in <module>
    class Changes(object):
  File "/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py", line 19, in Changes
    use_errno=True)
  File "/usr/lib64/python2.7/ctypes/__init__.py", line 361, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libgfchangelog.so: cannot open shared object file: No such file or directory


Expected results:
No error

Additional info:
From /usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py 

class Changes(object):
    libgfc = CDLL("/usr/lib64/libgfchangelog.so", mode=RTLD_GLOBAL,
                  use_errno=True)

.so libraries are provided by -devel packages. To fix this user will have to install devel pacakge, or the code needs to be updated to use "libgfchangelog.so.1" .

related mail from other users - https://lists.gluster.org/pipermail/gluster-users/2018-July/034425.html

Comment 1 perplexed767 2018-12-18 19:17:26 UTC
Had this problem in 4.1.5

Think this is fixed in 4.1.6

Comment 2 Amar Tumballi 2019-06-25 12:57:04 UTC
With later releases, this is working fine.

Thanks for letting us know perplexed767.


Note You need to log in before you can comment on or make changes to this bug.