OK. Thank you both. -----Mensaje original----- De: ryanlei750...@gmail.com [mailto:ryanlei750...@gmail.com] En nombre de Ryan Lei Enviado el: viernes, 05 de julio de 2013 9:27 Para: users@cloudstack.apache.org Asunto: Re: Re:RE: Re:RE: Re:RE: Where are the snapshots generated by schedules?
This NullPointerException bug with recurring snapshots was introduced in 4.1.0, and will be fixed in 4.1.1. https://issues.apache.org/jira/browse/CLOUDSTACK-2905 So for now, you can only git clone the source code and rebuild it. I have verified before that in git 4.1, recurring snapshots work with XenServer 6.1. ------------------------------------------------------------------------------------------- Yu-Heng (Ryan) Lei, Associate Reasearcher Chunghwa Telecom Laboratories / Cloud Computing Laboratory ryan...@cht.com.tw<https://email.cht.com.tw/owa/redir.aspx?C=-wE1FEC3G0SWYpVkiWo8SsDdf3ZqO9AIuAPTzRnFYCUi-z4YljtI_hyVKkNHfn9F1Bn-vUWJnQ4.&URL=mailto%3aryanlei%40cht.com.tw> or ryanlei750...@gmail.com On Fri, Jul 5, 2013 at 3:02 PM, Enric Muñoz <emu...@intecom.ad> wrote: > It happens to me the same using XCP 1.6. I set up recurring snapshots > but they are not created and no error appears. However, there's a > warning in the logs every 5 minutes: > > 2013-07-05 08:56:43,599 DEBUG [storage.snapshot.SnapshotSchedulerImpl] > (SnapshotPollTask:null) Snapshot scheduler.poll is being called at > 2013-07-05 06:56:43 GMT > 2013-07-05 08:56:43,601 DEBUG [storage.snapshot.SnapshotSchedulerImpl] > (SnapshotPollTask:null) Got 1 snapshots to be executed at 2013-07-05 > 06:56:43 GMT > 2013-07-05 08:56:43,604 DEBUG [storage.snapshot.SnapshotSchedulerImpl] > (SnapshotPollTask:null) Scheduling 1 snapshot for volume 20 for > schedule > id: 4 at 2013-07-02 12$ > 2013-07-05 08:56:43,613 WARN [storage.snapshot.SnapshotSchedulerImpl] > (SnapshotPollTask:null) Scheduling snapshot failed due to > java.lang.NullPointerException > > Anyone knows how this can be solved? > > Thanks > > -----Mensaje original----- > De: WXR [mailto:1485739...@qq.com] > Enviado el: martes, 02 de julio de 2013 17:38 > Para: users > Asunto: Re:RE: Re:RE: Re:RE: Where are the snapshots generated by > schedules? > > I think the schedule job is created successfully.I can see the text > like > this: > > > > > Scheduled Snapshots > > Time: 1 min past the hr > Timezone: > [UTC-12:00] GMT-12:00 Keep: 3 > > > > > ------------------ Original ------------------ > From: "Rajesh Battala"<rajesh.batt...@citrix.com>; > Date: Tue, Jul 2, 2013 11:15 PM > To: "users@cloudstack.apache.org"<users@cloudstack.apache.org>; > > Subject: RE: Re:RE: Re:RE: Where are the snapshots generated by schedules? > > > > NPE issue for recurring snapshot is fixed long back. This should not occur. > Schedule snapshots works the same way we take manually snapshots. > For schedule snapshot, CS will create the createsnapshot async job > while the schedule occurs to take the snapshot for the volume. > Is the schedule snapshot job is created successfully? > > > > -----Original Message----- > > From: WXR [mailto:1485739...@qq.com] > > Sent: Tuesday, July 2, 2013 8:34 PM > > To: users > > Subject: Re:RE: Re:RE: Where are the snapshots generated by schedules? > > > > Yes I'm using kvm,but I'm using basic network,not advanced network. > > The jira link give a solution but I don't know how to do it,I'm not > > familiar with java and git. > > What can I do to fix the bug,should I rebuild the project? > > > > > > ------------------ Original ------------------ > > From: "Geoff Higginbottom"<geoff.higginbot...@shapeblue.com>; > > Date: Tue, Jul 2, 2013 10:38 PM > > To: "users@cloudstack.apache.org"<users@cloudstack.apache.org>; > > > > Subject: RE: Re:RE: Where are the snapshots generated by schedules? > > > > > > > > Are you using KVM by any chance, there is currently a ticket logged > > in relation to Scheduled Snapshots failing on KVM. > > > > If so take a look at > > https://issues.apache.org/jira/browse/CLOUDSTACK-1353 > > and see if it mirrors your symptoms > > > > Regards > > > > Geoff Higginbottom > > > > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 > > > > geoff.higginbot...@shapeblue.com > > > > > > -----Original Message----- > > From: WXR [mailto:1485739...@qq.com] > > Sent: 02 July 2013 15:36 > > To: users > > Subject: Re:RE: Where are the snapshots generated by schedules? > > > > I'm sure I have added the schedule and I can see it at the bottom of > > the schedule box. > > > > > > > > > > ------------------ Original ------------------ > > From: "Geoff Higginbottom"<geoff.higginbot...@shapeblue.com>; > > Date: Tue, Jul 2, 2013 10:27 PM > > To: "users@cloudstack.apache.org"<users@cloudstack.apache.org>; > > > > Subject: RE: Where are the snapshots generated by schedules? > > > > > > > > When setting up the recurring snapshot, ensure that after entering > > the times etc, you click the Add Button, then the Done Button. > > Failing to click the Add button will result in no Schedule being > > created > > > > Regards > > > > Geoff Higginbottom > > > > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 > > > > geoff.higginbot...@shapeblue.com > > > > > > -----Original Message----- > > From: WXR [mailto:1485739...@qq.com] > > Sent: 02 July 2013 15:14 > > To: users > > Subject: Where are the snapshots generated by schedules? > > > > If I create a snapshot of a volume , I can see it on the snapshot list. > > But if I create a hourly schedule for a volume and wait enough > > time(longer than 1 day),I can't see any snapshot associated with the > > volume on the snapshot list.All snapshots listed are "manual". > > I don't know if the schedule doesn't work correctly,or the snapshots > > are generated by schedule but not shown on snapshot list. > > This email and any attachments to it may be confidential and are > > intended solely for the use of the individual to whom it is addressed. > > Any views or opinions expressed are solely those of the author and > > do not necessarily represent those of Shape Blue Ltd or related > > companies. If you are not the intended recipient of this email, you > > must neither take any action based upon its contents, nor copy or > > show it to anyone. Please contact the sender if you believe you have > > received this email in error. Shape Blue Ltd is a company > > incorporated in England & Wales. ShapeBlue Services India LLP is > > operated under license from Shape Blue Ltd. ShapeBlue is a registered > > trademark. > > > > . > > This email and any attachments to it may be confidential and are > > intended solely for the use of the individual to whom it is addressed. > > Any views or opinions expressed are solely those of the author and > > do not necessarily represent those of Shape Blue Ltd or related > > companies. If you are not the intended recipient of this email, you > > must neither take any action based upon its contents, nor copy or > > show it to anyone. Please contact the sender if you believe you have > > received this email in error. Shape Blue Ltd is a company > > incorporated in England & Wales. ShapeBlue Services India LLP is > > operated under license from Shape Blue Ltd. ShapeBlue is a registered > > trademark. > . >