You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/10/12 10:39:05 UTC

[GitHub] vedulasantosh commented on issue #2244: CLOUDSTACK-10054:Volume download times out in 3600 seconds

vedulasantosh commented on issue #2244: CLOUDSTACK-10054:Volume download times out in 3600 seconds
URL: https://github.com/apache/cloudstack/pull/2244#issuecomment-336090373
 
 
   Test LGTM
   
   SSVM log:
   
   2017-10-12 09:23:16,435 WARN  [vmware.manager.VmwareStorageManagerImpl] (Script-1:null) Interrupting script.
   2017-10-12 09:23:16,439 WARN  [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-200/job-201, cmd: CreateEntityDownloadURLCommand) Timed out: tar -cf 2363a57d7f624661832fe41e83c109d1.ova 2363a57d7f624661832fe41e83c109d1.ovf 2363a57d7f624661832fe41e83c109d1-disk0.vmdk .  Output is:
   2017-10-12 09:23:16,440 DEBUG [storage.resource.VmwareSecondaryStorageResourceHandler] (agentRequest-Handler-8:job-200/job-201, cmd: CreateEntityDownloadURLCommand) Command execution answer: {"result":false,"details":"Failed to download","wait":0}
   
   
   Management-server log:
   
   2017-10-12 14:53:16,884 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-1:ctx-da437f5a job-200/job-201) (logid:18ef6817) Unable to complete AsyncJobVO {id:201, userId: 2, accountId: 2, instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkExtractVolume, cmdInfo: rO0ABXNyACBjb20uY2xvdWQudm0uVm1Xb3JrRXh0cmFjdFZvbHVtZfgl82-871PmAgACSgAIdm9sdW1lSWRKAAZ6b25lSWR4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7eHAAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAN0ABRWb2x1bWVBcGlTZXJ2aWNlSW1wbAAAAAAAAAAEAAAAAAAAAAE, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 193904265554077, completeMsid: null, lastUpdated: null, lastPolled: null, created: Thu Oct 12 13:47:51 IST 2017}, job origin:200
   com.cloud.utils.exception.CloudRuntimeException: Unable to create a link for entity at volumes/2/4/2363a57d7f624661832fe41e83c109d1 on ssvm,Failed to download
   
   2017-10-12 14:47:57,677 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-1:ctx-493b9dfa job-200) (logid:18ef6817) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd
   com.cloud.utils.exception.CloudRuntimeException: Unable to serialize: Job is cancelled as it has been blocking others for too long
           at org.apache.cloudstack.framework.jobs.impl.JobSerializerHelper.fromObjectSerializedString(JobSerializerHelper.java:134)
           at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl.unmarshallResultObject(AsyncJobManagerImpl.java:726)
           at com.cloud.storage.VolumeApiServiceImpl.extractVolume(VolumeApiServiceImpl.java:2352)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
           at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
           at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
           at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
           at com.sun.proxy.$Proxy166.extractVolume(Unknown Source)
           at org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd.execute(ExtractVolumeCmd.java:137)
           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
           at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
           at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:561)
           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)
           at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
           at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
           at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:509)
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           at java.lang.Thread.run(Thread.java:748)
   Caused by: java.io.StreamCorruptedException: invalid stream header: 2686E2B1
           at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:857)
           at java.io.ObjectInputStream.<init>(ObjectInputStream.java:349)
           at org.apache.cloudstack.framework.jobs.impl.JobSerializerHelper.fromObjectSerializedString(JobSerializerHelper.java:128)
           ... 32 more
   2017-10-12 14:47:57,680 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-1:ctx-493b9dfa job-200) (logid:18ef6817) Complete async job-200, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unable to serialize: Job is cancelled as it has been blocking others for too long"}
   ![screenshot from 2017-10-12 15 11 26](https://user-images.githubusercontent.com/16554581/31491975-cc4c516e-af66-11e7-9a0d-36cda520bfa6.png)
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services