Bug 1074045 - Geo-replication doesn't work on EL5, so rpm packaging of it should be disabled
Summary: Geo-replication doesn't work on EL5, so rpm packaging of it should be disabled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Justin Clift
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-07 18:27 UTC by Justin Clift
Modified: 2015-07-13 04:35 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Justin Clift 2014-03-07 18:27:11 UTC
Description of problem:

  Geo-replication's sync daemon doesn't run on EL5, as the default
  version of Python there is too old.  It's version 2.4, whereas
  version 2.6 is the minimum required.

  Just having the non-functional geo-replication package installed
  on EL5 stops glusterd from starting correct.  We should therefore
  stop the geo-replication rpm from being built by default in EL5.

    $ sudo service glusterd start
    Starting glusterd:                                         [FAILED]
    $ sudo cat /var/log/glusterfs/etc-glusterfs-glusterd.vol.log 
    [2014-03-02 13:49:19.028208] I [glusterfsd.c:1972:main] 0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 3git (/usr/sbin/glusterd --pid-file=/var/run/glusterd.pid)
    [2014-03-02 13:49:19.031635] I [glusterd.c:1159:init] 0-management: Using /var/lib/glusterd as working directory
    [2014-03-02 13:49:19.036020] W [rdma.c:4194:__gf_rdma_ctx_create] 0-rpc-transport/rdma: rdma_cm event channel creation failed (No such device)
    [2014-03-02 13:49:19.036046] E [rdma.c:4482:init] 0-rdma.management: Failed to initialize IB Device
    [2014-03-02 13:49:19.036061] E [rpc-transport.c:333:rpc_transport_load] 0-rpc-transport: 'rdma' initialization failed
    [2014-03-02 13:49:19.036115] W [rpcsvc.c:1477:rpcsvc_transport_create] 0-rpc-service: cannot create listener, initing the transport failed
    [2014-03-02 13:49:19.089473] E [glusterd.c:393:glusterd_check_gsync_present] 0-glusterd: geo-replication module not working as desired
    [2014-03-02 13:49:19.089589] E [xlator.c:406:xlator_init] 0-management: Initialization of volume 'management' failed, review your volfile again
    [2014-03-02 13:49:19.089610] E [graph.c:307:glusterfs_graph_init] 0-management: initializing translator failed
    [2014-03-02 13:49:19.089624] E [graph.c:502:glusterfs_graph_activate] 0-graph: init failed
    [2014-03-02 13:49:19.089995] W [glusterfsd.c:1128:cleanup_and_exit] (-->/usr/sbin/glusterd(main+0x470) [0x407500] (-->/usr/sbin/glusterd(glusterfs_volumes_init+0xbd) [0x404fcd] (-->/usr/sbin/glusterd(glusterfs_process_volfp+0xf0) [0x404ed0]))) 0-: received signum (0), shutting down
    $ sudo rpm -e glusterfs-geo-replication
    $ sudo service glusterd start
    Starting glusterd:                                         [  OK  ]

  (This is on CentOS 6.5)


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

  Upstream gluster git, master branch as if Fri 7th March 2014


How reproducible:

  Every time

Comment 1 Anand Avati 2014-03-07 18:40:47 UTC
REVIEW: http://review.gluster.org/7210 (build: Don't build geo-replication rpms when on EL5) posted (#1) for review on master by Justin Clift (justin)

Comment 2 Anand Avati 2014-03-08 17:41:28 UTC
COMMIT: http://review.gluster.org/7210 committed in master by Anand Avati (avati) 
------
commit e9ab4bc851490a8b494bf812acaac54a678c7bc2
Author: Justin Clift <justin>
Date:   Fri Mar 7 18:01:05 2014 +0000

    build: Don't build geo-replication rpms when on EL5
    
    Also fixes a typo bug where geo-replication isn't
    being disabled correctly
    
    BUG: 1074045
    Change-Id: I28d42637bedcc28d65b6a34ab0183559202c4aed
    Signed-off-by: Justin Clift <justin>
    Reviewed-on: http://review.gluster.org/7210
    Reviewed-by: Joe Julian <joe>
    Tested-by: Joe Julian <joe>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Niels de Vos <ndevos>
    Reviewed-by: Venky Shankar <vshankar>

Comment 3 Anand Avati 2014-03-19 11:40:50 UTC
REVIEW: http://review.gluster.org/7297 (build: Don't build geo-replication rpms when on EL5) posted (#1) for review on release-3.5 by Justin Clift (justin)

Comment 4 Anand Avati 2014-03-22 14:12:53 UTC
REVIEW: http://review.gluster.org/7297 (build: Don't build geo-replication rpms when on EL5) posted (#2) for review on release-3.5 by Justin Clift (justin)

Comment 5 Anand Avati 2014-03-24 17:29:18 UTC
COMMIT: http://review.gluster.org/7297 committed in release-3.5 by Vijay Bellur (vbellur) 
------
commit 29cbd30acd5d7a66451df09c7b94ff4bbe8b0e18
Author: Justin Clift <justin>
Date:   Fri Mar 7 18:01:05 2014 +0000

    build: Don't build geo-replication rpms when on EL5
    
    Also fixes a typo bug where geo-replication isn't
    being disabled correctly
    
    Backport of http://review.gluster.org/#/c/7210/
    
    BUG: 1074045
    Change-Id: I0f8f632c4ed1bdde179d6d7278e10e196549ca38
    Signed-off-by: Justin Clift <justin>
    Reviewed-on: http://review.gluster.org/7297
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 6 Niels de Vos 2014-04-17 12:29:37 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.