[Bugs] [Bug 1283563] New: libgfapi to support set_volfile-server-transport type "unix"

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 19 10:07:01 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1283563

            Bug ID: 1283563
           Summary: libgfapi to support set_volfile-server-transport type
                    "unix"
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: glusterfs-devel
          Keywords: ZStream
          Assignee: chrisw at redhat.com
          Reporter: mliyazud at redhat.com
        QA Contact: storage-qa-internal at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    nlevinki at redhat.com, rhs-bugs at redhat.com,
                    rwheeler at redhat.com, sdharane at redhat.com,
                    vbellur at redhat.com
        Depends On: 1279739
            Blocks: 1283038, 1283040
          Keywords: ZStream



Created attachment 1096576
  --> https://bugzilla.redhat.com/attachment.cgi?id=1096576&action=edit
test to reproduce the issue

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


How reproducible:
Always

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

patch:

http://review.gluster.org/12563

--- 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 (mliyazud at redhat.com)

--- 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 (srangana at redhat.com) 
------
commit f71c08b8d592fa6125fee57fb73f774ce522756c
Author: Mohamed Ashiq <mliyazud at redhat.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.

    Change-Id: Ifd5d1e7c0d8cc9a906c3c3355b8977141e892a2f
    BUG: 1279739
    Signed-off-by: Mohamed Ashiq <mliyazud at redhat.com>
    Signed-off-by: Humble Devassy Chirammal <hchiramm at redhat.com>
    Reviewed-on: http://review.gluster.org/12563
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-by: Poornima G <pgurusid at redhat.com>
    Reviewed-by: Raghavendra Talur <rtalur at redhat.com>
    Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1279739
[Bug 1279739] libgfapi to support set_volfile-server-transport type "unix"
https://bugzilla.redhat.com/show_bug.cgi?id=1283038
[Bug 1283038] libgfapi to support set_volfile-server-transport type "unix"
https://bugzilla.redhat.com/show_bug.cgi?id=1283040
[Bug 1283040] libgfapi to support set_volfile-server-transport type "unix"
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=7dyEuGA1T4&a=cc_unsubscribe


More information about the Bugs mailing list