Red Hat Bugzilla – Bug 1279739
libgfapi to support set_volfile-server-transport type "unix"
Last modified: 2016-06-16 09:43:35 EDT
Created attachment 1092100 [details]
test to reproduce the issue
Description of problem:
libgfapi does not support unix domain socket. In case if glusterd is binded to a specific-IP, libgfapi clients(like heal) fails. Using unix domain socket libgfapi will over come the failure.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download the attached program.
2. Find the readme within the file.
3. Follow the instructions.
REVIEW: http://review.gluster.org/12563 (libgfapi: To support set_volfile-server-transport type "unix") posted (#6) for review on master by Mohamed Ashiq Liyazudeen (email@example.com)
COMMIT: http://review.gluster.org/12563 committed in master by Shyamsundar Ranganathan (firstname.lastname@example.org)
Author: Mohamed Ashiq <email@example.com>
Date: Tue Nov 10 13:18:41 2015 +0530
libgfapi: To support set_volfile-server-transport type "unix"
This patch helps libgfapi to get the volfile using Unix domain socket.
run the attachment file in the bug to test.
The patch checks if the glfs_set_volfile_server transport is of type "unix",
If It is then uses rpc_transport_unix_options_build to get the volfile.
Signed-off-by: Mohamed Ashiq <firstname.lastname@example.org>
Signed-off-by: Humble Devassy Chirammal <email@example.com>
Tested-by: NetBSD Build System <firstname.lastname@example.org>
Tested-by: Gluster Build System <email@example.com>
Reviewed-by: Niels de Vos <firstname.lastname@example.org>
Reviewed-by: Poornima G <email@example.com>
Reviewed-by: Raghavendra Talur <firstname.lastname@example.org>
Reviewed-by: Shyamsundar Ranganathan <email@example.com>
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.8.0, please open a new bug report.
glusterfs-3.8.0 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.