Bug 1558380 - Modify glfsheal binary to accept socket file path as an optional argument.
Summary: Modify glfsheal binary to accept socket file path as an optional argument.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: selfheal
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-20 06:46 UTC by Vishal Pandey
Modified: 2018-06-20 18:02 UTC (History)
1 user (show)

Fixed In Version: glusterfs-v4.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-20 18:02:26 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Vishal Pandey 2018-03-20 06:46:57 UTC
Description of problem:

Currently glfsheal uses DATADIR + /run/socketfile as the socket file path but in cases like the following the gluster management daemon is likely to run into issues-

1- In Gluster 4.0, both Glusterd1 and Glusterd2 can run together if ports and socket file is configured as different. In that case glfs heal will only work with one Glusterd.

2-  Run multiple glusterd2 in same machine to form the Cluster for testing. Both can't use the same socket file.

Keeping in mind the above use cases it is better to make glfsheal more flexible to accomodate option for specifying socketfile path.
 
Version-Release number of selected component (if applicable):
4.0

Comment 1 Worker Ant 2018-03-20 09:41:01 UTC
REVIEW: https://review.gluster.org/19745 (glfs heal binary change to accomodate socket file arguments) posted (#1) for review on master by

Comment 2 Worker Ant 2018-03-26 06:24:36 UTC
REVIEW: https://review.gluster.org/19745 (glfs heal binary change to accomodate socket file arguments) posted (#2) for review on master by

Comment 3 Worker Ant 2018-03-27 02:24:38 UTC
COMMIT: https://review.gluster.org/19745 committed in master by "Pranith Kumar Karampuri" <pkarampu> with a commit message- glfs heal binary change to accomodate socket file arguments

Change-Id: I755d6552decd015aec7859ad2cf99c76c8bee9dc
fixes: bz#1558380
BUG: 1558380
Signed-off-by: Vishal Pandey <vpandey>

Comment 4 Shyamsundar 2018-06-20 18:02:26 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-v4.1.0, please open a new bug report.

glusterfs-v4.1.0 has been announced on the Gluster mailinglists [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://lists.gluster.org/pipermail/announce/2018-June/000102.html
[2] https://www.gluster.org/pipermail/gluster-users/


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