Bug 1096022 - dist-geo-rep: Geo-rep is broken in master
Summary: dist-geo-rep: Geo-rep is broken in master
Keywords:
Status: CLOSED DUPLICATE of bug 1091961
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Aravinda VK
QA Contact:
URL:
Whiteboard:
Depends On: 1094168
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-09 06:17 UTC by Aravinda VK
Modified: 2014-07-13 11:00 UTC (History)
8 users (show)

Fixed In Version:
Clone Of: 1094168
Environment:
Last Closed: 2014-07-13 11:00:35 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Aravinda VK 2014-05-09 06:17:42 UTC
+++ This bug was initially created as a clone of Bug #1094168 +++

Description of problem: geo-rep worker dies in startup phase with following python traceback,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[2014-05-05 13:39:46.172435] E [syncdutils(/bricks/master_brick1):267:log_raise_exception] <top>: FAIL: 
Traceback (most recent call last):
  File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 163, in main
    main_i()
  File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 620, in main_i
    local.service_loop(*[r for r in [remote] if r])
  File "/usr/libexec/glusterfs/python/syncdaemon/resource.py", line 1326, in service_loop
    g3.crawlwrap(oneshot=True)
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 501, in crawlwrap
    self.crawl()
  File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 1169, in crawl
    self.changelog_register_time)
  File "/usr/libexec/glusterfs/python/syncdaemon/resource.py", line 689, in history_changelog
    return Changes.cl_history_changelog(changelog_path, start, end)
  File "/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py", line 92, in cl_history_changelog
    ret = cls._get_api('gf_history_changelog')(changelog_path, start, end)
  File "/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py", line 34, in _get_api
    return getattr(cls.libgfc, call)
  File "/usr/lib64/python2.6/ctypes/__init__.py", line 366, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib64/python2.6/ctypes/__init__.py", line 371, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib64/libgfchangelog.so.0: undefined symbol: gf_history_changelog
 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Version-Release number of selected component (if applicable):  glusterfs-3.5qa2-0.425.git9360107


How reproducible: always


Steps to Reproduce:
1.create and start a geo-rep relationship between master and slave.


Actual results: worker dies in startup phase 


Expected results: It shouldn't die in startup phase. 


Additional info:

Comment 1 Aravinda VK 2014-05-09 06:28:30 UTC
Upstream patches available to fix this issue

1. http://review.gluster.org/#/c/6930/
2. http://review.gluster.org/#/c/7660/

Comment 2 Niels de Vos 2014-07-13 11:00:35 UTC

*** This bug has been marked as a duplicate of bug 1091961 ***


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