Bug 1333804

Summary: Detach tier fire before the background fixlayout is complete may result in failure
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Joseph Elwin Fernandes <josferna>
Component: tierAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED DUPLICATE QA Contact: Nag Pavan Chilakam <nchilaka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: bugs, dlambrig, kramdoss, rhs-bugs, sankarshan, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1333803 Environment:
Last Closed: 2016-05-06 13:14:41 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: 1332136, 1333803, 1333934    
Bug Blocks: 1332957    

Description Joseph Elwin Fernandes 2016-05-06 12:59:40 UTC
+++ This bug was initially created as a clone of Bug #1333803 +++

+++ 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>

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

REVIEW: http://review.gluster.org/14241 (tier/detach : During detach check if background fixlayout is done) posted (#1) for review on release-3.8 by Joseph Fernandes

Comment 1 Joseph Elwin Fernandes 2016-05-06 13:14:41 UTC

*** This bug has been marked as a duplicate of bug 1331628 ***

Comment 2 Joseph Elwin Fernandes 2016-05-06 13:17:37 UTC

*** This bug has been marked as a duplicate of bug 1332957 ***