[Bugs] [Bug 1209408] [Snapshot] Scheduler should accept only valid crond schedules

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 9 06:46:40 UTC 2015


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

senaik at redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |senaik at redhat.com



--- Comment #1 from senaik at redhat.com ---
Version:
========
gluster --version
glusterfs 3.7dev built on Apr  9 2015 01:10:22

Currently while adding jobs, when schedule is not provided, it successfully
adds it and the job can be listed. 

[root at inception ~]# snap_scheduler.py add "J2" " " "vol0"
snap_scheduler: Successfully added snapshot schedule


[root at inception ~]# snap_scheduler.py list
JOB_NAME         SCHEDULE         OPERATION        VOLUME NAME      
--------------------------------------------------------------------
J1               */30 * * * *     Snapshot Create  vol0             
J2                                Snapshot Create  vol0   

It should error out with message : 
snap_scheduler: Invalid Schedule. Schedule should not be empty and should not
contain " " character.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=frn94eE6SM&a=cc_unsubscribe


More information about the Bugs mailing list