Bug 1378798 - Unable to create VM image file on the volume using libgfapi
Summary: Unable to create VM image file on the volume using libgfapi
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: libgfapi
Version: rhgs-3.2
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: rjoseph
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-23 09:45 UTC by SATHEESARAN
Modified: 2016-09-23 10:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Virt gluster integration RHEL 7.2
Last Closed: 2016-09-23 10:18:00 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description SATHEESARAN 2016-09-23 09:45:40 UTC
Description of problem:
-----------------------
Unable to create VM image file on the gluster volume using qemu-img

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHEL 7.2
qemu-kvm-1.5.3-105.el7_2.7.x86_64
qemu-img-1.5.3-105.el7_2.7.x86_64
RHGS 3.2.0 interim build ( glusterfs-3.8.4-1.el7rhgs )

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Create VM Image file on sharded-arbiter volume or on sharded-replica 3 volume

Actual results:
---------------
Failed to create image file with the error - "Transport endpoint is not connected"

Expected results:
-----------------
VM Image file should get created successfully

Additional Info:
----------------
qemu-img: Gluster connection failed for server=10.70.37.104 port=0 volume=repvol image=vm1.img transport=tcp
qemu-img: gluster://<server>/repvol/vm1.img: Could not create image: Transport endpoint is not connected

Comment 3 SATHEESARAN 2016-09-23 09:55:59 UTC
I haven't turned on SSL with this configuration.
All that I do was just to create image file with glusterfs driver for QEMU ( which uses libgfapi )

I use the client too with glusterfs-3.8.4-1

# rpm -qi glusterfs-api
Name        : glusterfs-api
Version     : 3.8.4
Release     : 1.el7
Architecture: x86_64
Install Date: Fri 23 Sep 2016 02:32:10 PM IST
Group       : System Environment/Daemons
Size        : 169496
License     : GPLv2 or LGPLv3+
Signature   : (none)
Source RPM  : glusterfs-3.8.4-1.el7.src.rpm
Build Date  : Tue 20 Sep 2016 03:44:33 PM IST
Build Host  : x86-019.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://www.gluster.org/docs/index.php/GlusterFS
Summary     : GlusterFS api library
Description :
GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA
or TCP/IP interconnect into one large parallel network file
system. GlusterFS is one of the most sophisticated file systems in
terms of features and extensibility.  It borrows a powerful concept
called Translators from GNU Hurd kernel. Much of the code in GlusterFS
is in user space and easily manageable.

This package provides the glusterfs libgfapi library.

Comment 4 SATHEESARAN 2016-09-23 09:58:07 UTC
I see that there are 2 patch on libgfapi
http://review.gluster.org/#/c/15072/
http://review.gluster.org/#/c/15073/

Will these patches has some effect on this problem ?

Image creation was working well with RHGS 3.1.3 ( glusterfs-3.7.9-12.el7rhgs )

Comment 5 SATHEESARAN 2016-09-23 10:17:21 UTC
Thanks Rajesh for the clarification that there is partial SSL enabled on the client side and that is the reason for failure

Comment 7 SATHEESARAN 2016-09-23 10:18:00 UTC
Closing this bug on the reason comment5


Note You need to log in before you can comment on or make changes to this bug.