cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-7274) [Automation] ExtractVolumeCmd failing NPE in vmware
Date Fri, 08 Aug 2014 10:43:11 GMT

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

Likitha Shetty resolved CLOUDSTACK-7274.
----------------------------------------

    Resolution: Fixed

Commit b41a78ce0f9cbc2981f6038e3e020ebab564ba0b in cloudstack's branch refs/heads/master from
Likitha Shetty
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b41a78c ]
CLOUDSTACK-7248. [VMware] Extract volume fails with an NPE.
Synchronize attach disk to VM on the VM object value instead of using a DB lock.

> [Automation] ExtractVolumeCmd failing NPE in vmware 
> ----------------------------------------------------
>
>                 Key: CLOUDSTACK-7274
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7274
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VMware
>    Affects Versions: 4.5.0
>            Reporter: Rayees Namathponnan
>            Assignee: Likitha Shetty
>            Priority: Blocker
>             Fix For: 4.5.0
>
>         Attachments: Aug_06_Vmware.rar, cloud.out
>
>
> Test case integration.smoke.test_volumes.TestVolumes.test_06_download_detached_volume
failing in VMware 
> {noformat}
> 2014-08-06 09:09:46,414 DEBUG [c.c.a.ApiServlet] (catalina-exec-3:ctx-0d676ce5 ctx-d1359a7f
ctx-8ebc45f1) ===END===  10.223.240.195 -- G
> ET  jobid=196e464e-cb76-4204-a8a6-7bdeeb13fa82&apiKey=H5RMl6O6B1YJDo70qAbsIfJA2Btv7pIVHxBs6Ent3Y0qusGISXKAyGHaqCjBoqSAOSzWBsM6XIjQX4j_9N
> D3zQ&command=queryAsyncJobResult&response=json&signature=XVuR92sHTN5aj6N3nr0N7XYim0E%3D
> 2014-08-06 09:09:46,990 DEBUG [c.c.a.t.Request] (AgentManager-Handler-11:null) Seq 5-7717480911452766337:
Processing:  { Ans: , MgmtId:
> 90928106758026, via: 5, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"copy
volu
> me from primary to secondary failed due to exception: Exception: java.lang.NullPointerException\nMessage:
null\n","wait":0}}] }
> 2014-08-06 09:09:46,991 DEBUG [c.c.a.t.Request] (API-Job-Executor-105:ctx-5773e2b7 job-689
ctx-cb828d88) Seq 5-7717480911452766337: Rece
> ived:  { Ans: , MgmtId: 90928106758026, via: 5, Ver: v1, Flags: 10, { CopyCmdAnswer }
}
> 2014-08-06 09:09:47,001 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] (API-Job-Executor-105:ctx-5773e2b7
job-689 ctx-cb828d88) Unsuppor
> ted data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@69cc7318),
no need to delete from object in store
> ref table
> 2014-08-06 09:09:47,013 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-105:ctx-5773e2b7
job-689) Unexpected exception while execu
> ting org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to copy the volume from the source
primary storage pool to secondary storage.
>         at com.cloud.storage.VolumeApiServiceImpl.extractVolume(VolumeApiServiceImpl.java:2024)
>         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:606)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at com.sun.proxy.$Proxy183.extractVolume(Unknown Source)
>         at org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd.execute(ExtractVolumeCmd.java:137)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message