cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-1575) Failed to transit volume with uploadVolume
Date Tue, 09 Jul 2013 10:23:47 GMT

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

Sailaja Mada closed CLOUDSTACK-1575.
------------------------------------


Reported issue is not observed now. But there is NPE while attaching upload volume to instance.
This is tracked as a separate ticket. 
                
> Failed to transit volume with uploadVolume
> ------------------------------------------
>
>                 Key: CLOUDSTACK-1575
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1575
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Storage Controller
>    Affects Versions: 4.2.0
>            Reporter: Sailaja Mada
>            Assignee: deepti dohare
>            Priority: Critical
>
> Setup :  Advanced Networking Zone with KVM 6.3 
> 1.  Tried to upload volume .
> Observation: 
> It Failed to transit volume with uploadVolume
> 2013-03-07 17:09:43,914 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) ===START===
 10.144.7.13 -- GET  command=uploadVolume&response=json&sessionkey=YcDzV0lQLF0Sn6Ka3eWVTqvNEyo%3D&name=new1&zoneId=c3a1a80f-e007-4444-922d-6801ea5c32c7&format=QCOW2&url=http%3A%2F%2F10.147.28.7%2Ftemplates%2F161fc851-3282-3295-81ba-4fd98ca48b96.qcow2&_=1362656458296
> 2013-03-07 17:09:43,957 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-15:null)
submit async job-22, details: AsyncJobVO {id:22, userId: 3, accountId: 3, sessionKey: null,
instanceType: null, instanceId: null, cmd: org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd,
cmdOriginator: null, cmdInfo: {"response":"json","sessionkey":"YcDzV0lQLF0Sn6Ka3eWVTqvNEyo\u003d","ctxUserId":"3","name":"new1","_":"1362656458296","ctxAccountId":"3","format":"QCOW2","ctxStartEventId":"37","url":"http://10.147.28.7/templates/161fc851-3282-3295-81ba-4fd98ca48b96.qcow2","zoneId":"c3a1a80f-e007-4444-922d-6801ea5c32c7"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode:
0, result: null, initMsid: 15875056796715, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null}
> 2013-03-07 17:09:43,958 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) ===END===
 10.144.7.13 -- GET  command=uploadVolume&response=json&sessionkey=YcDzV0lQLF0Sn6Ka3eWVTqvNEyo%3D&name=new1&zoneId=c3a1a80f-e007-4444-922d-6801ea5c32c7&format=QCOW2&url=http%3A%2F%2F10.147.28.7%2Ftemplates%2F161fc851-3282-3295-81ba-4fd98ca48b96.qcow2&_=1362656458296
> 2013-03-07 17:09:43,960 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-22)
Executing org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd for job-22
> 2013-03-07 17:09:43,970 DEBUG [cloud.user.AccountManagerImpl] (Job-Executor-26:job-22)
Access to Acct[3-cdcuser1] granted to Acct[3-cdcuser1] by DomainChecker
> 2013-03-07 17:09:44,016 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-22)
Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to transit volume: 6, due to:
com.cloud.utils.fsm.NoTransitionException: Unable to transition to a new state from UploadOp
via UploadRequested
>         at org.apache.cloudstack.storage.volume.VolumeObject.stateTransit(VolumeObject.java:107)
>         at org.apache.cloudstack.storage.volume.VolumeServiceImpl.registerVolume(VolumeServiceImpl.java:570)
>         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: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 $Proxy295.registerVolume(Unknown Source)
>         at com.cloud.storage.VolumeManagerImpl.uploadVolume(VolumeManagerImpl.java:382)
>         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.GeneratedMethodAccessor122.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 $Proxy290.uploadVolume(Unknown Source)
>         at org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd.execute(UploadVolumeCmd.java:121)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163)
>         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: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.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-07 17:09:44,023 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-22)
Complete async job-22, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Failed to transit volume: 6, due to: com.cloud.utils.fsm.NoTransitionException: Unable to
transition to a new state from UploadOp via UploadRequested
> 2013-03-07 17:09:44,023 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-22)
Complete async job-22, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Failed to transit volume: 6, due to: com.cloud.utils.fsm.NoTransitionException: Unable to
transition to a new state from UploadOp via UploadRequested
> 2013-03-07 17:09:44,782 DEBUG [storage.download.DownloadListener] (Timer-5:null) Scheduling
timeout at 30000 ms, template=temp1 at host nfs://10.102.192.100/cpg_vol/sailaja/secondary
> 2013-03-07 17:09:47,012 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===START===
 10.144.7.13 -- GET  command=queryAsyncJobResult&jobId=536fd42d-386b-475d-bd3f-30fccf74abd7&response=json&sessionkey=YcDzV0lQLF0Sn6Ka3eWVTqvNEyo%3D&_=1362656461443
> 2013-03-07 17:09:47,024 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-16:null)
Async job-22 completed
> 2013-03-07 17:09:47,029 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===END===
 10.144.7.13 -- GET  command=queryAsyncJobResult&jobId=536fd42d-386b-475d-bd3f-30fccf74abd7&response=json&sessionkey=YcDzV0lQLF0Sn6Ka3eWVTqvNEyo%3D&_=1362656461443
> 2013-03-07 17:09:47,578 INFO  [agent.manager.AgentMonitor] (Thread-6:null) Found the
following agents behind on ping: [1, 3, 4]

--
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