[
https://issues.apache.org/jira/browse/CLOUDSTACK-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686842#comment-13686842
]
Rajesh Battala commented on CLOUDSTACK-2905:
--------------------------------------------
this is cherry-picked into 4.1
ASF subversion and git services added a comment - 18/Jun/13 12:46
Commit 68f51a3db90ff6ddea3bb6f2106bd4f49b2f0393 in branch refs/heads/4.1 from
[~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=68f51a3 ]
CLOUDSTACK-2523: Recurring snapshot failed with NPE.
> Recurring Snapshots are failing becuase of NullPointerException.
> ----------------------------------------------------------------
>
> Key: CLOUDSTACK-2905
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2905
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.1.0, 4.2.0
> Environment: cloudstack-management-4.1.0-0.el6.x86_64
> Reporter: satoru nakaya
> Assignee: Rajesh Battala
> Priority: Blocker
> Fix For: 4.1.1, 4.2.0
>
>
> Create an Hourly Recurring snapshot policy on the ROOT disk.
> Snapshot policy gets created successfully.
> But when it is time to create a snapshot, snapshot scheduler thread
> encounters a NullPointer Exception:
> Management server logs:
> # tail -f management-server.log | grep SnapshotSchedulerImpl
> 2013-06-08 08:06:11,393 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2013-06-07
> 23:06:11 GMT
> 2013-06-08 08:06:11,395 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-06-07 23:06:11
> GMT
> 2013-06-08 08:08:39,459 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (catalina-exec-4:null) Current time is 2013-06-07 23:06:11 GMT.
> NextScheduledTime of policyId 1 is 2013-06-07 23:10:00 GMT
> 2013-06-08 08:11:11,393 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2013-06-07
> 23:11:11 GMT
> 2013-06-08 08:11:11,397 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Got 1 snapshots to be executed at 2013-06-07 23:11:11
> GMT
> 2013-06-08 08:11:11,400 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Scheduling 1 snapshot for volume 3 for schedule id: 1
> at 2013-06-07 23:10:00 GMT
> 2013-06-08 08:11:11,453 WARN [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Scheduling snapshot failed due to
> java.lang.NullPointerException
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira