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: Dynamic Scaling of VM
Date Mon, 21 Apr 2014 18:55:50 GMT
Error doesn't seem to be coming from dynamic scaling. Change the config
below to false and see if you still hit the issue.
*enable.dynamic.scale.vm* = false


On 19/04/14 8:48 PM, "Tejas Gadaria" <refond.gmrt@gmail.com> wrote:

>Hi,
>
>I am trying to test dynamic scaling of vm on vmware with CS 4.3.
>I have CentOS 6.3 template with vmware tools installed.
>
>In global setting *enable.dynamic.scale.vm* = *true, *
>
>
>*mem.overprovisioning.factor =2 *
>while trying to deploy template, it's giving below error..
>
>2014-04-20 09:06:31,808 DEBUG [c.c.h.v.u.VmwareClient]
>(DirectAgent-27:ctx-80068c4c 10.129.151.67) Cancelling vCenter task
>because
>task failed with java.net.SocketTimeoutException: Read timed out
>2014-04-20 09:06:32,354 ERROR [c.c.s.r.VmwareStorageProcessor]
>(DirectAgent-27:ctx-80068c4c 10.129.151.67) clone volume from base image
>failed due to Exception: java.lang.RuntimeException
>Message: vCenter task failed due to java.net.SocketTimeoutException: Read
>timed out
>
>java.lang.RuntimeException: vCenter task failed due to
>java.net.SocketTimeoutException: Read timed out
>    at
>com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.jav
>a:341)
>    at
>com.cloud.hypervisor.vmware.mo.VirtualMachineMO.createFullClone(VirtualMac
>hineMO.java:619)
>    at
>com.cloud.storage.resource.VmwareStorageProcessor.createVMFullClone(Vmware
>StorageProcessor.java:266)
>    at
>com.cloud.storage.resource.VmwareStorageProcessor.cloneVolumeFromBaseTempl
>ate(VmwareStorageProcessor.java:338)
>    at
>com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(Stor
>ageSubsystemCommandHandlerBase.java:78)
>    at
>com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execute(Vm
>wareStorageSubsystemCommandHandler.java:171)
>    at
>com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorag
>eCommands(StorageSubsystemCommandHandlerBase.java:50)
>    at
>com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareR
>esource.java:571)
>    at
>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAt
>tache.java:216)
>    at
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>ContextRunnable.java:49)
>    at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>faultManagedContext.java:56)
>    at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>ontext(DefaultManagedContext.java:103)
>    at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>ntext(DefaultManagedContext.java:53)
>    at
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>ntextRunnable.java:46)
>    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.ScheduledThreadPoolExecutor$ScheduledFutureTask.acces
>s$101(ScheduledThreadPoolExecutor.java:165)
>    at
>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S
>cheduledThreadPoolExecutor.java:266)
>    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)
>2014-04-20 09:06:32,355 DEBUG [c.c.a.m.DirectAgentAttache]
>(DirectAgent-27:ctx-80068c4c) Seq 1-585564250: Response Received:
>2014-04-20 09:06:32,355 DEBUG [c.c.a.m.DirectAgentAttache]
>(DirectAgent-27:ctx-80068c4c) Seq 1-585564250: Response Received:
>2014-04-20 09:06:32,355 DEBUG [c.c.a.t.Request]
>(DirectAgent-27:ctx-80068c4c) Seq 1-585564250: Processing:  { Ans: ,
>MgmtId: 345049296663, via: 1, Ver: v1, Flags: 10,
>[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"d
>etails":"java.lang.RuntimeException:
>vCenter task failed due to java.net.SocketTimeoutException: Read timed
>out","wait":0}}] }
>2014-04-20 09:06:32,355 DEBUG [c.c.a.t.Request]
>(Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Seq 1-585564250: Received:  {
>Ans: , MgmtId: 345049296663, via: 1, Ver: v1, Flags: 10, { CopyCmdAnswer
>} }
>2014-04-20 09:06:32,363 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl]
>(Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Unsupported data object
>(VOLUME,
>org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@70f99830), no
>need to delete from object in store ref table
>2014-04-20 09:06:32,363 INFO  [o.a.c.s.v.VolumeServiceImpl]
>(Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) releasing lock for
>VMTemplateStoragePool 2
>2014-04-20 09:06:32,365 WARN  [c.c.u.d.Merovingian2]
>(Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Was unable to find lock for the
>key template_spool_ref2 and thread id 1680763282
>2014-04-20 09:06:32,365 DEBUG [o.a.c.e.o.VolumeOrchestrator]
>(Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Unable to create
>Vol[9|vm=9|ROOT]:java.lang.RuntimeException: vCenter task failed due to
>java.net.SocketTimeoutException: Read timed out
>2014-04-20 09:06:32,367 INFO  [c.c.v.VirtualMachineManagerImpl]
>(Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Unable to contact resource.
>com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1]
>is unreachable: Unable to create
>Vol[9|vm=9|ROOT]:java.lang.RuntimeException: vCenter task failed due to
>java.net.SocketTimeoutException: Read timed out
>    at
>org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolu
>me(VolumeOrchestrator.java:1202)
>    at
>org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(Volu
>meOrchestrator.java:1254)
>    at
>com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineMana
>gerImpl.java:962)
>    at
>com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerI
>mpl.java:761)
>    at
>com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.jav
>a:601)
>    at
>org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVi
>rtualMachine(VMEntityManagerImpl.java:228)
>    at
>org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.dep
>loy(VirtualMachineEntityImpl.java:207)
>    at
>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:
>3581)
>    at
>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:
>3161)
>    at
>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:
>3147)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>57)
>    at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43)
>    at java.lang.reflect.Method.invoke(Method.java:616)
>    at
>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>pUtils.java:317)
>    at
>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>nt(ReflectiveMethodInvocation.java:183)
>    at
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:150)
>    at
>com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:
>50)
>    at
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:161)
>    at
>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Exp
>oseInvocationInterceptor.java:91)
>    at
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>    at
>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>roxy.java:204)
>    at $Proxy169.startVirtualMachine(Unknown Source)
>    at
>org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.
>java:443)
>    at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
>    at
>com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.
>java:109)
>    at
>com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
>    at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>faultManagedContext.java:56)
>    at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>ontext(DefaultManagedContext.java:103)
>    at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>ntext(DefaultManagedContext.java:53)
>    at
>com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
>    at
>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInConte
>xt(AsyncJobManagerImpl.java:509)
>    at
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>ContextRunnable.java:49)
>    at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>faultManagedContext.java:56)
>    at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>ontext(DefaultManagedContext.java:103)
>    at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>ntext(DefaultManagedContext.java:53)
>    at
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>ntextRunnable.java:46)
>    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)
>2014-04-20 09:06:32,373 DEBUG [c.c.v.VirtualMachineManagerImpl]
>(Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Cleaning up resources for the
>vm
>VM[User|CentOS63-Dynamic-Test1] in Starting state
>
>
>Regards,
>Tejas


Mime
View raw message