21 September, 2018

glusterfs on fedora on break geo-replication






glusterfs geo-replication break on Fedora


From /var/log/glusterfs/geo-replication/gv0_node1/gsyncd.log

   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


From /usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py
class Changes(object):
    libgfc = CDLL("/usr/lib64/libgfchangelog.so", mode=RTLD_GLOBAL,
                  use_errno=True)

On Fedora/RHEL , .so symlink is provided by -devel packages. To fix install, install glusterfs-devel package.


reference: https://bugzilla.redhat.com/show_bug.cgi?id=1631595

No comments:

Post a Comment