Bug 1333934 - Detach tier fire before the background fixlayout is complete may result in failure
Summary: Detach tier fire before the background fixlayout is complete may result in fa...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: 3.7.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: sankarshan
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On: 1332136
Blocks: 1333803 1333804
TreeView+ depends on / blocked
 
Reported: 2016-05-06 17:31 UTC by Joseph Elwin Fernandes
Modified: 2016-06-28 12:16 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.7.12
Doc Type: Bug Fix
Doc Text:
Clone Of: 1332136
Environment:
Last Closed: 2016-06-28 12:16:49 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Joseph Elwin Fernandes 2016-05-06 17:31:03 UTC
+++ This bug was initially created as a clone of Bug #1332136 +++

Description of problem:


Detach tier fire before the background fixlayout is complete may result in failure, as the removal of the xattr may fail.

Fix is During detach check if background fixlayout is done, if not done ignore
the case and continue detach.

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-02 07:00:46 EDT ---

REVIEW: http://review.gluster.org/14147 (tier/detach : During detach check if background fixlayout is done) posted (#2) for review on master by Joseph Fernandes

--- Additional comment from Vijay Bellur on 2016-05-02 07:42:58 EDT ---

REVIEW: http://review.gluster.org/14147 (tier/detach : During detach check if background fixlayout is done) posted (#3) for review on master by Joseph Fernandes

--- Additional comment from Vijay Bellur on 2016-05-04 10:07:44 EDT ---

REVIEW: http://review.gluster.org/14147 (tier/detach : During detach check if background fixlayout is done) posted (#4) for review on master by Joseph Fernandes

--- Additional comment from Vijay Bellur on 2016-05-06 08:46:58 EDT ---

COMMIT: http://review.gluster.org/14147 committed in master by Dan Lambright (dlambrig) 
------
commit abd27041ebcb3c6ee897ad253fc248e3bb1823e6
Author: Joseph Fernandes <josferna>
Date:   Mon May 2 16:20:30 2016 +0530

    tier/detach : During detach check if background fixlayout is done
    
    During detach check if background fixlayout is done, if not done ignore
    the case and continue detach.
    
    Change-Id: I5d5cfc0e73d0eb217fdeab54c432dc4af8bc598d
    BUG: 1332136
    Signed-off-by: Joseph Fernandes <josferna>
    Reviewed-on: http://review.gluster.org/14147
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: N Balachandran <nbalacha>
    Reviewed-by: Dan Lambright <dlambrig>

Comment 1 Vijay Bellur 2016-05-06 17:33:36 UTC
REVIEW: http://review.gluster.org/14246 (tier/detach : During detach check if background fixlayout is done) posted (#1) for review on release-3.7 by Joseph Fernandes

Comment 2 Vijay Bellur 2016-05-14 10:23:34 UTC
COMMIT: http://review.gluster.org/14246 committed in release-3.7 by Dan Lambright (dlambrig) 
------
commit d8a673effa83c1c03082ec13045175b92313f221
Author: Joseph Fernandes <josferna>
Date:   Mon May 2 16:20:30 2016 +0530

    tier/detach : During detach check if background fixlayout is done
    
    During detach check if background fixlayout is done, if not done ignore
    the case and continue detach.
    
    Backport of http://review.gluster.org/14147
    
    > Change-Id: I5d5cfc0e73d0eb217fdeab54c432dc4af8bc598d
    > BUG: 1332136
    > Signed-off-by: Joseph Fernandes <josferna>
    > Reviewed-on: http://review.gluster.org/14147
    > Smoke: Gluster Build System <jenkins.com>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > CentOS-regression: Gluster Build System <jenkins.com>
    > Reviewed-by: N Balachandran <nbalacha>
    > Reviewed-by: Dan Lambright <dlambrig>
    >Signed-off-by: Joseph Fernandes <josferna>
    
    Change-Id: I2161673cf6861b02a8e323366a13a13587258bef
    BUG: 1333934
    Signed-off-by: Joseph Fernandes <josferna>
    Reviewed-on: http://review.gluster.org/14246
    Smoke: Gluster Build System <jenkins.com>
    Tested-by: Joseph Fernandes
    CentOS-regression: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: N Balachandran <nbalacha>
    Reviewed-by: Dan Lambright <dlambrig>

Comment 5 Kaushal 2016-06-28 12:16:49 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.