Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-7591

Dynamic scaling doesn't work in CloudStack 4.4 with vmware

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 4.4.0, 4.5.0, 4.4.1, 4.4.2, 4.4.3, 4.5.1, 4.4.4, 4.5.2
    • Fix Version/s: None
    • Component/s: Management Server, VMware
    • Security Level: Public (Anyone can view this level - this is the default.)

      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)

        Attachments

        1. acs45.log
          31 kB
          Paul Angus
        2. log.txt
          49 kB
          Alireza Eskandari

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alireza Alireza Eskandari
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: