Bug 1279331

Summary: quota: removexattr on /d/backends/patchy/.glusterfs/79/99/799929ec-f546-4bbf-8549-801b79623262 (for trusted.glusterfs.quota.add7e3f8-833b-48ec-8a03-f7cd09925468.contri) [No such file or directory]
Product: [Community] GlusterFS Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: quotaAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.5CC: bugs, smohan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1257694 Environment:
Last Closed: 2016-04-19 07:41:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1257694    
Bug Blocks: 1257209    

Description Vijaikumar Mallikarjuna 2015-11-09 08:17:45 UTC
+++ This bug was initially created as a clone of Bug #1257694 +++

When quota is enabled, below error message seen in brick log with rmdir, unlink and rename operations

[2015-08-27 16:07:49.347682] E [MSGID: 113001] [posix.c:4666:posix_removexattr] 0-patchy-posix: removexattr on /d/backends/patchy/.glusterfs/15/f2/15f21cb3-ef79-4e40-81b3-2a36a9ff1240 (for trusted.glusterfs.quota.934efbbf-20c0-4d6f-afcb-dba832cfa1f0.contri) [No such file or directory]

--- Additional comment from Anand Avati on 2015-08-27 13:04:42 EDT ---

REVIEW: http://review.gluster.org/12033 (marker: do remove xattr only for last link) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika)

--- Additional comment from Anand Avati on 2015-08-30 23:38:19 EDT ---

REVIEW: http://review.gluster.org/12033 (marker: do remove xattr only for last link) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika)

--- Additional comment from Vijay Bellur on 2015-11-02 05:30:28 EST ---

REVIEW: http://review.gluster.org/12033 (marker: do remove xattr only for last link) posted (#4) for review on master by Vijaikumar Mallikarjuna (vmallika)

--- Additional comment from Vijay Bellur on 2015-11-02 22:15:03 EST ---

REVIEW: http://review.gluster.org/12033 (marker: do remove xattr only for last link) posted (#5) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 1 Vijaikumar Mallikarjuna 2015-11-09 08:18:47 UTC
Patch submitted: http://review.gluster.org/12549

Comment 2 Vijay Bellur 2015-11-17 10:13:41 UTC
REVIEW: http://review.gluster.org/12596 (marker : handle variable `ret` properly in marker_unlink_cbk) posted (#1) for review on release-3.7 by jiffin tony Thottan (jthottan)

Comment 3 Vijay Bellur 2016-02-02 04:59:19 UTC
REVIEW: http://review.gluster.org/12596 (marker : handle variable `ret` properly in marker_unlink_cbk) posted (#2) for review on release-3.7 by jiffin tony Thottan (jthottan)

Comment 4 Vijay Bellur 2016-02-03 05:20:14 UTC
COMMIT: http://review.gluster.org/12596 committed in release-3.7 by Raghavendra G (rgowdapp) 
------
commit 8d4c9532086222bfbb7a6d48f9f9c01e58b4dcf3
Author: jiffin tony thottan <jthottan>
Date:   Mon Nov 16 15:51:01 2015 +0530

    marker : handle variable `ret` properly in marker_unlink_cbk
    
    Backport of http://review.gluster.org/#/c/12584/
    
    While compiling new source, the following issue got hit :
    marker.c: In function 'marker_unlink_cbk':
    marker.c:994:29: warning: variable 'ret' set but not used
             int32_t             ret     = 0;
    This patch will fix the same.
    
    Upstream reference :
    cherry picked from commit eada31c88f929768df5fa337137b2ffcd57f2e73
    >Change-Id: I0de60bed3351b3aa1cc80f52d178e447826210e7
    >BUG: 1257694
    >Signed-off-by: Jiffin Tony Thottan <jthottan>
    >Reviewed-on: http://review.gluster.org/12584
    >Reviewed-by: Vijaikumar Mallikarjuna <vmallika>
    >Tested-by: NetBSD Build System <jenkins.org>
    >Tested-by: Gluster Build System <jenkins.com>
    >Reviewed-by: Raghavendra G <rgowdapp>
    
    Change-Id: Ia8f87131e90599cad018cd31269de68049a2ade9
    BUG: 1279331
    Signed-off-by: Jiffin Tony Thottan <jthottan>
    Reviewed-on: http://review.gluster.org/12596
    Reviewed-by: Manikandan Selvaganesh <mselvaga>
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 5 Kaushal 2016-04-19 07:41:21 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.8, please open a new bug report.

glusterfs-3.7.8 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-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 6 Kaushal 2016-04-19 07:47:50 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.7, please open a new bug report.

glusterfs-3.7.7 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-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user