Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 236471003B for ; Wed, 7 Aug 2013 18:46:04 +0000 (UTC) Received: (qmail 46694 invoked by uid 500); 7 Aug 2013 18:46:04 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 46680 invoked by uid 500); 7 Aug 2013 18:46:04 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 46666 invoked by uid 500); 7 Aug 2013 18:46:03 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 46663 invoked by uid 99); 7 Aug 2013 18:46:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 18:46:03 +0000 Date: Wed, 7 Aug 2013 18:46:03 +0000 (UTC) From: "Animesh Chaturvedi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Updated]_(CLOUDSTACK-4043)_?= =?utf-8?Q?[Upgrade]_Failed_to_download_volume?= =?utf-8?Q?_from_the_volume_created_from_snaps?= =?utf-8?Q?hot=E2=80=94NPE_observed_on_upgraded_setup.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4043?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Animesh Chaturvedi updated CLOUDSTACK-4043: ------------------------------------------- These blockers and critical issues are resolved but not verified. Reporters= of these issues please verify the fixes and help close these issues =20 > [Upgrade] Failed to download volume from the volume created from snapshot= =E2=80=94NPE observed on upgraded setup. > -------------------------------------------------------------------------= -------------------------------- > > Key: CLOUDSTACK-4043 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-404= 3 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Storage Controller > Affects Versions: 4.2.0 > Environment: upgraded from 3.0.6 to 4.2 > Reporter: manasaveloori > Assignee: Nitin Mehta > Priority: Critical > Fix For: 4.2.0 > > Attachments: management-server.zip > > > Steps: > 1.=09Have CS with 3.0.6 with xen host. > 2.=09Deploy a VM. > 3.=09Upgrade it with 4.2. > 4.=09Now take the snapshot of root volume of VM.Create volume from snapsh= ot. > 5.=09Now extract volume from the volume created from snapshot in step4. > Observing the NPE: > 2013-08-02 22:30:58,849 DEBUG [xen.resource.CitrixResourceBase] (DirectAg= ent-451:null) Host 10.147.40.28 OpaqueRef:8951fc1f-a667-bb97-4a48-73e820626= 2bb: Forgetting > 2013-08-02 22:30:58,855 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-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":214= 74836480,"path":"volumes/2/67/25c239c7-28a0-4609-9c14-608c891ddda7.vhd","ac= countId":0,"id":0}},"result":true,"wait":0}}] } > 2013-08-02 22:30:58,856 DEBUG [agent.transport.Request] (Job-Executor-33:= job-108 =3D [ c050f4e9-3d71-4c9a-b32f-3a408a07a301 ]) Seq 3-590283289: Rece= ived: { Ans: , MgmtId: 7059886047285, via: 3, Ver: v1, Flags: 10, { CopyCm= dAnswer } } > 2013-08-02 22:30:58,903 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-33:job-108 =3D [ c050f4e9-3d71-4c9a-b32f-3a408a07a301 ]) Unexpected ex= ception while executing org.apache.cloudstack.api.command.user.volume.Extra= ctVolumeCmd > java.lang.NullPointerException > at org.apache.cloudstack.storage.datastore.driver.CloudStackImage= StoreDriverImpl.createEntityExtractUrl(CloudStackImageStoreDriverImpl.java:= 71) > at org.apache.cloudstack.storage.image.store.ImageStoreImpl.creat= eEntityExtractUrl(ImageStoreImpl.java:194) > at com.cloud.storage.VolumeManagerImpl.extractVolume(VolumeManage= rImpl.java:2798) > at com.cloud.utils.component.ComponentInstantiationPostProcessor$= InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:12= 5) > 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(ThreadPoolEx= ecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-08-02 22:30:58,907 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-33:job-108 =3D [ c050f4e9-3d71-4c9a-b32f-3a408a07a301 ]) Complete asyn= c job-108 =3D [ c050f4e9-3d71-4c9a-b32f-3a408a07a301 ], jobStatus: 2, resul= tCode: 530, result: Error Code: 530 Error text: null > 2013-08-02 22:30:59,288 DEBUG [agent.manager.AgentManagerImpl] (AgentMana= ger-Handler-12:null) SeqA 8-1186: Processing Seq 8-1186: { Cmd , MgmtId: -= 1, via: 8, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadRepor= tCommand":{"_proxyVmId":4,"_loadInfo":"{\n \"connections\": []\n}","wait":= 0}}] } > 2013-08-02 22:30:59,298 DEBUG [agent.manager.AgentManagerImpl] (AgentMana= ger-Handler-12:null) SeqA 8-1186: Sending Seq 8-1186: { Ans: , MgmtId: 705= 9886047285, via: 8, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentCon= trolAnswer":{"result":true,"wait":0}}] } > 2013-08-02 22:30:59,566 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:nul= l) =3D=3D=3DSTART=3D=3D=3D 10.252.192.69 -- GET command=3DqueryAsyncJobRe= sult&jobId=3Dc050f4e9-3d71-4c9a-b32f-3a408a07a301&response=3Djson&sessionke= y=3D5XOZ0IP46fc689%2FUUu01lm7IWC8%3D&_=3D1375443477458=20 > 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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira