Bug 1335792

Summary: [Tiering]: Detach tier commit is allowed before rebalance is complete
Product: [Community] GlusterFS Reporter: Dan Lambright <dlambrig>
Component: tieringAssignee: Dan Lambright <dlambrig>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.11CC: bugs, dlambrig, kramdoss, nchilaka
Target Milestone: ---Keywords: Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1335082 Environment:
Last Closed: 2016-06-28 12:00:13 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: 1335082    
Bug Blocks: 1335558    

Comment 1 Vijay Bellur 2016-05-13 09:12:25 UTC
REVIEW: http://review.gluster.org/14327 (cluster/tier: return -1 to cli on detach commit when detach unfinished) posted (#2) for review on release-3.7 by Dan Lambright (dlambrig)

Comment 2 Vijay Bellur 2016-05-13 18:01:34 UTC
COMMIT: http://review.gluster.org/14327 committed in release-3.7 by Dan Lambright (dlambrig) 
------
commit 93dd9a34e9cad915ba0f99ac1cc383fc4ec129ff
Author: Dan Lambright <dlambrig>
Date:   Wed May 11 13:51:57 2016 -0400

    cluster/tier: return -1 to cli on detach commit when detach unfinished
    
    If we try to commit a detach tier before it is finished, we should
    flag an error. This patch adds a return value -1 for this case to
    be propagated back to the CLI.
    
    Change-Id: I619dbe662b2fd06ebdd97702b2d223560017db51
    BUG: 1335792
    Signed-off-by: Dan Lambright <dlambrig>
    Reviewed-on: http://review.gluster.org/14327
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: Atin Mukherjee <amukherj>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>

Comment 3 Kaushal 2016-06-28 12:17:59 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