RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 998778 - glfs_init does not setup errno when it fails
Summary: glfs_init does not setup errno when it fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: glusterfs
Version: 6.5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Vijay Bellur
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 996829 1001893
TreeView+ depends on / blocked
 
Reported: 2013-08-20 04:43 UTC by Asias He
Modified: 2013-12-02 23:26 UTC (History)
19 users (show)

Fixed In Version: glusterfs-3.4.0.34rhs-1.el6
Doc Type: Bug Fix
Doc Text:
Cause: it is important to have 'errno' set to appropriate value when a failure of a API happens. Consequence: application using the API can behave unpredictably if the value is not set during failure. Fix: Set 'errno' values in all the failure path. Result: Now, the application consuming the API will behave properly.
Clone Of: 996831
Environment:
Last Closed: 2013-11-21 11:59:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1641 0 normal SHIPPED_LIVE glusterfs bug fix and enhancement update 2013-11-20 21:53:34 UTC

Comment 2 Ademar Reis 2013-09-11 01:13:52 UTC
Adding blocker flag. We'll have a hard time supporting gluster customers using qemu-kvm if this bug is not fixed.

Comment 3 Vijay Bellur 2013-09-24 14:48:39 UTC
Patch posted at:

https://code.engineering.redhat.com/gerrit/#/c/12073/

Comment 5 SATHEESARAN 2013-10-09 06:45:34 UTC
With the glusterfs-3.4.0.34rhs-1 update, I am not seeing this issue.
Tested with RHEL 6.5 Beta
Marking it as VERIFIED

Version Info
============

[root@rhs-client8 ~]# rpm -qa | grep qemu
qemu-kvm-tools-0.12.1.2-2.406.el6.x86_64
gpxe-roms-qemu-0.9.7-6.10.el6.noarch
qemu-kvm-0.12.1.2-2.406.el6.x86_64
qemu-img-0.12.1.2-2.406.el6.x86_64

[root@rhs-client8 ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 6.5 Beta (Santiago)
Kernel \r on an \m

[root@rhs-client8 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.5 Beta (Santiago)
[root@rhs-client8 ~]# rpm -qa | grep glusterfs
glusterfs-libs-3.4.0.34rhs-1.el6.x86_64
glusterfs-fuse-3.4.0.34rhs-1.el6.x86_64
glusterfs-3.4.0.34rhs-1.el6.x86_64
glusterfs-api-devel-3.4.0.34rhs-1.el6.x86_64
glusterfs-rdma-3.4.0.34rhs-1.el6.x86_64
glusterfs-api-3.4.0.34rhs-1.el6.x86_64
glusterfs-devel-3.4.0.34rhs-1.el6.x86_64

Steps
======
[root@rhs-client8 ~]# /usr/libexec/qemu-kvm  -drive file=gluster://glusterfs-server/simple/rhel64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads -device virtio-blk-pci,scsi=off,bus=pci.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=0 
qemu-kvm: -drive file=gluster://glusterfs-server/simple/rhel64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads: Gluster connection failed for server=glusterfs-server port=0 volume=simple image=rhel64.qcow2 transport=tcp

qemu-kvm: -drive file=gluster://glusterfs-server/simple/rhel64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads: could not open disk image gluster://glusterfs-server/simple/rhel64.qcow2: Transport endpoint is not connected
[root@rhs-client8 ~]# glusterfs -V
glusterfs 3.4.0.34rhs built on Oct  8 2013 02:04:48
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

Comment 6 errata-xmlrpc 2013-11-21 11:59:14 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-1641.html


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