Bug 1263191 - Error not propagated correctly if selfheal layout lock fails
Summary: Error not propagated correctly if selfheal layout lock fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: 3.7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On: 1262438
Blocks: glusterfs-3.7.5
TreeView+ depends on / blocked
 
Reported: 2015-09-15 09:49 UTC by Nithya Balachandran
Modified: 2015-10-14 10:37 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.7.5
Doc Type: Bug Fix
Doc Text:
Clone Of: 1262438
Environment:
Last Closed: 2015-10-14 10:28:44 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Nithya Balachandran 2015-09-15 09:49:16 UTC
+++ This bug was initially created as a clone of Bug #1262438 +++

Description of problem:

The op_errno is not propagated correctly on failure in dht_selfheal_layout_lock_cbk

Log messages:

[2015-09-10 11:30:17.710010] W [MSGID: 114031] [client-rpc-fops.c:2322:client3_3_setattr_cbk] 5-vol-client-2: remote operation failed [Stale file handle]
[2015-09-10 11:30:17.710173] W [fuse-resolve.c:65:fuse_resolve_entry_cbk] 0-fuse: 00000000-0000-0000-0000-000000000001/glusterfs: failed to resolve (Structure needs cleaning) 
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Nithya Balachandran on 2015-09-11 13:04:16 EDT ---

Patch posted at:
http://review.gluster.org/#/c/12165/

--- Additional comment from Vijay Bellur on 2015-09-12 10:17:22 EDT ---

REVIEW: http://review.gluster.org/12165 (cluster/dht : Propagate op_errno on failure) posted (#2) for review on master by Dan Lambright (dlambrig)

--- Additional comment from Vijay Bellur on 2015-09-14 02:29:12 EDT ---

COMMIT: http://review.gluster.org/12165 committed in master by Raghavendra G (rgowdapp) 
------
commit 2ec8ea8769e943d3987dd80f8f6937359bcccf34
Author: Nithya Balachandran <nbalacha>
Date:   Fri Sep 11 22:18:03 2015 +0530

    cluster/dht : Propagate op_errno on failure
    
    Fixed issue where dht_selfheal_layout_lock_cbk does not propagate
    the op_errno.
    
    Change-Id: I0b968339db65d2969e36e64407eeb724cc6516bd
    BUG: 1262438
    Signed-off-by: Nithya Balachandran <nbalacha>
    Reviewed-on: http://review.gluster.org/12165
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 1 Vijay Bellur 2015-09-15 09:57:58 UTC
REVIEW: http://review.gluster.org/12178 (cluster/dht : Propagate op_errno on failure) posted (#1) for review on release-3.7 by N Balachandran (nbalacha)

Comment 2 Pranith Kumar K 2015-10-14 10:28:44 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-glusterfs-3.7.5, please open a new bug report.

glusterfs-glusterfs-3.7.5 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://www.gluster.org/pipermail/gluster-users/2015-October/023968.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 3 Pranith Kumar K 2015-10-14 10:37:59 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.5, please open a new bug report.

glusterfs-3.7.5 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://www.gluster.org/pipermail/gluster-users/2015-October/023968.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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