Bug 1213720 - [RFE - Snapshot] Snapshot cli operations should not impact scheduled jobs
Summary: [RFE - Snapshot] Snapshot cli operations should not impact scheduled jobs
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: snapshot
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-21 07:04 UTC by Anil Shah
Modified: 2018-10-16 05:13 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-16 05:13:11 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Anil Shah 2015-04-21 07:04:27 UTC
Description of problem:

when snapshot is scheduled at some point in time, perform any snapshot operation from cli like snapshot delete, scheduled job is skipped at that point in time.  

Version-Release number of selected component (if applicable):

[root@localhost core]# rpm -qa | grep glusterfs
glusterfs-api-3.8dev-0.12.gitaa87c31.el6.x86_64
glusterfs-geo-replication-3.8dev-0.12.gitaa87c31.el6.x86_64
samba-glusterfs-3.6.509-169.4.el6rhs.x86_64
glusterfs-cli-3.8dev-0.12.gitaa87c31.el6.x86_64
glusterfs-fuse-3.8dev-0.12.gitaa87c31.el6.x86_64
glusterfs-server-3.8dev-0.12.gitaa87c31.el6.x86_64
glusterfs-rdma-3.8dev-0.12.gitaa87c31.el6.x86_64
glusterfs-debuginfo-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-libs-3.8dev-0.12.gitaa87c31.el6.x86_64
glusterfs-3.8dev-0.12.gitaa87c31.el6.x86_64


How reproducible:

100%

Steps to Reproduce:

1. Create 6*2 distributed replicate volume
2. create shared storage and mount on each storage node on path /var/run/gluster/shared_storage 
3. initialize scheduler on each storage node e.g run snap_scheduler.py init  command 
4. Enable scheduler on storage nodes e.g run snap_scheduler.py enable 
5. Add jobs on three different volume, with interval of 1 min. e.g 

JOB_NAME          SCHEDULE          OPERATION         VOLUME NAME       
------------------------------------------------------------------------
job1               */15 * * * *     Snapshot Create   vol0              
job2               */16 * * * *     Snapshot Create   vol1              
job3               */17 * * * *     Snapshot Create   meta              
 
6. when create snapshot operation is in progress, start deleting existing snapshots  from cli


Actual results:

One of the scheduled jobs is skipped

Expected results:

Scheduled snaps jobs should not get skip coz of any snapshot cli operation

Additional info:

Comment 1 Mohammed Rafi KC 2018-10-16 05:13:11 UTC
This will be addressed in glusterd2, and can be tracked the progress using the issue https://github.com/gluster/glusterd2/issues/1098 .


Note You need to log in before you can comment on or make changes to this bug.