You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Milamber (JIRA)" <ji...@apache.org> on 2013/06/18 13:46:23 UTC

[jira] [Commented] (CLOUDSTACK-2523) Object_Store_Refactor - Recurring Snapshots are failing because of NullPointerException.

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

Milamber commented on CLOUDSTACK-2523:
--------------------------------------

Hello Min,

On my CloudStack 4.1 platform (CentOS 6.4 + KVM), I've this (closed) bug:

(this bug) CLOUDSTACK-2523 Object_Store_Refactor - Recurring Snapshots are failing becuase of NullPointerException.
CLOUDSTACK-1353 KVM 6.3 snapshot Scheduling snapshot failed due to java.lang.NullPointerException


Log message:
2013-06-18 09:54:15,311 WARN  [storage.snapshot.SnapshotSchedulerImpl] (SnapshotPollTask:null) Scheduling snapshot failed due to java.lang.NullPointerException


The commit done in CLOUDSTACK-2523 fix the issue on a git checkout 4.1.0 tag + cherry-pick the commit.

I've test the build and reinstall on my test platform, the sheduling snapshot works fine now.

Thus, I will apply this commit on 4.1 branch (for next 4.1.1 release)

                
> Object_Store_Refactor - Recurring Snapshots are failing because of NullPointerException.
> ----------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2523
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2523
>             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: Build from object_store
>            Reporter: Sangeetha Hariharan
>            Assignee: Min Chen
>            Priority: Blocker
>             Fix For: 4.1.1, 4.2.0
>
>
> Steps to reproduce the problem:
> 1.Deploy a VM using the Default CentOS Template
> 2.Create an Hourly Recurring /Daily 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 Null Pointer Exception:
> Management server logs:
> 2013-05-15 13:23:30,315 DEBUG [storage.snapshot.SnapshotSchedulerImpl] (SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2013-05-15 20:23:30 GMT
> 2013-05-15 13:23:30,316 DEBUG [storage.snapshot.SnapshotSchedulerImpl] (SnapshotPollTask:null) Got 2 snapshots to be executed at 2013-05-15 20:23:30 GMT
> 2013-05-15 13:23:30,318 DEBUG [storage.snapshot.SnapshotSchedulerImpl] (SnapshotPollTask:null) Scheduling 1 snapshot for volume 3 for schedule id: 2 at 2013-05-15
>  20:13:00 GMT
> 2013-05-15 13:23:30,319 DEBUG [cloud.network.ExternalLoadBalancerUsageManagerImpl] (ExternalNetworkMonitor-1:null) Network 204 is not configured for external netw
> orking, so skipping usage check.
> 2013-05-15 13:23:30,335 WARN  [storage.snapshot.SnapshotSchedulerImpl] (SnapshotPollTask:null) Scheduling snapshot failed due to java.lang.NullPointerException
> 2013-05-15 13:23:30,338 DEBUG [storage.snapshot.SnapshotSchedulerImpl] (SnapshotPollTask:null) Scheduling 1 snapshot for volume 6 for schedule id: 3 at 2013-05-15
>  20:15:00 GMT
> 2013-05-15 13:23:30,350 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