You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "satoru nakaya (JIRA)" <ji...@apache.org> on 2013/06/08 01:30:20 UTC

[jira] [Created] (CLOUDSTACK-2905) Recurring Snapshots are failing becuase of NullPointerException.

satoru nakaya created CLOUDSTACK-2905:
-----------------------------------------

             Summary: 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
         Environment: cloudstack-management-4.1.0-0.el6.x86_64
            Reporter: satoru nakaya


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