[Bugs] [Bug 1171662] libgfapi crashes in glfs_fini for RDMA type volumes

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 20 11:16:19 UTC 2015


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

nchilaka <nchilaka at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #5 from nchilaka <nchilaka at redhat.com> ---
I ran the steps which caused the bug, and found that it is fixed.Hence moving
to verified
Steps:
1)identified machines to be used for server and clients which have rdma cards.
  Also, I installed gluster-devel and gluster-devel-api packages on client and
server.
2)enabled RDMA on both server and client using
http://fpaste.org/245970/73750811/
3)create a volume with one-brick with transport type as RDMA and started it.
For the brick i had used RDMA IP
4)now copied the c program gfapi_perf_test.c to the client(avaialble on the
parent bug, from which this bug was cloned)
5.Compile the above C program that uses libgfapi
gcc -pthread -g -O0  -Wall --pedantic -o gfapi_perf_test -I
/usr/include/glusterfs/api gfapi_perf_test.c  -lgfapi -lrt

6. Do the following exports by issuing the command on cli of client as it is:
export GFAPI_HOSTNAME=<server ip>(rdma IP of the server node)
export GFAPI_TRANSPORT=rdma
export GFAPI_VOLNAME=<volume name>

7. Create a directory "tmp" under /mnt as the program requires this directory
8.Run the compiled output as
GFAPI_FILES=1 GFAPI_RECSZ=1024 GFAPI_FSZ=1048576 ./gfapi_perf_test

9. Mount the volume to see that files are created by the c program under
/mnt/tmp
Behavior before the bug was fixed:
===================================
Segmentation fault (core dumped)

Fixed behavior:
==============
Program executes successfully.



Version of test where QA found the issue fixed:


[root at rhs-client21 rdma_new]# cat /etc/redhat-*
Red Hat Enterprise Linux Server release 6.7 (Santiago)
Red Hat Gluster Storage Server 3.1
[root at rhs-client21 rdma_new]# rpm -qa|grep gluster
gluster-nagios-common-0.2.0-1.el6rhs.noarch
gluster-nagios-addons-0.2.4-2.el6rhs.x86_64
glusterfs-3.7.1-10.el6rhs.x86_64
glusterfs-cli-3.7.1-10.el6rhs.x86_64
python-gluster-3.7.1-10.el6rhs.x86_64
glusterfs-libs-3.7.1-10.el6rhs.x86_64
glusterfs-client-xlators-3.7.1-10.el6rhs.x86_64
glusterfs-fuse-3.7.1-10.el6rhs.x86_64
glusterfs-server-3.7.1-10.el6rhs.x86_64
glusterfs-rdma-3.7.1-10.el6rhs.x86_64
glusterfs-ganesha-3.7.1-10.el6rhs.x86_64
vdsm-gluster-4.16.20-1.2.el6rhs.noarch
glusterfs-api-3.7.1-10.el6rhs.x86_64
glusterfs-geo-replication-3.7.1-10.el6rhs.x86_64
nfs-ganesha-gluster-2.2.0-5.el6rhs.x86_64
[root at rhs-client21 rdma_new]# gluster --version
glusterfs 3.7.1 built on Jul 15 2015 10:20:49
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.
[root at rhs-client21 rdma_new]#

-- 
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=9IwW54zyIq&a=cc_unsubscribe


More information about the Bugs mailing list