DescriptionRitesh 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
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