Bug 1332136

Summary: Detach tier fire before the background fixlayout is complete may result in failure
Product: [Community] GlusterFS Reporter: Joseph Elwin Fernandes <josferna>
Component: tieringAssignee: sankarshan <sankarshan>
Status: CLOSED CURRENTRELEASE QA Contact: krishnaram Karthick <kramdoss>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, dlambrig, sankarshan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.9.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1333803 1333934 (view as bug list) Environment:
Last Closed: 2017-03-27 18:13:07 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:    
Bug Blocks: 1332957, 1333803, 1333804, 1333934    

Description Joseph Elwin Fernandes 2016-05-02 11:00:04 UTC
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:

Comment 1 Vijay Bellur 2016-05-02 11:00:46 UTC
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

Comment 2 Vijay Bellur 2016-05-02 11:42:58 UTC
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

Comment 3 Vijay Bellur 2016-05-04 14:07:44 UTC
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

Comment 4 Vijay Bellur 2016-05-06 12:46:58 UTC
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 7 Shyamsundar 2017-03-27 18:13:07 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.9.0, please open a new bug report.

glusterfs-3.9.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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/