If its not available then set “job.cancel.threshold.minutes" to value greater 
than “backup.snapshot.wait”. Make sure you are setting them up properly as per 
your environment. This will effect all the jobs.

Regards,
Anshul

On 05-Feb-2016, at 3:32 PM, Andrei Mikhailovsky 
<and...@arhont.com<mailto:and...@arhont.com>> wrote:

Hi Anshul,

Had a look in ACS GUI and I can't find the 
'volume.snapshot.job.cancel.threshold' option. Has it been introduced in ACS 
4.7 or 4.8 versions? I am running 4.6.2 at the moment.

Thanks

--
Andrei Mikhailovsky
Director
Arhont Information Security

Web: http://www.arhont.com<http://www.arhont.com/>
http://www.wi-foo.com<http://www.wi-foo.com/>
Tel: +44 (0)870 4431337
Fax: +44 (0)208 429 3111
PGP: Key ID - 0x2B3438DE
PGP: Server - keyserver.pgp.com<http://keyserver.pgp.com/>

DISCLAIMER

The information contained in this email is intended only for the use of the 
person(s) to whom it is addressed and may be confidential or contain legally 
privileged information. If you are not the intended recipient you are hereby 
notified that any perusal, use, distribution, copying or disclosure is strictly 
prohibited. If you have received this email in error please immediately advise 
us by return email at and...@arhont.com<mailto:and...@arhont.com> and delete 
and purge the email and any attachments without making a copy.

----- Original Message -----
From: "Anshul Gangwar" 
<anshul.gang...@citrix.com<mailto:anshul.gang...@citrix.com>>
To: "dev" <dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>
Sent: Friday, 5 February, 2016 09:40:49
Subject: Re: Pesky volume snapshot schedule

Try setting "volume.snapshot.job.cancel.threshold" value greater than
"backup.snapshot.wait" value. This will make sure that backup snapshot is
cancelled before job cancellation. This in turn will take care of cleanup of
old snapshots.

Regards,
Anshul

On 05-Feb-2016, at 2:53 PM, Andrei Mikhailovsky
<and...@arhont.com<mailto:and...@arhont.com><mailto:and...@arhont.com>> wrote:

Hello,

I was hoping someone could help me investigate and fix the issue that I am
having with one of the volume snapshots schedules. I am running ACS version
4.6.2 on Ubuntu 14.04 with latest updates, etc.

I've got a 200 gig vm root disk image which I am snapshotting on a daily basis.
I've created the schedule to take a snapshot at 9:30pm every day and keeping 8
snapshots. The schedule is executing and the image is being snapshotted and
placed on the nfs secondary storage. However, ACS does not remove the old
snapshots at all and I am ending up with dozens and dozens of snapshots of this
particular volume. I have to manually remove them to keep the secondary storage
from filling up. The problem is with this particular volume. I've got several
other daily snapshots schedules which are working perfectly well and their
clean up works well as well.

I've compared db values for this particular volume with other volumes and I
can't find any difference apart from the disk size. The db values for the
schedule are also correct and look similar to a properly working schedule
(apart from the start time). I've also tried to remove the schedule and create
a new one at no avail.

Could someone help me fix the issue?

Many thanks

Andrei

Reply via email to