Red Hat Bugzilla – Bug 1283040
libgfapi to support set_volfile-server-transport type "unix"
Last modified: 2015-11-19 05:06:58 EST
+++ This bug was initially created as a clone of Bug #1279739 +++
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.
--- Additional comment from Mohamed Ashiq on 2015-11-10 07:44:52 EST ---
--- Additional comment from Vijay Bellur on 2015-11-16 01:26:09 EST ---
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 (firstname.lastname@example.org)
--- Additional comment from Vijay Bellur on 2015-11-17 10:46:51 EST ---
COMMIT: http://review.gluster.org/12563 committed in master by Shyamsundar Ranganathan (email@example.com)
Author: Mohamed Ashiq <firstname.lastname@example.org>
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 <email@example.com>
Signed-off-by: Humble Devassy Chirammal <firstname.lastname@example.org>
Tested-by: NetBSD Build System <email@example.com>
Tested-by: Gluster Build System <firstname.lastname@example.org>
Reviewed-by: Niels de Vos <email@example.com>
Reviewed-by: Poornima G <firstname.lastname@example.org>
Reviewed-by: Raghavendra Talur <email@example.com>
Reviewed-by: Shyamsundar Ranganathan <firstname.lastname@example.org>
*** This bug has been marked as a duplicate of bug 1283038 ***