+++ This bug was initially created as a clone of Bug #1225424 +++ +++ This bug was initially created as a clone of Bug #1224046 +++ Description of problem: When an incorrect session name is given, it displays that the session name is invalid, or session not found. Similarly, it should give a related error message when an incorrect volume name is given. Version-Release number of selected component (if applicable): glusterfs-3.7.0-2.el6rhs.x86_64 How reproducible: Always Additional info: root@dhcp43-140 ~]# glusterfind delete usage: glusterfind delete [-h] [--debug] session volume glusterfind delete: error: too few arguments [root@dhcp43-140 ~]# glusterfind delete sess vol11 Failed to parse Volume Info: 'NoneType' object has no attribute 'findall' [root@dhcp43-140 ~]# [root@dhcp43-140 ~]# glusterfind list SESSION VOLUME SESSION TIME --------------------------------------------------------------------------- sess vol1 2015-05-19 15:30:19 [root@dhcp43-140 ~]# Expected: Glusterfind session 'sess' with 'vol11' not found --- Additional comment from Anand Avati on 2015-05-27 09:28:31 EDT --- REVIEW: http://review.gluster.org/10945 (glusterfind: asserting volume presence) posted (#1) for review on master by Milind Changire (mchangir)
REVIEW: http://review.gluster.org/10989 (tools/glusterfind: verifying volume presence) posted (#1) for review on release-3.7 by Milind Changire (mchangir)
REVIEW: http://review.gluster.org/10989 (tools/glusterfind: verifying volume presence) posted (#2) for review on release-3.7 by Milind Changire (mchangir)
The required changes to fix this bug have not made it into glusterfs-3.7.1. This bug is now getting tracked for glusterfs-3.7.2.
REVIEW: http://review.gluster.org/10989 (tools/glusterfind: verifying volume presence) posted (#3) for review on release-3.7 by Milind Changire (mchangir)
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.2, please reopen this bug report. glusterfs-3.7.2 has been announced on the Gluster Packaging mailinglist [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://www.gluster.org/pipermail/packaging/2015-June/000006.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user