cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "manasaveloori (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-4043) Failed to download volume from the volume created from snapshot—NPE observed on upgraded setup.
Date Fri, 02 Aug 2013 11:57:48 GMT
manasaveloori created CLOUDSTACK-4043:
-----------------------------------------

             Summary: Failed to download volume from the volume created from snapshot—NPE
observed on upgraded setup.
                 Key: CLOUDSTACK-4043
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4043
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Storage Controller
    Affects Versions: 4.2.0
         Environment: upgraded from 3.0.6 to 4.2
            Reporter: manasaveloori
            Priority: Critical
             Fix For: 4.2.0


Steps:
1.	Have CS with 3.0.6 with xen host.
2.	Deploy a VM.
3.	Upgrade it with 4.2.
4.	Now take the snapshot of root volume of VM.Create volume from snapshot.
5.	Now extract volume from the volume created from snapshot in step4.
Observing the NPE:
2013-08-02 22:30:58,849 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-451:null) Host
10.147.40.28 OpaqueRef:8951fc1f-a667-bb97-4a48-73e8206262bb: Forgetting
2013-08-02 22:30:58,855 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-451:null) Seq
3-590283289: Response Received:
2013-08-02 22:30:58,856 DEBUG [agent.transport.Request] (DirectAgent-451:null) Seq 3-590283289:
Processing:  { Ans: , MgmtId: 7059886047285, via: 3, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"newData":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"size":21474836480,"path":"volumes/2/67/25c239c7-28a0-4609-9c14-608c891ddda7.vhd","accountId":0,"id":0}},"result":true,"wait":0}}]
}
2013-08-02 22:30:58,856 DEBUG [agent.transport.Request] (Job-Executor-33:job-108 = [ c050f4e9-3d71-4c9a-b32f-3a408a07a301
]) Seq 3-590283289: Received:  { Ans: , MgmtId: 7059886047285, via: 3, Ver: v1, Flags: 10,
{ CopyCmdAnswer } }
2013-08-02 22:30:58,903 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-33:job-108 =
[ c050f4e9-3d71-4c9a-b32f-3a408a07a301 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd
java.lang.NullPointerException
        at org.apache.cloudstack.storage.datastore.driver.CloudStackImageStoreDriverImpl.createEntityExtractUrl(CloudStackImageStoreDriverImpl.java:71)
        at org.apache.cloudstack.storage.image.store.ImageStoreImpl.createEntityExtractUrl(ImageStoreImpl.java:194)
        at com.cloud.storage.VolumeManagerImpl.extractVolume(VolumeManagerImpl.java:2798)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd.execute(ExtractVolumeCmd.java:130)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
        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-08-02 22:30:58,907 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-33:job-108 =
[ c050f4e9-3d71-4c9a-b32f-3a408a07a301 ]) Complete async job-108 = [ c050f4e9-3d71-4c9a-b32f-3a408a07a301
], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: null
2013-08-02 22:30:59,288 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-12:null)
SeqA 8-1186: Processing Seq 8-1186:  { Cmd , MgmtId: -1, via: 8, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":4,"_loadInfo":"{\n
 \"connections\": []\n}","wait":0}}] }
2013-08-02 22:30:59,298 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-12:null)
SeqA 8-1186: Sending Seq 8-1186:  { Ans: , MgmtId: 7059886047285, via: 8, Ver: v1, Flags:
100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2013-08-02 22:30:59,566 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) ===START===  10.252.192.69
-- GET  command=queryAsyncJobResult&jobId=c050f4e9-3d71-4c9a-b32f-3a408a07a301&response=json&sessionkey=5XOZ0IP46fc689%2FUUu01lm7IWC8%3D&_=1375443477458

2013-08-02 22:30:59,587 DEBUG [cloud.async.AsyncJobMana

Attaching the MS logs.



--
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