cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Battala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2905) Recurring Snapshots are failing becuase of NullPointerException.
Date Mon, 17 Jun 2013 11:26:19 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13685463#comment-13685463
] 

Rajesh Battala commented on CLOUDSTACK-2905:
--------------------------------------------

On the latest master (0587d3a496b4c5d29a6b14774f5e7fdc42a5bb33), Am not able to hit NPE now.

Looks like recent commits related to snapshots have fixed it. 

the issue is, snapshotschedule is creating the async job when there is a schedule to create
the snapshot.
In this part there is no issues/NPE. 
Once the async job for CreateSnapshotCmd is created , while executing this command there was
NPE happening.

Recent commits related to snapshot could have fixed it. I had tried 2-3 times now to reproduce
it. 
Recurring snapshots are working fine. 

In case if its reproducible please feel free to open the bug again

                
> 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

Mime
View raw message