[Bugs] [Bug 1373396] New: Misleading error messages on brick logs while creating directory (mkdir) on fuse mount

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 6 07:51:27 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1373396

            Bug ID: 1373396
           Summary: Misleading error messages on brick logs while creating
                    directory (mkdir) on fuse mount
           Product: GlusterFS
           Version: 3.7.15
         Component: locks
          Assignee: bugs at gluster.org
          Reporter: aspandey at redhat.com
                CC: aspandey at redhat.com, bugs at gluster.org,
                    pkarampu at redhat.com
        Depends On: 1231224
            Blocks: 1254942, 1361519, 1371404, 1254934



+++ This bug was initially created as a clone of Bug #1231224 +++

Description of problem:
Error messages are getting logged on brick logs while creating directories on
fuse mount for disperse volumes.

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

[root at aspandey gfsa]# gluster --version
glusterfs 3.8dev built on Jun 12 2015 18:03:10
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.


How reproducible:
100%

Steps to Reproduce:
1. Create disperse volume 1 x (4+2)
2. mount as glusterfs on a mount point /mnt
3. create a directory on mount point i.e. /mnt

See the brick logs. Following error messages are present -

[2015-06-12 12:35:14.351684] I [MSGID: 115029]
[server-handshake.c:588:server_setvolume] 0-gfs-server: accepted client from
aspandey-8997-2015/06/12-12:35:14:330840-gfs-client-0-0-0 (version: 3.8dev)
[2015-06-12 12:35:23.789708] E [posix-helpers.c:1087:posix_handle_pair]
0-gfs-posix: /brick/gluster/rep/A1/dir: key:glusterfs.inodelk-dom-count flags:
1 length:15 error:Operation not supported
[2015-06-12 12:35:23.789731] E [posix.c:1386:posix_mkdir] 0-gfs-posix: setting
xattrs on /brick/gluster/rep/A1/dir failed (Operation not supported)


Actual results:
Misleading error messages in brick logs.

Expected results:
There should not be any error message for successful fop's for example
directory creation (mkdir).

Additional info:

--- Additional comment from Ashish Pandey on 2015-06-12 08:56:04 EDT ---

http://review.gluster.org/11204

--- Additional comment from Anand Avati on 2015-06-16 01:49:09 EDT ---

REVIEW: http://review.gluster.org/11204 ( locks: Filter virtual xattrs in locks
for all the fops) posted (#2) for review on master by Ashish Pandey
(aspandey at redhat.com)

--- Additional comment from Anand Avati on 2015-06-18 06:36:15 EDT ---

REVIEW: http://review.gluster.org/11204 ( locks: Filter virtual xattrs in locks
for all the fops) posted (#3) for review on master by Ashish Pandey
(aspandey at redhat.com)

--- Additional comment from Anand Avati on 2015-06-22 02:08:23 EDT ---

REVIEW: http://review.gluster.org/11204 ( locks: Filter virtual xattrs in locks
for all the fops) posted (#4) for review on master by Ashish Pandey
(aspandey at redhat.com)

--- Additional comment from Anand Avati on 2015-08-19 04:06:12 EDT ---

REVIEW: http://review.gluster.org/11204 ( locks: Filter virtual xattrs in locks
for all the fops) posted (#5) for review on master by Ashish Pandey
(aspandey at redhat.com)

--- Additional comment from Anand Avati on 2015-08-19 05:23:40 EDT ---

REVIEW: http://review.gluster.org/11204 ( locks: Filter virtual xattrs in locks
for all the fops) posted (#6) for review on master by Ashish Pandey
(aspandey at redhat.com)

--- Additional comment from Anand Avati on 2015-08-19 05:43:38 EDT ---

REVIEW: http://review.gluster.org/11957 ( locks: Filter virtual xattrs in locks
for all the fops) posted (#1) for review on release-3.7 by Ashish Pandey
(aspandey at redhat.com)

--- Additional comment from Vijay Bellur on 2016-01-20 05:24:42 EST ---

REVIEW: http://review.gluster.org/13266 (cluster/ec: Use correct log levels)
posted (#1) for review on master by Ashish Pandey (aspandey at redhat.com)

--- Additional comment from Vijay Bellur on 2016-01-27 06:03:00 EST ---

REVIEW: http://review.gluster.org/13266 (cluster/ec: Use correct log levels)
posted (#2) for review on master by Ashish Pandey (aspandey at redhat.com)

--- Additional comment from Vijay Bellur on 2016-01-28 06:49:12 EST ---

REVIEW: http://review.gluster.org/13266 (cluster/ec: Use correct log levels)
posted (#3) for review on master by Ashish Pandey (aspandey at redhat.com)

--- Additional comment from Mike McCune on 2016-03-28 18:16:42 EDT ---

This bug was accidentally moved from POST to MODIFIED via an error in
automation, please see mmccune at redhat.com with any questions

--- Additional comment from Vijay Bellur on 2016-05-24 01:26:58 EDT ---

REVIEW: http://review.gluster.org/13266 (cluster/ec: Use correct log levels)
posted (#4) for review on master by Ashish Pandey (aspandey at redhat.com)

--- Additional comment from Vijay Bellur on 2016-05-24 08:41:18 EDT ---

COMMIT: http://review.gluster.org/13266 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit 02b2750ecc35f88c3262015b401dda962381f9da
Author: Ashish Pandey <aspandey at redhat.com>
Date:   Wed Jan 20 14:30:08 2016 +0530

    cluster/ec: Use correct log levels

    Problem :
    Misleading messages are getting logged in mount logs
    and bricks log.
    "Mismatching xdata" and "Heal failed" are getting logged

    Solution :
    Reduce the level of logs from INFO, WARNING and NOTICE
    to DEBUG level wherever applicable OR use fop_log_level
    to get proper log level.

    Change-Id: Ia824c71e75ab683d3cb8949e1966ea09c9ccce72
    BUG: 1231224
    Signed-off-by: Ashish Pandey <aspandey at redhat.com>
    Reviewed-on: http://review.gluster.org/13266
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>

--- Additional comment from Worker Ant on 2016-08-25 06:21:26 EDT ---

REVIEW: http://review.gluster.org/11204 (locks: Filter virtual xattrs in locks
for all the fops) posted (#7) for review on master by Ashish Pandey
(aspandey at redhat.com)

--- Additional comment from Worker Ant on 2016-08-26 05:13:56 EDT ---

REVIEW: http://review.gluster.org/11204 (feature/locks: Implement fops in locks
Translator) posted (#8) for review on master by Ashish Pandey
(aspandey at redhat.com)

--- Additional comment from Worker Ant on 2016-08-29 13:57:30 EDT ---

REVIEW: http://review.gluster.org/11204 (feature/locks: Implement fops in locks
Translator) posted (#9) for review on master by Pranith Kumar Karampuri
(pkarampu at redhat.com)

--- Additional comment from Worker Ant on 2016-09-01 10:07:28 EDT ---

COMMIT: http://review.gluster.org/11204 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit 68b23745602e4cc6317d6dce72ed0392d4174972
Author: Ashish Pandey <aspandey at redhat.com>
Date:   Thu Aug 25 11:49:19 2016 +0530

    feature/locks: Implement fops in locks Translator

    Implement those fop which were not present in
    locks translator.
    Also make sure to return xdata with the
    entries which were requested for these fops.

    Change-Id: I6e7f80e9eb5fba9e34c7034f6bc30557cde20927
    BUG: 1231224
    Signed-off-by: Ashish Pandey <aspandey at redhat.com>
    Reviewed-on: http://review.gluster.org/11204
    Tested-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1231224
[Bug 1231224] Misleading error messages on brick logs while creating
directory (mkdir) on fuse mount
https://bugzilla.redhat.com/show_bug.cgi?id=1254934
[Bug 1254934] Misleading error messages on brick logs while creating
directory (mkdir) on fuse mount
https://bugzilla.redhat.com/show_bug.cgi?id=1361519
[Bug 1361519] [Disperse] dd + rm + ls lead to IO hang
https://bugzilla.redhat.com/show_bug.cgi?id=1371404
[Bug 1371404] Misleading error messages on brick logs while creating
directory (mkdir) on fuse mount
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list