Description of problem: ====================== When a user wants to see detach-tier command help, instead of showing the usage or how to execute, the command seems to be executing Eg: [root@yarrow ~]# gluster v detach-tier Volume detach-tier failed It should rather behave like how it is for a attach-tier [root@yarrow ~]# gluster v attach-tier Usage: volume attach-tier <VOLNAME> [<replica COUNT>] <NEW-BRICK>... Version-Release number of selected component (if applicable): ============================================================ [root@yarrow ~]# gluster --version glusterfs 3.7dev built on Apr 8 2015 17:57:45 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU General Public License. [root@yarrow ~]# rpm -qa|grep gluster glusterfs-cli-3.7dev-0.994.gitf522001.el6.x86_64 glusterfs-server-3.7dev-0.994.gitf522001.el6.x86_64 glusterfs-libs-3.7dev-0.994.gitf522001.el6.x86_64 glusterfs-fuse-3.7dev-0.994.gitf522001.el6.x86_64 glusterfs-3.7dev-0.994.gitf522001.el6.x86_64 glusterfs-api-3.7dev-0.994.gitf522001.el6.x86_64 How reproducible: ================= always and easily Steps to Reproduce: ================== 1.just issue a "Gluster v detach-tier" command and it will say detach-tier failed rather than showing the usage. Expected results: ================ Show the usage as below : [root@yarrow ~]#gluster v detach-tier Usage:volume detach-tier <VOLNAME> - detach tier from volume <VOLNAME>
upstream patch : http://review.gluster.org/#/c/10303/
REVIEW: http://review.gluster.org/10303 (cli/tiering : Parse detach-tier command properly) posted (#2) for review on master by mohammed rafi kc (rkavunga)
COMMIT: http://review.gluster.org/10303 committed in master by Kaleb KEITHLEY (kkeithle) ------ commit 508eb854f3f94f52d4ebd050f3e45deb9cfa90c8 Author: Mohammed Rafi KC <rkavunga> Date: Mon Apr 27 12:33:06 2015 +0530 cli/tiering : Parse detach-tier command properly gluster detach-tier help should show the usage of detach-tier command properly. Also, instead of force option, if any other was given, then the command should fail with a usage message Change-Id: Ie801529176db067c98fd1bfada056cbc647973fb BUG: 1211570 Signed-off-by: Mohammed Rafi KC <rkavunga> Reviewed-on: http://review.gluster.org/10303 Tested-by: NetBSD Build System Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Atin Mukherjee <amukherj> Reviewed-by: Dan Lambright <dlambrig>
This change should not be in "ON_QA", the patch posted for this bug is only available in the master branch and not in a release yet. Moving back to MODIFIED until there is an beta release for the next GlusterFS version.
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.
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.8.0, please open a new bug report. glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user