On Wed, Sep 29, 2010 at 7:12 PM, Miguel Di Ciurcio Filho
<[email protected]> wrote:

Hi,

> While playing with Ganeti and using KVM as the hypervisor, this error 
> occurred:
>
> r...@node01:~# gnt-instance modify -B memory=512M prcolor
> Failure: prerequisites not met for this operation:
> error type: insufficient_resources, error details:
> This change will prevent the instance from starting, due to 107 MB of
> memory missing on its primary node
>
> Then checking the correspondent primary node, I was playing manually
> with KVM there and messing around with hugetlbfs.
>
> As I've reserved a lot of RAM to hugepages, there was actually no room
> to accommodate the instance (it was down previously).
>
> It appears to me that Ganeti is not counting free hugepages as free
> memory (I've greped the code). Plus, I could not find a way to pass
> the parameter -mem-path to actually use the allocated hugepages for
> the instance on the primary node.
>

Yes, we haven't worked on doing this. Could you file a bug requesting
this? (patches are also welcome) :)

Thanks,

Guido

Reply via email to