By the way, I remember seeing this kind of error message, too. Cannot scale up the vm because of memory constraint violation: 0 <= memory-static-min <= memory-dynamic-min <= memory-dynamic-max <= memory-static-max
------------------------------------------------------------------------------------------- Yu-Heng (Ryan) Lei, Associate Researcher Chunghwa Telecom Laboratories / Cloud Computing Laboratory ryan...@cht.com.tw or ryanlei750...@gmail.com On Fri, Dec 20, 2013 at 1:04 PM, Shanker Balan <shanker.ba...@shapeblue.com>wrote: > On 19-Dec-2013, at 6:44 pm, Harikrishna Patnala < > harikrishna.patn...@citrix.com> wrote: > > > Hi, > > From cloustack we need to specify whether Xenserver tools got installed > on the template. while registering a template we see a checkbox > “IsDynamic”, this represents whether tools installed or not. > > > > Please check the template that you have used to deploy vm contains > Xensever Tools. (List template and check the parameter > “isdynamicallyscalable”). > > If not, > > 1) install Xenserver tools in the vm > > 2) Call UpdateVM API with “isdynamicallyscalable” flag “true” > > 3) Stop and Start the VM. > > 4) Try to scale the vm > > > FWIW, it did not work for me when I tried it earlier. I can see CloudStack > attempting to change the setting but fails at the end. > > ACS 4.2.0 > CentOS 6.5 Guest + Xen Tools > XenServer 6.2 > > The specific error message is: > > ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-8:job-248 = > [ 362fda67-5c02-4284-944d-0a468ffdf64a ]) Unable to scale vm due to Catch > exception > com.cloud.utils.exception.CloudRuntimeException when scaling VM:i-3-101-VM > due to > com.cloud.utils.exception.CloudRuntimeException: Cannot scale up the vm > because of > memory constraint violation: 0 <= memory-static-min(134217728) > <= memory-dynamic-min(268435456) <= memory-dynamic-max(536870912) > <= memory-static-max(268435456) > > > -- > @shankerbalan > > M: +91 98860 60539 | O: +91 (80) 67935867 > shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue > ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, > Bangalore - 560 055 > > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views or > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not the > intended recipient of this email, you must neither take any action based > upon its contents, nor copy or show it to anyone. Please contact the sender > if you believe you have received this email in error. Shape Blue Ltd is a > company incorporated in England & Wales. ShapeBlue Services India LLP is a > company incorporated in India and is operated under license from Shape Blue > Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil > and is operated under license from Shape Blue Ltd. ShapeBlue is a > registered trademark. >