Bug 1033275 - The glusterfs-geo-replication RPM missing dependency on python-ctypes
Summary: The glusterfs-geo-replication RPM missing dependency on python-ctypes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: 3.4.1
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Csaba Henk
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 19:52 UTC by Mikhail T.
Modified: 2014-04-17 11:51 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.5.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-17 11:51:07 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Mikhail T. 2013-11-21 19:52:17 UTC
Attempts to use the installed /usr/libexec/glusterfs/gsyncd (on the slave) fail and the status remains "faulty" due to the following error:

[2013-11-21 14:32:02.446963] E [syncdutils:190:log_raise_exception] <top>: FAIL: 
Traceback (most recent call last):
  File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 120, in main
    main_i()
  File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 415, in main_i
    local.service_loop(*[r for r in [remote] if r])
  File "/usr/libexec/glusterfs/python/syncdaemon/resource.py", line 874, in service_loop
    gmaster_builder()(self, args[0]).crawl_loop()
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 540, in crawl_loop
    self.crawl()
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 704, in crawl
    xtr = self.xtime(path, self.slave)
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 376, in xtime
    return self.xtime_low(rsc.server, path, **opts)
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 110, in xtime_low
    xt = server.xtime(path, self.uuid)
  File "/usr/libexec/glusterfs/python/syncdaemon/repce.py", line 204, in __call__
    return self.ins(self.meth, *a)
  File "/usr/libexec/glusterfs/python/syncdaemon/repce.py", line 189, in __call__
    raise res
ImportError: No module named ctypes

Once the python-ctypes is installed (by hand) the problem goes away and all seems well. There may be other Python-modules, that geo-replication requires, but which aren't listed as required in the RPM.

Comment 1 Anand Avati 2013-11-27 01:48:58 UTC
COMMIT: http://review.gluster.org/6339 committed in master by Anand Avati (avati) 
------
commit a25d321bade8c3e7e07242f79ec9f1de2280af0f
Author: Harshavardhana <harsha>
Date:   Fri Nov 22 01:26:29 2013 -0800

    glusterfs.spec: Add 'python and python-ctypes' dependency
    
    Change-Id: Icde586131bab00476abc44d8dd4e2db7e9d59b2b
    BUG: 1033275
    Signed-off-by: Harshavardhana <harsha>
    Reviewed-on: http://review.gluster.org/6339
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Anand Avati <avati>

Comment 2 Niels de Vos 2014-04-17 11:51:07 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.5.0, please reopen this bug report.

glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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