Bug 1165140 - hardcoded gsyncd path causes geo-replication to fail on non-redhat systems
Summary: hardcoded gsyncd path causes geo-replication to fail on non-redhat systems
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: 3.6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
Depends On: 1162905 1165142 1304692
TreeView+ depends on / blocked
Reported: 2014-11-18 12:27 UTC by Kaleb KEITHLEY
Modified: 2016-08-05 10:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1162905
Last Closed: 2016-08-05 10:31:04 UTC
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:

Attachments (Terms of Use)

Description Kaleb KEITHLEY 2014-11-18 12:27:09 UTC
+++ This bug was initially created as a clone of Bug #1162905 +++

Description of problem:
Line 16 of geo-replication/src/peer_gsec_create.in has a hard coded path of ${exec_prefix}/libexec/glusterfs/gsyncd - ignoring the value of remote_gsyncd option in gsyncd.conf

atleast in Ubuntu, there is no libexec folder anywhere on the system and the ubuntu debs provided by semiosis installs gsyncd to /usr/lib/x86_64-linux-gnu/glusterfs/

this file has not changed in 3.5 or 3.6, so affects both releases.

The only way to get distributed geo-replication working is to symlink the path to the correct location.

Version-Release number of selected component (if applicable): 3.5.1, 3.5.2, 3.6.1

How to reproduce:

follow the distributed geo-replication docs at https://github.com/gluster/glusterfs/blob/master/doc/admin-guide/en-US/markdown/admin_distributed_geo_rep.md on a non-redhat system

Steps to Reproduce:
1. setup geo-replication as per docs
2. start the geo-replication
3. status never changes from "Not Active"
4. log files show cannot execute gsyncd

Actual results:

E [glusterd-geo-rep.c:2685:glusterd_gsync_read_frm_status] 0-: Unable to read gsyncd status file
E [glusterd-geo-rep.c:2999:glusterd_read_status_file] 0-: Unable to read the statusfile for /export/sitedata brick for  ds0(master), session

Expected results:

geo-replication to work.

Additional info:


Comment 1 Aravinda VK 2016-08-05 10:31:04 UTC
libexec path issue is resolved in Master, 3.7 and 3.8 releases. Gluster 3.6 will be EOL once Gluster 3.9 is released(Expected in end of september)

Closing this bug, Please reopen if the fix required for 3.6 version.

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