Bug 1197253 - NFS logs are filled with system.posix_acl_access messages
Summary: NFS logs are filled with system.posix_acl_access messages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1196057 1197598 1214211 1224126
TreeView+ depends on / blocked
 
Reported: 2015-02-27 22:57 UTC by Niels de Vos
Modified: 2015-05-22 08:54 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.7.0beta1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1196057
: 1197598 (view as bug list)
Environment:
Last Closed: 2015-05-14 17:26:31 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Niels de Vos 2015-02-27 22:57:21 UTC
+++ This bug was initially created as a clone of Bug #1196057 +++

Description of problem:
======================

NFS logs are getting filled with below messages :

[2015-02-25 06:21:12.993029] I [dict.c:371:dict_get] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/debug/io-stats.so(io_stats_getxattr_cbk+0xf6) [0x7ff08c07ea86] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/nfs/server.so(nfs_fop_getxattr_cbk+0x2f) [0x7ff087dba91f] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/nfs/server.so(acl3_getacl_cbk+0x8d) [0x7ff087de4e5d]))) 0-dict: !this || key=system.posix_acl_access
[2015-02-25 06:21:12.995279] I [dict.c:371:dict_get] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/debug/io-stats.so(io_stats_getxattr_cbk+0xf6) [0x7ff08c07ea86] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/nfs/server.so(nfs_fop_getxattr_cbk+0x2f) [0x7ff087dba91f] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/nfs/server.so(acl3_getacl_cbk+0x8d) [0x7ff087de4e5d]))) 0-dict: !this || key=system.posix_acl_access
[2015-02-25 06:21:12.997439] I [dict.c:371:dict_get] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/debug/io-stats.so(io_stats_getxattr_cbk+0xf6) [0x7ff08c07ea86] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/nfs/server.so(nfs_fop_getxattr_cbk+0x2f) [0x7ff087dba91f] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/nfs/server.so(acl3_getacl_cbk+0x8d) [0x7ff087de4e5d]))) 0-dict: !this || key=system.posix_acl_access
[2015-02-25 06:22:30.395445] I [dict.c:371:dict_get] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/debug/io-stats.so(io_stats_getxattr_cbk+0xf6) [0x7ff08c07ea86] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/nfs/server.so(nfs_fop_getxattr_cbk+0x2f) [0x7ff087dba91f] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/nfs/server.so(acl3_getacl_cbk+0x8d) [0x7ff087de4e5d]))) 0-dict: !this || key=system.posix_acl_access
[2015-02-25 06:22:30.405158] I [dict.c:371:dict_get] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/debug/io-stats.so(io_stats_getxattr_cbk+0xf6) [0x7ff08c07ea86] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/nfs/server.so(nfs_fop_getxattr_cbk+0x2f) [0x7ff087dba91f] (-->/usr/lib64/glusterfs/3.6.0.46/xlator/nfs/server.so(acl3_getacl_cbk+0x8d) [0x7ff087de4e5d]))) 0-dict: !this || key=system.posix_acl_access


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

current mainline

How reproducible:
=================
100%


Steps to Reproduce:
1. Mount NFS volume and run IO.

Comment 1 Anand Avati 2015-02-27 23:01:17 UTC
REVIEW: http://review.gluster.org/9773 (nfs: prevent logging missing 'system.posix_acl_*' xattrs) posted (#1) for review on master by Niels de Vos (ndevos)

Comment 2 Anand Avati 2015-03-02 07:49:49 UTC
COMMIT: http://review.gluster.org/9773 committed in master by Niels de Vos (ndevos) 
------
commit 4f143bfe4eabc34c5682a3b0421092e5e22ee507
Author: Niels de Vos <ndevos>
Date:   Fri Feb 27 23:47:26 2015 +0100

    nfs: prevent logging missing 'system.posix_acl_*' xattrs
    
    The nfs.log gets spammed with messages that the system.posix_acl_access
    and system.posix_acl_default xattrs are not set. The logging happens
    because the dictionary that contains the xattrs is empty/NULL in case
    the getxattr() did not return any contents for the ACLs.
    
    Change-Id: Id31e30635146599915c6d8674a2dde065f348adc
    BUG: 1197253
    Signed-off-by: Niels de Vos <ndevos>
    Reviewed-on: http://review.gluster.org/9773
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Meghana M <mmadhusu>

Comment 3 Anand Avati 2015-03-02 08:56:37 UTC
REVIEW: http://review.gluster.org/9781 (nfs: prevent logging missing 'system.posix_acl_access' xattrs) posted (#1) for review on master by Niels de Vos (ndevos)

Comment 4 Anand Avati 2015-03-09 04:31:40 UTC
COMMIT: http://review.gluster.org/9781 committed in master by Niels de Vos (ndevos) 
------
commit f7f446f0a5bc37ba1096604618ab9850341959ef
Author: Niels de Vos <ndevos>
Date:   Fri Feb 27 23:47:26 2015 +0100

    nfs: prevent logging missing 'system.posix_acl_access' xattrs
    
    Change http://review.gluster.org/9773 addresses the majority of the
    logging, but it seems it is still possible to trigger the excessive
    logging by requesting the ACL on files directly. Lets squash those too.
    
    BUG: 1197253
    Change-Id: I9e90ddd45f1a39641478f34c69c64dfe1c11c727
    Signed-off-by: Niels de Vos <ndevos>
    Reviewed-on: http://review.gluster.org/9781
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Meghana M <mmadhusu>

Comment 5 Anand Avati 2015-03-09 04:55:06 UTC
REVIEW: http://review.gluster.org/9828 (nfs: prevent logging missing 'system.posix_acl_access' xattrs) posted (#1) for review on release-3.6 by Meghana M (mmadhusu)

Comment 6 Niels de Vos 2015-05-14 17:26:31 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 7 Niels de Vos 2015-05-14 17:28:25 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 8 Niels de Vos 2015-05-14 17:35:16 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[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.