maxmem setting for pv xen domu

66 views
Skip to first unread message

Heiko Baumann

unread,
Mar 2, 2011, 9:34:05 AM3/2/11
to gan...@googlegroups.com
hi,

is it possible to set maxmem for a xen pv domu via ganeti? without it,
its not possible to change mem for a running domu to more than the
initial mem="" setting. i havent found anything in the docs.

regards
heiko

Iustin Pop

unread,
Mar 2, 2011, 9:55:06 AM3/2/11
to gan...@googlegroups.com

It is not, as currently it "breaks" Ganeti if you use DRBD instances.
But otherwise it should be fine, could you please file a request for
this?

thanks,
iustin

Heiko Baumann

unread,
Mar 2, 2011, 10:06:16 AM3/2/11
to gan...@googlegroups.com
thanks for the fast reply.

what exactly does "break" mean? does this affect the N+1 mem
calculation stuff?

a few minutes ago i've hacked constrants.py and hv_xen.py a little bit
to allow setting of maxmem via gnt-cluster modify -B maxmem="123" and
gnt-instance modify... and it works. :) however i guess this is just a
ugly hack because of my !coding skills ;)

is this the right place for the request? ->
http://code.google.com/p/ganeti/issues/list

regards
heiko

On Wed, 2 Mar 2011 15:55:06 +0100, Iustin Pop <ius...@google.com>
wrote:

Michael Hanselmann

unread,
Mar 2, 2011, 10:13:01 AM3/2/11
to gan...@googlegroups.com, Heiko Baumann
Am 2. März 2011 16:06 schrieb Heiko Baumann <he...@oss.hboss.de>:
> is this the right place for the request? ->
> http://code.google.com/p/ganeti/issues/list

Yes, it is.

Thanks,
Michael

Iustin Pop

unread,
Mar 2, 2011, 10:13:10 AM3/2/11
to gan...@googlegroups.com
On Wed, Mar 02, 2011 at 04:06:16PM +0100, Heiko Baumann wrote:
> thanks for the fast reply.
>
> what exactly does "break" mean? does this affect the N+1 mem
> calculation stuff?

Yep. It's not real breakage, hence the quotes. Also, Ganeti won't be
able to check other things (placement using the IAllocator framework
will not be correct, but if you don't use it it's OK).

> a few minutes ago i've hacked constrants.py and hv_xen.py a little
> bit to allow setting of maxmem via gnt-cluster modify -B
> maxmem="123" and gnt-instance modify... and it works. :) however i
> guess this is just a ugly hack because of my !coding skills ;)

If you fill in the contributor license agreement (see the wiki for
Developer Guidelines; sorry for this requirement) you can send the patch
for inclusion - it doesn't have to be perfect, so don't worry!

> is this the right place for the request? ->
> http://code.google.com/p/ganeti/issues/list

Yep!

thanks,
iustin

Reply all
Reply to author
Forward
0 new messages