Bug 1283563
Summary: | libgfapi to support set_volfile-server-transport type "unix" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Mohamed Ashiq <mliyazud> | ||||
Component: | glusterfs-devel | Assignee: | Mohamed Ashiq <mliyazud> | ||||
Status: | CLOSED ERRATA | QA Contact: | Byreddy <bsrirama> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rhgs-3.1 | CC: | annair, bmohanra, byarlaga, nlevinki, rcyriac, rhs-bugs, rwheeler, sankarshan, sdharane, vbellur | ||||
Target Milestone: | --- | Keywords: | ZStream | ||||
Target Release: | RHGS 3.1.2 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | glusterfs-3.7.5-9 | Doc Type: | Bug Fix | ||||
Doc Text: |
Glusterd is bound to a specific-IP address. Due to this, libgfapi fails to get the volfile since IP is hard-coded to localhost from the client. With this fix, the rpc_transport_unix_options_build is used, libgfapi is now enabled to get the volfile with unix domain socket. libgfapi can now fetch volfile with unix set_volfile-server-transport type even when glusterd is bound to a specific IP address.
|
Story Points: | --- | ||||
Clone Of: | 1279739 | Environment: | |||||
Last Closed: | 2016-03-01 05:56:08 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1279739 | ||||||
Bug Blocks: | 1260783, 1283038, 1283040 | ||||||
Attachments: |
|
Description
Mohamed Ashiq
2015-11-19 10:06:58 UTC
Verified this bug, below is the details. Without fix: ============ [root@ ~]# gluster volume status Status of volume: falcon Gluster process TCP Port RDMA Port Online Pid ------------------------------------------------------------------------------ Brick IP:/bricks/brick0/a00 49154 0 Y 3333 Brick IP:/bricks/brick1/a11 49155 0 Y 3351 NFS Server on localhost 2049 0 Y 3372 Task Status of Volume falcon ------------------------------------------------------------------------------ There are no active volume tasks [root@ ~]# ./glfs_bvfs Failed to initialize volume (falcon) <<<<<<<<<<<Failure [root@ ~]# rpm -qa |grep gluster nfs-ganesha-gluster-2.2.0-9.el7rhgs.x86_64 glusterfs-rdma-3.7.5-6.el7rhgs.x86_64 gluster-nagios-common-0.2.2-1.el7rhgs.noarch glusterfs-3.7.5-6.el7rhgs.x86_64 glusterfs-api-devel-3.7.5-6.el7rhgs.x86_64 python-gluster-3.7.1-16.el7rhgs.x86_64 glusterfs-client-xlators-3.7.5-6.el7rhgs.x86_64 glusterfs-cli-3.7.5-6.el7rhgs.x86_64 glusterfs-ganesha-3.7.5-6.el7rhgs.x86_64 glusterfs-api-3.7.5-6.el7rhgs.x86_64 glusterfs-server-3.7.5-6.el7rhgs.x86_64 glusterfs-geo-replication-3.7.5-6.el7rhgs.x86_64 glusterfs-libs-3.7.5-6.el7rhgs.x86_64 glusterfs-devel-3.7.5-6.el7rhgs.x86_64 gluster-nagios-addons-0.2.5-1.el7rhgs.x86_64 glusterfs-fuse-3.7.5-6.el7rhgs.x86_64 [root@dhcp ~]# With Fix: ========= [root@dhcp ~]# [root@dhcp ~]# gluster volume status Status of volume: falcon Gluster process TCP Port RDMA Port Online Pid ------------------------------------------------------------------------------ Brick IP:/bricks/brick0/x00 49194 0 Y 12967 Brick IP:/bricks/brick1/x11 49195 0 Y 13000 NFS Server on localhost 2049 0 Y 13038 Task Status of Volume falcon ------------------------------------------------------------------------------ There are no active volume tasks [root@dhcp ~]# [root@dhcp ~]# ./glfs_bvfs Init successfully done <<<<<<<<<<Init Passed [root@dhcp ~]# [root@dhcp ~]# rpm -qa |grep gluster glusterfs-devel-3.7.5-11.el7rhgs.x86_64 glusterfs-fuse-3.7.5-11.el7rhgs.x86_64 glusterfs-debuginfo-3.7.5-11.el7rhgs.x86_64 glusterfs-3.7.5-11.el7rhgs.x86_64 glusterfs-cli-3.7.5-11.el7rhgs.x86_64 glusterfs-ganesha-3.7.5-11.el7rhgs.x86_64 vdsm-gluster-4.16.20-1.3.el7rhgs.noarch glusterfs-client-xlators-3.7.5-11.el7rhgs.x86_64 glusterfs-server-3.7.5-11.el7rhgs.x86_64 glusterfs-geo-replication-3.7.5-11.el7rhgs.x86_64 nfs-ganesha-gluster-2.2.0-9.el7rhgs.x86_64 glusterfs-api-3.7.5-11.el7rhgs.x86_64 glusterfs-rdma-3.7.5-11.el7rhgs.x86_64 glusterfs-libs-3.7.5-11.el7rhgs.x86_64 glusterfs-api-devel-3.7.5-11.el7rhgs.x86_64 gluster-nagios-addons-0.2.5-1.el7rhgs.x86_64 gluster-nagios-common-0.2.2-1.el7rhgs.noarch python-gluster-3.7.1-16.el7rhgs.x86_64 [root@dhcp ~]# with above info, moving to verified state. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0193.html |