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 01C3E10048 for ; Wed, 24 Jul 2013 02:32:56 +0000 (UTC) Received: (qmail 79291 invoked by uid 500); 24 Jul 2013 02:32:52 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 79130 invoked by uid 500); 24 Jul 2013 02:32:52 -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 78877 invoked by uid 500); 24 Jul 2013 02:32:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 78840 invoked by uid 99); 24 Jul 2013 02:32:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2013 02:32:49 +0000 Date: Wed, 24 Jul 2013 02:32:48 +0000 (UTC) From: "Mice Xia (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-1672) VMSnapshot: CreateSnapshotCmd on ROOT Volume fails after taking a VMSnapshot of the Volume's VM due to ClassCastException 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-1672?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D13717908#comment-13717908 ]=20 Mice Xia commented on CLOUDSTACK-1672: -------------------------------------- Cannot reproduce with latest 4.2 code on ESXi 5.0 procedures: 1. Create a "Disk" and "DiskAndMemorySnapshot" type VM snapshot for a VM wh= ich has 1 datadisk. 2. Take root volume Snapshots.=20 =20 > VMSnapshot: CreateSnapshotCmd on ROOT Volume fails after taking a VMSnaps= hot of the Volume's VM due to ClassCastException > -------------------------------------------------------------------------= ------------------------------------------------ > > Key: CLOUDSTACK-1672 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-167= 2 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.2.0 > Reporter: Chandan Purushothama > Assignee: Mice Xia > Priority: Critical > Fix For: 4.2.0 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Steps to Reproduce the Bug: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 1. Create a "Disk" and "DiskAndMemorySnapshot" type VM snapshot for a VM = which has 1 datadisk.=20 > 2. Take root volume Snapshots. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Observations: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > *Management Server Log* > 2013-03-13 15:55:52,993 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina= -exec-15:null) submit async job-45, details: AsyncJobVO {id:45, userId: 3, = accountId: 3, sessionKey: null, instanceType: null, instanceId: 1, cmd: org= .apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd, cmdOriginat= or: null, cmdInfo: {"id":"1","response":"json","sessionkey":"foTROJeG240ZKu= D7SGWrhKz0opQ\u003d","ctxUserId":"3","_":"1363215373288","volumeid":"4eaaaf= 47-1233-4dbe-932c-f535f57bdf51","ctxAccountId":"3","ctxStartEventId":"59"},= cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processS= tatus: 0, resultCode: 0, result: null, initMsid: 7200344900649, completeMsi= d: null, lastUpdated: null, lastPolled: null, created: null} > 2013-03-13 15:55:52,995 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:nu= ll) =3D=3D=3DEND=3D=3D=3D 10.216.133.69 -- GET command=3DcreateSnapshot&v= olumeid=3D4eaaaf47-1233-4dbe-932c-f535f57bdf51&response=3Djson&sessionkey= =3DfoTROJeG240ZKuD7SGWrhKz0opQ%3D&_=3D1363215373288 > 2013-03-13 15:55:52,997 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-33:job-45) Executing org.apache.cloudstack.api.command.user.snapshot.C= reateSnapshotCmd for job-45 > 2013-03-13 15:55:53,005 DEBUG [cloud.user.AccountManagerImpl] (Job-Execut= or-33:job-45) Access to Acct[3-boron] granted to Acct[3-boron] by DomainChe= cker > 2013-03-13 15:55:53,123 DEBUG [agent.manager.AgentManagerImpl] (AgentMana= ger-Handler-10:null) Ping from 4 > 2013-03-13 15:55:53,157 DEBUG [cloud.user.AccountManagerImpl] (Job-Execut= or-33:job-45) Access to org.apache.cloudstack.storage.volume.VolumeObject@5= a4d5edc granted to Acct[3-boron] by DomainChecker > 2013-03-13 15:55:53,308 DEBUG [agent.manager.AgentManagerImpl] (AgentMana= ger-Handler-12:null) Ping from 3 > 2013-03-13 15:55:53,515 DEBUG [agent.transport.Request] (Job-Executor-33:= job-45) Seq 1-970064038: Sending { Cmd , MgmtId: 7200344900649, via: 1, Ve= r: v1, Flags: 100011, [{"ManageSnapshotCommand":{"_commandSwitch":"-c","_vo= lumePath":"ROOT-6-7-000004","_pool":{"id":200,"uuid":"f42a60c2-0940-305b-bb= 14-23d8b40f42bc","host":"10.223.110.232","path":"/export/home/chandan/asf4-= 131-170/primary","port":2049,"type":"NetworkFilesystem"},"_snapshotName":"b= oron-VM-3_ROOT-6_20130313225552","_snapshotId":1,"_vmName":"i-3-6-VMSNAP","= wait":0}}] } > 2013-03-13 15:55:53,515 DEBUG [agent.transport.Request] (Job-Executor-33:= job-45) Seq 1-970064038: Executing: { Cmd , MgmtId: 7200344900649, via: 1,= Ver: v1, Flags: 100011, [{"ManageSnapshotCommand":{"_commandSwitch":"-c","= _volumePath":"ROOT-6-7-000004","_pool":{"id":200,"uuid":"f42a60c2-0940-305b= -bb14-23d8b40f42bc","host":"10.223.110.232","path":"/export/home/chandan/as= f4-131-170/primary","port":2049,"type":"NetworkFilesystem"},"_snapshotName"= :"boron-VM-3_ROOT-6_20130313225552","_snapshotId":1,"_vmName":"i-3-6-VMSNAP= ","wait":0}}] } > 2013-03-13 15:55:53,515 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-109:null) Seq 1-970064038: Executing request > 2013-03-13 15:55:53,515 INFO [vmware.resource.VmwareResource] (DirectAge= nt-109:10.223.58.2) Executing resource ManageSnapshotCommand: {"_commandSwi= tch":"-c","_volumePath":"ROOT-6-7-000004","_pool":{"id":200,"uuid":"f42a60c= 2-0940-305b-bb14-23d8b40f42bc","host":"10.223.110.232","path":"/export/home= /chandan/asf4-131-170/primary","port":2049,"type":"NetworkFilesystem"},"_sn= apshotName":"boron-VM-3_ROOT-6_20130313225552","_snapshotId":1,"_vmName":"i= -3-6-VMSNAP","wait":0} > 2013-03-13 15:55:53,522 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-109:null) Seq 1-970064038: Response Received: > 2013-03-13 15:55:53,522 DEBUG [agent.transport.Request] (DirectAgent-109:= null) Seq 1-970064038: Processing: { Ans: , MgmtId: 7200344900649, via: 1,= Ver: v1, Flags: 10, [{"ManageSnapshotAnswer":{"_snapshotPath":"290029b5-96= 42-4846-917d-ddede70f6ee9","result":true,"wait":0}}] } > 2013-03-13 15:55:53,523 DEBUG [agent.transport.Request] (Job-Executor-33:= job-45) Seq 1-970064038: Received: { Ans: , MgmtId: 7200344900649, via: 1,= Ver: v1, Flags: 10, { ManageSnapshotAnswer } } > 2013-03-13 15:55:54,062 DEBUG [agent.transport.Request] (Job-Executor-33:= job-45) Seq 3-343015696: Sending { Cmd , MgmtId: 7200344900649, via: 3, Ve= r: v1, Flags: 100011, [{"BackupSnapshotCommand":{"isVolumeInactive":false,"= vmName":"i-3-6-VMSNAP","snapshotId":1,"primaryStoragePoolNameLabel":"f42a60= c2-0940-305b-bb14-23d8b40f42bc","primaryPool":{"id":200,"uuid":"f42a60c2-09= 40-305b-bb14-23d8b40f42bc","host":"10.223.110.232","path":"/export/home/cha= ndan/asf4-131-170/primary","port":2049,"type":"NetworkFilesystem"},"snapsho= tUuid":"290029b5-9642-4846-917d-ddede70f6ee9","snapshotName":"boron-VM-3_RO= OT-6_20130313225552","secondaryStorageUrl":"nfs://10.223.110.232/export/hom= e/chandan/asf4-131-170/secondary","dcId":1,"accountId":3,"volumeId":7,"volu= mePath":"ROOT-6-7-000004","wait":21600}}] } > 2013-03-13 15:55:54,599 DEBUG [agent.transport.Request] (AgentManager-Han= dler-11:null) Seq 3-343015696: Processing: { Ans: , MgmtId: 7200344900649,= via: 3, Ver: v1, Flags: 10, [{"Answer":{"result":false,"details":"java.lan= g.ExceptionInInitializerError\n\tat com.sun.xml.internal.ws.client.sei.Sync= MethodHandler.invoke(SyncMethodHandler.java:107)\n\tat com.sun.xml.internal= .ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)\n\tat co= m.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)\n\tat $Pr= oxy36.logout(Unknown Source)\n\tat com.cloud.hypervisor.vmware.util.VmwareC= lient.disconnect(VmwareClient.java:165)\n\tat com.cloud.hypervisor.vmware.u= til.VmwareContext.close(VmwareContext.java:599)\n\tat com.cloud.storage.res= ource.VmwareSecondaryStorageContextFactory.invalidate(VmwareSecondaryStorag= eContextFactory.java:71)\n\tat com.cloud.storage.resource.VmwareSecondarySt= orageResourceHandler.invalidateServiceContext(VmwareSecondaryStorageResourc= eHandler.java:203)\n\tat com.cloud.storage.resource.VmwareSecondaryStorageR= esourceHandler.getServiceContext(VmwareSecondaryStorageResourceHandler.java= :186)\n\tat com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.ex= ecute(VmwareStorageManagerImpl.java:190)\n\tat com.cloud.storage.resource.V= mwareSecondaryStorageResourceHandler.execute(VmwareSecondaryStorageResource= Handler.java:113)\n\tat com.cloud.storage.resource.VmwareSecondaryStorageRe= sourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:71)= \n\tat com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRe= quest(PremiumSecondaryStorageResource.java:54)\n\tat com.cloud.agent.Agent.= processRequest(Agent.java:525)\n\tat com.cloud.agent.Agent$AgentRequestHand= ler.doTask(Agent.java:852)\n\tat com.cloud.utils.nio.Task.run(Task.java:83)= \n\tat java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExe= cutor.java:886)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Th= readPoolExecutor.java:908)\n\tat java.lang.Thread.run(Thread.java:662)\nCau= sed by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBConte= xtImpl cannot be cast to com.sun.xml.internal.bind.api.JAXBRIContext\n\tat = com.sun.xml.internal.ws.fault.SOAPFaultBuilder.(SOAPFaultBuilder.ja= va:533)\n\t... 19 more\n","wait":0}}] } > 2013-03-13 15:55:54,604 DEBUG [agent.transport.Request] (Job-Executor-33:= job-45) Seq 3-343015696: Received: { Ans: , MgmtId: 7200344900649, via: 3,= Ver: v1, Flags: 10, { Answer } } > 2013-03-13 15:55:54,639 DEBUG [storage.snapshot.SnapshotManagerImpl] (Job= -Executor-33:job-45) The result for com.cloud.agent.api.BackupSnapshotComma= nd is java.lang.ExceptionInInitializerError > at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Sy= ncMethodHandler.java:107) > at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Sy= ncMethodHandler.java:78) > at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java= :107) > at $Proxy36.logout(Unknown Source) > at com.cloud.hypervisor.vmware.util.VmwareClient.disconnect(Vmwar= eClient.java:165) > at com.cloud.hypervisor.vmware.util.VmwareContext.close(VmwareCon= text.java:599) > at com.cloud.storage.resource.VmwareSecondaryStorageContextFactor= y.invalidate(VmwareSecondaryStorageContextFactory.java:71) > at com.cloud.storage.resource.VmwareSecondaryStorageResourceHandl= er.invalidateServiceContext(VmwareSecondaryStorageResourceHandler.java:203) > at com.cloud.storage.resource.VmwareSecondaryStorageResourceHandl= er.getServiceContext(VmwareSecondaryStorageResourceHandler.java:186) > at com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.e= xecute(VmwareStorageManagerImpl.java:190) > at com.cloud.storage.resource.VmwareSecondaryStorageResourceHandl= er.execute(VmwareSecondaryStorageResourceHandler.java:113) > at com.cloud.storage.resource.VmwareSecondaryStorageResourceHandl= er.executeRequest(VmwareSecondaryStorageResourceHandler.java:71) > at com.cloud.storage.resource.PremiumSecondaryStorageResource.exe= cuteRequest(PremiumSecondaryStorageResource.java:54) > at com.cloud.agent.Agent.processRequest(Agent.java:525) > at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:85= 2) > at com.cloud.utils.nio.Task.run(Task.java:83) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadP= oolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXB= ContextImpl cannot be cast to com.sun.xml.internal.bind.api.JAXBRIContext > at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.(SOAPFa= ultBuilder.java:533) > ... 19 more > through 1 > . > . > . > 2013-03-13 15:57:54,639 DEBUG [storage.snapshot.SnapshotManagerImpl] (Job= -Executor-33:job-45) Retrying... > 2013-03-13 15:57:54,664 WARN [storage.snapshot.SnapshotManagerImpl] (Job= -Executor-33:job-45) Storage unavailable > com.cloud.exception.StorageUnavailableException: Resource [StoragePool:20= 0] is unreachable: Unable to send command to the pool 200 due to there is n= o enabled hosts up in this cluster > at com.cloud.storage.StorageManagerImpl.sendToPool(StorageManager= Impl.java:1037) > at com.cloud.storage.StorageManagerImpl.sendToPool(StorageManager= Impl.java:1062) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingR= eflection(AopUtils.java:319) > at org.springframework.aop.framework.ReflectiveMethodInvocation.i= nvokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoin= Point.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(T= ransactionContextBuilder.java:46) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(Asp= ectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationIntercepto= r.invoke(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Jd= kDynamicAopProxy.java:202) > at $Proxy115.sendToPool(Unknown Source) > at com.cloud.storage.snapshot.SnapshotManagerImpl.sendToPool(Snap= shotManagerImpl.java:230) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingR= eflection(AopUtils.java:319) > at org.springframework.aop.framework.ReflectiveMethodInvocation.i= nvokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoin= Point.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(T= ransactionContextBuilder.java:46) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(Asp= ectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationIntercepto= r.invoke(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Jd= kDynamicAopProxy.java:202) > at $Proxy268.sendToPool(Unknown Source) > at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy= .copySnapshot(AncientDataMotionStrategy.java:704) > at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy= .copyAsync(AncientDataMotionStrategy.java:425) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingR= eflection(AopUtils.java:319) > at org.springframework.aop.framework.ReflectiveMethodInvocation.i= nvokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoin= Point.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(T= ransactionContextBuilder.java:46) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(Asp= ectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationIntercepto= r.invoke(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Jd= kDynamicAopProxy.java:202) > at $Proxy289.copyAsync(Unknown Source) > at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.cop= yAsync(DataMotionServiceImpl.java:54) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingR= eflection(AopUtils.java:319) > at org.springframework.aop.framework.ReflectiveMethodInvocation.i= nvokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoin= Point.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(T= ransactionContextBuilder.java:46) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(Asp= ectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationIntercepto= r.invoke(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Jd= kDynamicAopProxy.java:202) > at $Proxy290.copyAsync(Unknown Source) > at org.apache.cloudstack.storage.snapshot.strategy.AncientSnaspho= tStrategy.backupSnapshot(AncientSnasphotStrategy.java:425) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingR= eflection(AopUtils.java:319) > at org.springframework.aop.framework.ReflectiveMethodInvocation.i= nvokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoin= Point.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(T= ransactionContextBuilder.java:46) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(Asp= ectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationIntercepto= r.invoke(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Jd= kDynamicAopProxy.java:202) > at $Proxy295.backupSnapshot(Unknown Source) > at com.cloud.storage.snapshot.SnapshotManagerImpl.backupSnapshot(= SnapshotManagerImpl.java:366) > at com.cloud.storage.snapshot.SnapshotManagerImpl.createSnapshot(= SnapshotManagerImpl.java:315) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingR= eflection(AopUtils.java:319) > at org.springframework.aop.framework.ReflectiveMethodInvocation.i= nvokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoin= Point.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.event.ActionEventInterceptor.AroundAnyMethod(ActionE= ventInterceptor.java:53) > at sun.reflect.GeneratedMethodAccessor241.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(Asp= ectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:161) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoin= Point.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(T= ransactionContextBuilder.java:40) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(Asp= ectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationIntercepto= r.invoke(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Jd= kDynamicAopProxy.java:202) > at $Proxy268.createSnapshot(Unknown Source) > at org.apache.cloudstack.api.command.user.snapshot.CreateSnapshot= Cmd.execute(CreateSnapshotCmd.java:167) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:165) > at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodIn= vocation.invokeJoinpoint(Cglib2AopProxy.java:689) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoin= Point.proceed(MethodInvocationProceedingJoinPoint.java:80) > at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(T= ransactionContextBuilder.java:46) > at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAd= viceMethod(AbstractAspectJAdvice.java:610) > at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(Asp= ectJAroundAdvice.java:65) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.interceptor.ExposeInvocationIntercepto= r.invoke(ExposeInvocationInterceptor.java:90) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvise= dInterceptor.intercept(Cglib2AopProxy.java:622) > 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(ThreadPoolEx= ecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-03-13 15:57:54,667 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:nul= l) =3D=3D=3DSTART=3D=3D=3D 10.216.133.69 -- GET command=3DqueryAsyncJobRe= sult&jobId=3D407feefe-c560-4556-b82b-0656e66e2e5a&response=3Djson&sessionke= y=3DfoTROJeG240ZKuD7SGWrhKz0opQ%3D&_=3D1363215496129 > 2013-03-13 15:57:54,693 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-33:job-45) Complete async job-45, jobStatus: 1, resultCode: 0, result:= org.apache.cloudstack.api.response.SnapshotResponse@5768ff6a > *Database* > mysql> select id,name,display_name,vm_id,account_id,vm_snapshot_type,stat= e,parent,current,created,removed from vm_snapshots where vm_id=3D6; > +----+--------------------------------+----------------------------------= +-------+------------+------------------+-----------+--------+---------+---= ------------------+---------------------+ > | id | name | display_name = | vm_id | account_id | vm_snapshot_type | state | parent | current | cr= eated | removed | > +----+--------------------------------+----------------------------------= +-------+------------+------------------+-----------+--------+---------+---= ------------------+---------------------+ > | 6 | i-3-6-VMSNAP_VS_20130313214100 | Boron-VMSnapshot-3 = | 6 | 3 | Disk | Ready | NULL | 0 | 20= 13-03-13 21:41:00 | NULL | > | 7 | i-3-6-VMSNAP_VS_20130313215430 | Boron-VMSnapshot-3-1 = | 6 | 3 | Disk | Ready | 6 | 0 | 20= 13-03-13 21:54:30 | NULL | > | 8 | i-3-6-VMSNAP_VS_20130313215449 | Boron-VMSnapshot-3-1 = | 6 | 3 | Disk | Expunging | 7 | 0 | 20= 13-03-13 21:54:49 | 2013-03-13 21:55:30 | > | 11 | i-3-6-VMSNAP_VS_20130313220955 | Boron-VMSnapshot-Running-3 = | 6 | 3 | Disk | Ready | 7 | 0 | 20= 13-03-13 22:09:55 | NULL | > | 12 | i-3-6-VMSNAP_VS_20130313221124 | Boron-VMSnapshot-RunningMemory-3 = | 6 | 3 | DiskAndMemory | Ready | 11 | 1 | 20= 13-03-13 22:11:24 | NULL | > +----+--------------------------------+----------------------------------= +-------+------------+------------------+-----------+--------+---------+---= ------------------+---------------------+ > 5 rows in set (0.00 sec) > mysql> select * from snapshots where id=3D1 \G > *************************** 1. row *************************** > id: 1 > data_center_id: 1 > account_id: 3 > domain_id: 1 > volume_id: 7 > disk_offering_id: 11 > status: BackingUp > path: 290029b5-9642-4846-917d-ddede70f6ee9 > name: boron-VM-3_ROOT-6_20130313225552 > uuid: 04fc2bce-5dc3-4b1f-baed-f938a10d6a47 > snapshot_type: 0 > type_description: MANUAL > size: 2147483648 > created: 2013-03-13 22:55:52 > removed: NULL > backup_snap_id: NULL > swift_id: NULL > sechost_id: NULL > prev_snap_id: 0 > hypervisor_type: VMware > version: 2.2 > s3_id: NULL > 1 row in set (0.00 sec) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Bug Impact: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Blocks Volume Snapshot Use Cases of VM's having VMSnapshots. -- 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