[Bugs] [Bug 1225548] New: [Backup]: Misleading error message when glusterfind delete is given with non-existent volume

bugzilla at redhat.com bugzilla at redhat.com
Wed May 27 16:21:17 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1225548

            Bug ID: 1225548
           Summary: [Backup]: Misleading error message when glusterfind
                    delete is given with non-existent volume
           Product: GlusterFS
           Version: 3.7.0
         Component: glusterfind
          Assignee: bugs at gluster.org
          Reporter: avishwan at redhat.com
        QA Contact: bugs at gluster.org
                CC: avishwan at redhat.com, bugs at gluster.org,
                    khiremat at redhat.com, mchangir at redhat.com,
                    sanandpa at redhat.com
        Depends On: 1225424



+++ 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 at dhcp43-140 ~]# glusterfind delete 
usage: glusterfind delete [-h] [--debug] session volume
glusterfind delete: error: too few arguments
[root at dhcp43-140 ~]# glusterfind delete sess vol11
Failed to parse Volume Info: 'NoneType' object has no attribute 'findall'
[root at dhcp43-140 ~]# 
[root at dhcp43-140 ~]# glusterfind list
SESSION                   VOLUME                    SESSION TIME             
---------------------------------------------------------------------------
sess                      vol1                      2015-05-19 15:30:19      
[root at 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 at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1225424
[Bug 1225424] [Backup]: Misleading error message when glusterfind delete is
given with non-existent volume
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list