You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by benoit lair <ku...@gmail.com> on 2021/10/19 13:42:51 UTC

ACS 4.15.1 / XCP-NG 8.2

Hello,

I am trying to scale up a Debian VM from 4Go to 8Go ram
I ran into the following error :

2021-10-19 15:33:05,803 DEBUG [c.c.h.x.r.w.x.CitrixScaleVmCommandWrapper]
(DirectAgent-156:ctx-62880cee) (logid:e5db9099) Catch exception
com.cloud.utils.exception.CloudRuntimeException when scaling VM:i-2-83-VM
due to com.cloud.utils.exception.CloudRuntimeException: Cannot scale up the
vm because of memory constraint violation: 0 <=
memory-static-min(4294967296) <= memory-dynamic-min(8589934592) <=
memory-dynamic-max(8589934592) <= memory-static-max(4294967296)

Any ideas ?

Regards, Benoit Lair

Re: ACS 4.15.1 / XCP-NG 8.2

Posted by benoit lair <ku...@gmail.com>.
Thanks Nux,

We had already configured the parameter for enabling scaling vm

However, it seems this works with Centos 7 and CoreOS but not with Debian
10 and Debian 7

Regards, Benoit

Le mar. 19 oct. 2021 à 16:17, <nu...@li.nux.ro> a écrit :

> Hello,
>
> Give this a read, see if helps.
>
>
> https://users.cloudstack.apache.narkive.com/f1vzARuw/dynamic-scaling-of-cpu-and-ram-not-working#post8
>
> HTH
>
> On 2021-10-19 14:42, benoit lair wrote:
> > Hello,
> >
> > I am trying to scale up a Debian VM from 4Go to 8Go ram
> > I ran into the following error :
> >
> > 2021-10-19 15:33:05,803 DEBUG
> > [c.c.h.x.r.w.x.CitrixScaleVmCommandWrapper]
> > (DirectAgent-156:ctx-62880cee) (logid:e5db9099) Catch exception
> > com.cloud.utils.exception.CloudRuntimeException when scaling
> > VM:i-2-83-VM
> > due to com.cloud.utils.exception.CloudRuntimeException: Cannot scale up
> > the
> > vm because of memory constraint violation: 0 <=
> > memory-static-min(4294967296) <= memory-dynamic-min(8589934592) <=
> > memory-dynamic-max(8589934592) <= memory-static-max(4294967296)
> >
> > Any ideas ?
> >
> > Regards, Benoit Lair
>

Re: ACS 4.15.1 / XCP-NG 8.2

Posted by nu...@li.nux.ro.
Hello,

Give this a read, see if helps.

https://users.cloudstack.apache.narkive.com/f1vzARuw/dynamic-scaling-of-cpu-and-ram-not-working#post8

HTH

On 2021-10-19 14:42, benoit lair wrote:
> Hello,
> 
> I am trying to scale up a Debian VM from 4Go to 8Go ram
> I ran into the following error :
> 
> 2021-10-19 15:33:05,803 DEBUG 
> [c.c.h.x.r.w.x.CitrixScaleVmCommandWrapper]
> (DirectAgent-156:ctx-62880cee) (logid:e5db9099) Catch exception
> com.cloud.utils.exception.CloudRuntimeException when scaling 
> VM:i-2-83-VM
> due to com.cloud.utils.exception.CloudRuntimeException: Cannot scale up 
> the
> vm because of memory constraint violation: 0 <=
> memory-static-min(4294967296) <= memory-dynamic-min(8589934592) <=
> memory-dynamic-max(8589934592) <= memory-static-max(4294967296)
> 
> Any ideas ?
> 
> Regards, Benoit Lair