when detach tier is in progress, detach tier commit must not be allowed. This was working well previously. This means it is a regression, Could be due to fix for bz#1259694 glusterfs-server-3.7.4-0.33.git1d02d4b.el7.centos.x86_64 Steps to Reproduce: ==================== 1.create a volume, start it and attac tier to vol and create lot of data on hot tier 2.now issue a detach-tier <vname> start 3. While it is in progress,issue a detach-tier <vname> commit
this wasfound during automation of qe scripts
have done a RCA on this and will begin working on a fix.
submitted fix 12272
REVIEW: http://review.gluster.org/12272 (cluster/tier: migration daemon incorrectly signals detach tier done) posted (#3) for review on release-3.7 by Dan Lambright (dlambrig)
REVIEW: http://review.gluster.org/12272 (cluster/tier: Disallow detach commit when detach in progress) posted (#4) for review on release-3.7 by Dan Lambright (dlambrig)
COMMIT: http://review.gluster.org/12272 committed in release-3.7 by Dan Lambright (dlambrig) ------ commit 3a13092cb001b1a998268a2cdb0056615ece1d54 Author: Dan Lambright <dlambrig> Date: Thu Oct 1 11:05:25 2015 -0400 cluster/tier: Disallow detach commit when detach in progress 1. Check if detach is running, disallow detach commit if so. 2. Cleanup shutdown of tier daemon on detach: do not rerun fix-layout, do not send incorrect status back to glusterd. Change-Id: I97202f748773c1176396a4ffd32a4c7fa9b9c1bc BUG: 1264441 Signed-off-by: Dan Lambright <dlambrig> Reviewed-on: http://review.gluster.org/12272 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Joseph Fernandes
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