Bug 1342348 - Log parameters such as the gfid, fd address, offset and length of the reads upon failure for easier debugging
Summary: Log parameters such as the gfid, fd address, offset and length of the reads u...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: posix
Version: 3.7.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Krutika Dhananjay
QA Contact:
URL:
Whiteboard:
Depends On: 1341009 1342387
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-03 04:16 UTC by Krutika Dhananjay
Modified: 2016-06-28 12:19 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.7.12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1341009
Environment:
Last Closed: 2016-06-28 11:34:31 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Krutika Dhananjay 2016-06-03 04:16:14 UTC
+++ This bug was initially created as a clone of Bug #1341009 +++

Description of problem:


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 Vijay Bellur on 2016-05-31 01:54:23 EDT ---

REVIEW: http://review.gluster.org/14271 (storage/posix: Print offset,size and gfid too when readv fails) posted (#3) for review on master by Krutika Dhananjay (kdhananj)

--- Additional comment from Vijay Bellur on 2016-05-31 05:13:37 EDT ---

COMMIT: http://review.gluster.org/14271 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit b5590f1db641a22ea515c9c4760a593d3342ffa0
Author: Krutika Dhananjay <kdhananj>
Date:   Mon May 9 16:53:19 2016 +0530

    storage/posix: Print offset,size and gfid too when readv fails
    
    ... for better debuggability.
    
    Here's a sample log:
    
    [2016-05-31 05:18:34.893951] E [MSGID: 113040] [posix.c:3089:posix_readv]
    0-dis-posix: read failed on gfid=3744d34b-f798-4ce2-b421-cc632a9903bd,
    fd=0x7f8b3c015abc, offset=131072 size=131072 [Invalid argument]
    
    Change-Id: I069c17fecbb01a4a2b5dea1eb482c7f56a191fd3
    BUG: 1341009
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/14271
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: Ashish Pandey <aspandey>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    CentOS-regression: Gluster Build System <jenkins.com>

Comment 1 Vijay Bellur 2016-06-03 04:17:56 UTC
REVIEW: http://review.gluster.org/14625 (storage/posix: Print offset,size and gfid too when readv fails) posted (#1) for review on release-3.7 by Krutika Dhananjay (kdhananj)

Comment 2 Vijay Bellur 2016-06-04 02:00:25 UTC
COMMIT: http://review.gluster.org/14625 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) 
------
commit bac2781a2d3f26d09fd5687fd519b4cb4bdba1f4
Author: Krutika Dhananjay <kdhananj>
Date:   Mon May 9 16:53:19 2016 +0530

    storage/posix: Print offset,size and gfid too when readv fails
    
    ... for better debuggability.
    
            Backport of: http://review.gluster.org/14271
    
    Here's a sample log:
    
    [2016-05-31 05:18:34.893951] E [MSGID: 113040] [posix.c:3089:posix_readv]
    0-dis-posix: read failed on gfid=3744d34b-f798-4ce2-b421-cc632a9903bd,
    fd=0x7f8b3c015abc, offset=131072 size=131072 [Invalid argument]
    
    Change-Id: Ied15223b25dbde9ffc40af5012d96164a32fb7c3
    BUG: 1342348
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/14625
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Smoke: Gluster Build System <jenkins.com>

Comment 3 Kaushal 2016-06-28 12:19:23 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.12, please open a new bug report.

glusterfs-3.7.12 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] https://www.gluster.org/pipermail/gluster-devel/2016-June/049918.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.