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