Details
Description
In cloudstack 4.4 with vSphere 5.5, I create a CentOS 6 instance with dynamic scalability enabled with this resources:
RAM: 512MB , CPU:1 core - 500MHz
After I scale this instance to below resources I got "Failed to scale the VM":
RAM: 1024MB , CPU:1 core - 1000MHz
I don't face with above issue in cloudstack 4.3
ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-116:ctx-abd65263 10.10.171.156) Unexpected exception:
com.cloud.utils.exception.CloudRuntimeException: Memory of VM i-2-14-VM cannot be scaled to 1024MB. Requested memory limit is beyond the hotadd memory limit for this VM at the moment is 512MB.
at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1261)
at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:471)
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.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)