cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandan Purushothama (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-1672) VMSnapshot: CreateSnapshotCmd on ROOT Volume fails after taking a VMSnapshot of the Volume's VM due to ClassCastException
Date Fri, 19 Jul 2013 23:54:49 GMT

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

Chandan Purushothama commented on CLOUDSTACK-1672:
--------------------------------------------------

This bug is filed on VMWare Setup. Reopening the bug for re-verification.
                
> VMSnapshot: CreateSnapshotCmd on ROOT Volume fails after taking a VMSnapshot of the Volume's
VM due to ClassCastException
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1672
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1672
>             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
>            Reporter: Chandan Purushothama
>            Assignee: Mice Xia
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> =======================
> Steps to Reproduce the Bug:
> =======================
> 1. Create a "Disk" and "DiskAndMemorySnapshot" type VM snapshot for a VM which has 1
datadisk. 
> 2. Take root volume Snapshots.
> ===========
> Observations:
> ===========
> *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,
cmdOriginator: null, cmdInfo: {"id":"1","response":"json","sessionkey":"foTROJeG240ZKuD7SGWrhKz0opQ\u003d","ctxUserId":"3","_":"1363215373288","volumeid":"4eaaaf47-1233-4dbe-932c-f535f57bdf51","ctxAccountId":"3","ctxStartEventId":"59"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode:
0, result: null, initMsid: 7200344900649, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null}
> 2013-03-13 15:55:52,995 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) ===END===
 10.216.133.69 -- GET  command=createSnapshot&volumeid=4eaaaf47-1233-4dbe-932c-f535f57bdf51&response=json&sessionkey=foTROJeG240ZKuD7SGWrhKz0opQ%3D&_=1363215373288
> 2013-03-13 15:55:52,997 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-33:job-45)
Executing org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd for job-45
> 2013-03-13 15:55:53,005 DEBUG [cloud.user.AccountManagerImpl] (Job-Executor-33:job-45)
Access to Acct[3-boron] granted to Acct[3-boron] by DomainChecker
> 2013-03-13 15:55:53,123 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-10:null)
Ping from 4
> 2013-03-13 15:55:53,157 DEBUG [cloud.user.AccountManagerImpl] (Job-Executor-33:job-45)
Access to org.apache.cloudstack.storage.volume.VolumeObject@5a4d5edc granted to Acct[3-boron]
by DomainChecker
> 2013-03-13 15:55:53,308 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-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, 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/asf4-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.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/asf4-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] (DirectAgent-109:null)
Seq 1-970064038: Executing request
> 2013-03-13 15:55:53,515 INFO  [vmware.resource.VmwareResource] (DirectAgent-109:10.223.58.2)
Executing resource 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/asf4-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,522 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-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-9642-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, Ver: v1, Flags: 100011, [{"BackupSnapshotCommand":{"isVolumeInactive":false,"vmName":"i-3-6-VMSNAP","snapshotId":1,"primaryStoragePoolNameLabel":"f42a60c2-0940-305b-bb14-23d8b40f42bc","primaryPool":{"id":200,"uuid":"f42a60c2-0940-305b-bb14-23d8b40f42bc","host":"10.223.110.232","path":"/export/home/chandan/asf4-131-170/primary","port":2049,"type":"NetworkFilesystem"},"snapshotUuid":"290029b5-9642-4846-917d-ddede70f6ee9","snapshotName":"boron-VM-3_ROOT-6_20130313225552","secondaryStorageUrl":"nfs://10.223.110.232/export/home/chandan/asf4-131-170/secondary","dcId":1,"accountId":3,"volumeId":7,"volumePath":"ROOT-6-7-000004","wait":21600}}]
}
> 2013-03-13 15:55:54,599 DEBUG [agent.transport.Request] (AgentManager-Handler-11:null)
Seq 3-343015696: Processing:  { Ans: , MgmtId: 7200344900649, via: 3, Ver: v1, Flags: 10,
[{"Answer":{"result":false,"details":"java.lang.ExceptionInInitializerError\n\tat com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:107)\n\tat
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)\n\tat
com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)\n\tat $Proxy36.logout(Unknown
Source)\n\tat com.cloud.hypervisor.vmware.util.VmwareClient.disconnect(VmwareClient.java:165)\n\tat
com.cloud.hypervisor.vmware.util.VmwareContext.close(VmwareContext.java:599)\n\tat com.cloud.storage.resource.VmwareSecondaryStorageContextFactory.invalidate(VmwareSecondaryStorageContextFactory.java:71)\n\tat
com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.invalidateServiceContext(VmwareSecondaryStorageResourceHandler.java:203)\n\tat
com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.getServiceContext(VmwareSecondaryStorageResourceHandler.java:186)\n\tat
com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:190)\n\tat
com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.execute(VmwareSecondaryStorageResourceHandler.java:113)\n\tat
com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:71)\n\tat
com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:54)\n\tat
com.cloud.agent.Agent.processRequest(Agent.java:525)\n\tat com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)\n\tat
com.cloud.utils.nio.Task.run(Task.java:83)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)\n\tat java.lang.Thread.run(Thread.java:662)\nCaused
by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast
to com.sun.xml.internal.bind.api.JAXBRIContext\n\tat com.sun.xml.internal.ws.fault.SOAPFaultBuilder.<clinit>(SOAPFaultBuilder.java: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.BackupSnapshotCommand is java.lang.ExceptionInInitializerError
>         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:107)
>         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.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(VmwareClient.java:165)
>         at com.cloud.hypervisor.vmware.util.VmwareContext.close(VmwareContext.java:599)
>         at com.cloud.storage.resource.VmwareSecondaryStorageContextFactory.invalidate(VmwareSecondaryStorageContextFactory.java:71)
>         at com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.invalidateServiceContext(VmwareSecondaryStorageResourceHandler.java:203)
>         at com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.getServiceContext(VmwareSecondaryStorageResourceHandler.java:186)
>         at com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:190)
>         at com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.execute(VmwareSecondaryStorageResourceHandler.java:113)
>         at com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:71)
>         at com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:54)
>         at com.cloud.agent.Agent.processRequest(Agent.java:525)
>         at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl
cannot be cast to com.sun.xml.internal.bind.api.JAXBRIContext
>         at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.<clinit>(SOAPFaultBuilder.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:200] is unreachable:
Unable to send command to the pool 200 due to there is no enabled hosts up in this cluster
>         at com.cloud.storage.StorageManagerImpl.sendToPool(StorageManagerImpl.java:1037)
>         at com.cloud.storage.StorageManagerImpl.sendToPool(StorageManagerImpl.java:1062)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:46)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
>         at $Proxy115.sendToPool(Unknown Source)
>         at com.cloud.storage.snapshot.SnapshotManagerImpl.sendToPool(SnapshotManagerImpl.java:230)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:46)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.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(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:46)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
>         at $Proxy289.copyAsync(Unknown Source)
>         at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:54)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:46)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
>         at $Proxy290.copyAsync(Unknown Source)
>         at org.apache.cloudstack.storage.snapshot.strategy.AncientSnasphotStrategy.backupSnapshot(AncientSnasphotStrategy.java:425)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:46)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.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(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at com.cloud.event.ActionEventInterceptor.AroundAnyMethod(ActionEventInterceptor.java:53)
>         at sun.reflect.GeneratedMethodAccessor241.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:40)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
>         at $Proxy268.createSnapshot(Unknown Source)
>         at org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd.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$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:46)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.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(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-03-13 15:57:54,667 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) ===START===
 10.216.133.69 -- GET  command=queryAsyncJobResult&jobId=407feefe-c560-4556-b82b-0656e66e2e5a&response=json&sessionkey=foTROJeG240ZKuD7SGWrhKz0opQ%3D&_=1363215496129
> 2013-03-13 15:57:54,693 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-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,state,parent,current,created,removed
from vm_snapshots where vm_id=6;
> +----+--------------------------------+----------------------------------+-------+------------+------------------+-----------+--------+---------+---------------------+---------------------+
> | id | name                           | display_name                     | vm_id | account_id
| vm_snapshot_type | state     | parent | current | created             | removed        
    |
> +----+--------------------------------+----------------------------------+-------+------------+------------------+-----------+--------+---------+---------------------+---------------------+
> |  6 | i-3-6-VMSNAP_VS_20130313214100 | Boron-VMSnapshot-3               |     6 |  
       3 | Disk             | Ready     |   NULL |       0 | 2013-03-13 21:41:00 | NULL  
             |
> |  7 | i-3-6-VMSNAP_VS_20130313215430 | Boron-VMSnapshot-3-1             |     6 |  
       3 | Disk             | Ready     |      6 |       0 | 2013-03-13 21:54:30 | NULL  
             |
> |  8 | i-3-6-VMSNAP_VS_20130313215449 | Boron-VMSnapshot-3-1             |     6 |  
       3 | Disk             | Expunging |      7 |       0 | 2013-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 | 2013-03-13 22:09:55 | NULL  
             |
> | 12 | i-3-6-VMSNAP_VS_20130313221124 | Boron-VMSnapshot-RunningMemory-3 |     6 |  
       3 | DiskAndMemory    | Ready     |     11 |       1 | 2013-03-13 22:11:24 | NULL  
             |
> +----+--------------------------------+----------------------------------+-------+------------+------------------+-----------+--------+---------+---------------------+---------------------+
> 5 rows in set (0.00 sec)
> mysql> select * from snapshots where id=1 \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)
> ==========
> Bug Impact:
> ==========
> 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 administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message