cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tejas Gadaria <refond.g...@gmail.com>
Subject Dynamic Scaling of VM
Date Sun, 20 Apr 2014 03:48:08 GMT
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.java:341)
    at
com.cloud.hypervisor.vmware.mo.VirtualMachineMO.createFullClone(VirtualMachineMO.java:619)
    at
com.cloud.storage.resource.VmwareStorageProcessor.createVMFullClone(VmwareStorageProcessor.java:266)
    at
com.cloud.storage.resource.VmwareStorageProcessor.cloneVolumeFromBaseTemplate(VmwareStorageProcessor.java:338)
    at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:78)
    at
com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execute(VmwareStorageSubsystemCommandHandler.java:171)
    at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
    at
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:571)
    at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
    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
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.access$101(ScheduledThreadPoolExecutor.java:165)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.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,"details":"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.recreateVolume(VolumeOrchestrator.java:1202)
    at
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
    at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
    at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
    at
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:601)
    at
org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:228)
    at
org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(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(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    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
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
    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 $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(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
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
    at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:509)
    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
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message