cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angeline shen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-2499) KVM 6.3 snapshot - create template from snapshot Fail with Null pointer exception
Date Thu, 16 May 2013 01:47:17 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

angeline shen updated CLOUDSTACK-2499:
--------------------------------------

    Description: 
1. advance zone,  KVM.snapshot.enabled is set to FALSE.   create instances
2. Create a Snapshot of a ROOT Volume of a Linux VM.
3. Create a Template from the Snapshot 

Result:

2013-05-14 19:03:34,211 DEBUG [cloud.template.TemplateManagerImpl] (Job-Executor-43:job-34)
Failed to create templatejava.lang.NullPointerException
2013-05-14 19:03:34,217 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-43:job-34) Unexpected
exception while executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to create templatejava.lang.NullPointerException
        at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1763)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:258)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-05-14 19:03:34,221 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-43:job-34) Complete
async job-34, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to
create templatejava.lang.NullPointerException




  was:
1. advance zone, create instances
2. Create a Snapshot of a ROOT Volume of a Linux VM.
3. Create a Template from the Snapshot 

Result:

2013-05-14 19:03:34,211 DEBUG [cloud.template.TemplateManagerImpl] (Job-Executor-43:job-34)
Failed to create templatejava.lang.NullPointerException
2013-05-14 19:03:34,217 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-43:job-34) Unexpected
exception while executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to create templatejava.lang.NullPointerException
        at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1763)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:258)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-05-14 19:03:34,221 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-43:job-34) Complete
async job-34, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to
create templatejava.lang.NullPointerException




    
> KVM 6.3 snapshot - create template from snapshot Fail with Null pointer exception
> ---------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2499
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2499
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: MS  ASF 2.0   KVM 6.3 snapshot
> host ASF 2.0  
>            Reporter: angeline shen
>            Assignee: Fang Wang
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: management-server.log.gz, Screenshot-CloudPlatform - Mozilla Firefox.png
>
>
> 1. advance zone,  KVM.snapshot.enabled is set to FALSE.   create instances
> 2. Create a Snapshot of a ROOT Volume of a Linux VM.
> 3. Create a Template from the Snapshot 
> Result:
> 2013-05-14 19:03:34,211 DEBUG [cloud.template.TemplateManagerImpl] (Job-Executor-43:job-34)
Failed to create templatejava.lang.NullPointerException
> 2013-05-14 19:03:34,217 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-43:job-34)
Unexpected exception while executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to create templatejava.lang.NullPointerException
>         at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1763)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:258)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-05-14 19:03:34,221 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-43:job-34)
Complete async job-34, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Failed to create templatejava.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