[Bugs] [Bug 1225424] 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 10:45:35 UTC 2015


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

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



+++ 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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list