Bug 1238952 - gf_msg_callingfn does not log the callers of the function in which it is called
Summary: gf_msg_callingfn does not log the callers of the function in which it is called
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: logging
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nithya Balachandran
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1241830 1241841
TreeView+ depends on / blocked
 
Reported: 2015-07-03 06:56 UTC by Nithya Balachandran
Modified: 2016-06-16 13:19 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.8rc2
Clone Of:
: 1241830 1241841 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:19:04 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Nithya Balachandran 2015-07-03 06:56:26 UTC
Description of problem:

Outout of gf_msg_callingfn is as follows:


[glusterd-op-sm.c:249:glusterd_get_txn_opinfo] (--> 0-management: Unable to get       transaction opinfo for transaction ID : 4ad5f5bb-8a83-4c06-9883-c3ed572ad77d [Permission denied]


It does not log the callers of the function.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2015-07-03 09:45:34 UTC
REVIEW: http://review.gluster.org/11521 (logging: Fixed incorrect buffer size) posted (#1) for review on master by N Balachandran (nbalacha)

Comment 2 Anand Avati 2015-07-07 04:47:41 UTC
REVIEW: http://review.gluster.org/11521 (logging: Fixed incorrect buffer size) posted (#2) for review on master by N Balachandran (nbalacha)

Comment 3 Anand Avati 2015-07-08 03:53:10 UTC
REVIEW: http://review.gluster.org/11521 (logging: Fixed incorrect buffer size) posted (#3) for review on master by N Balachandran (nbalacha)

Comment 4 Anand Avati 2015-07-10 04:23:24 UTC
REVIEW: http://review.gluster.org/11521 (logging: Fixed incorrect buffer size) posted (#4) for review on master by N Balachandran (nbalacha)

Comment 5 Anand Avati 2015-07-12 06:09:00 UTC
COMMIT: http://review.gluster.org/11521 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit 160e539e26ed1e17a0c2cad97dd28cc8cbce9d6d
Author: Nithya Balachandran <nbalacha>
Date:   Fri Jul 3 15:12:23 2015 +0530

    logging: Fixed incorrect buffer size
    
    An incorrect buffer size passed in to_gf_msg_backtrace
    prevented the callers from being logged.
    
    Change-Id: I86104d6b3f611455308d5b3420dfb6d456070a23
    BUG: 1238952
    Signed-off-by: Nithya Balachandran <nbalacha>
    Reviewed-on: http://review.gluster.org/11521
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 6 Niels de Vos 2016-06-16 13:19:04 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.8.0, please open a new bug report.

glusterfs-3.8.0 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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[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.