cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Mehta <Nitin.Me...@citrix.com>
Subject Re: DeployVM not working in Vmware
Date Thu, 21 Mar 2013 13:34:13 GMT
I am facing this issue as well. Can we make CLOUDSTACK-1252 a blocker
please ?

On 21/03/13 6:55 PM, "Koushik Das" <koushik.das@citrix.com> wrote:

>With latest master while trying to launch a VM in Vmware getting the
>following error. In case of Vmware the
>PremiumSecondaryStorageResource.java is used to handle the copying of
>template from secondary to primary. So looks like somehow this is not
>getting loaded.
>I checked CLOUDSTACK-1252, looks like it's the same issue. When will it
>be added to master?
>
>
>
>WARN  [agent.manager.AgentManagerImpl] (Job-Executor-1:job-14)
>Unsupported Command: Unsupported command
>issued:com.cloud.agent.api.storage.PrimaryStorageDownloadCommand.  Are
>you sure you got the right type of server?
>INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-1:job-14) Unable
>to contact resource.
>com.cloud.exception.StorageUnavailableException: Resource
>[StoragePool:201] is unreachable: Unable to create
>Vol[7|vm=7|ROOT]:java.lang.ClassCastException:
>com.cloud.agent.api.UnsupportedAnswer cannot be cast to
>com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer
>        at 
>com.cloud.storage.VolumeManagerImpl.recreateVolume(VolumeManagerImpl.java:
>2218)
>        at 
>com.cloud.storage.VolumeManagerImpl.prepare(VolumeManagerImpl.java:2267)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>39)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>pUtils.java:319)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>nt(ReflectiveMethodInvocation.java:183)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:150)
>        at 
>org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.procee
>d(MethodInvocationProceedingJoinPoint.java:80)
>        at 
>com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionCo
>ntextBuilder.java:47)
>        at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWi
>thGivenArgs(AbstractAspectJAdvice.java:621)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(A
>bstractAspectJAdvice.java:610)
>        at 
>org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAd
>vice.java:65)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>        at 
>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Exp
>oseInvocationInterceptor.java:90)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>        at 
>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>roxy.java:202)
>        at $Proxy301.prepare(Unknown Source)
>        at 
>com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerI
>mpl.java:751)
>        at 
>com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.jav
>a:469)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>39)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>pUtils.java:319)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>nt(ReflectiveMethodInvocation.java:183)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:150)
>        at 
>org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.procee
>d(MethodInvocationProceedingJoinPoint.java:80)
>        at 
>com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionCo
>ntextBuilder.java:47)
>        at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWi
>thGivenArgs(AbstractAspectJAdvice.java:621)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(A
>bstractAspectJAdvice.java:610)
>        at 
>org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAd
>vice.java:65)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>        at 
>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Exp
>oseInvocationInterceptor.java:90)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>        at 
>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>roxy.java:202)
>        at $Proxy210.start(Unknown Source)
>        at 
>org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVi
>rtualMachine(VMEntityManagerImpl.java:212)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>39)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>pUtils.java:319)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>nt(ReflectiveMethodInvocation.java:183)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:150)
>        at 
>org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.procee
>d(MethodInvocationProceedingJoinPoint.java:80)
>        at 
>com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionCo
>ntextBuilder.java:47)
>        at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWi
>thGivenArgs(AbstractAspectJAdvice.java:621)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(A
>bstractAspectJAdvice.java:610)
>        at 
>org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAd
>vice.java:65)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>        at 
>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Exp
>oseInvocationInterceptor.java:90)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>        at 
>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>roxy.java:202)
>        at $Proxy330.deployVirtualMachine(Unknown Source)
>        at 
>org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.dep
>loy(VirtualMachineEntityImpl.java:209)
>        at 
>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:
>2941)
>        at 
>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:
>2539)
>        at 
>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:
>2525)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>39)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>pUtils.java:319)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>nt(ReflectiveMethodInvocation.java:183)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:150)
>        at 
>org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.procee
>d(MethodInvocationProceedingJoinPoint.java:80)
>        at 
>com.cloud.event.ActionEventInterceptor.AroundAnyMethod(ActionEventIntercep
>tor.java:48)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>39)
>       at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWi
>thGivenArgs(AbstractAspectJAdvice.java:621)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(A
>bstractAspectJAdvice.java:610)
>        at 
>org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAd
>vice.java:65)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:161)
>        at 
>org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.procee
>d(MethodInvocationProceedingJoinPoint.java:80)
>        at 
>com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionCo
>ntextBuilder.java:47)
>        at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWi
>thGivenArgs(AbstractAspectJAdvice.java:621)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(A
>bstractAspectJAdvice.java:610)
>        at 
>org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAd
>vice.java:65)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>        at 
>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Exp
>oseInvocationInterceptor.java:90)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>        at 
>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>roxy.java:202)
>        at $Proxy271.startVirtualMachine(Unknown Source)
>        at 
>org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.
>java:379)
>        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.inv
>okeJoinpoint(Cglib2AopProxy.java:689)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:150)
>        at 
>org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.procee
>d(MethodInvocationProceedingJoinPoint.java:80)
>        at 
>com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionCo
>ntextBuilder.java:47)
>        at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWi
>thGivenArgs(AbstractAspectJAdvice.java:621)
>        at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(A
>bstractAspectJAdvice.java:610)
>        at 
>org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAd
>vice.java:65)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>        at 
>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Exp
>oseInvocationInterceptor.java:90)
>        at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.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:441)
>        at 
>java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        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)
>


Mime
View raw message