<div>Hi Vish,</div><div><br></div><div>Great, it works now, thank you so much for your help.</div><div><br></div><div>Does it means there is not any limit for the the memory overcommit ratio? If the physical memory is 4G in compute node and the swap partition is 4G as well, whether can I use more than 8G RAM for VMs?</div>
<div><br></div><div>Thanks,</div><div>Sam</div><br><br><div class="gmail_quote">On Thu, Jun 21, 2012 at 3:13 PM, Vishvananda Ishaya <span dir="ltr"><<a href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I just noticed there is a bug in ram_allocation_ratio, it actually only multiplies the check for free ram which doen't do a lot.  Bug filed here:<div>
<br></div><div><a href="https://bugs.launchpad.net/nova/+bug/1016273" target="_blank">https://bugs.launchpad.net/nova/+bug/1016273</a></div><div><br></div><div>In the meantime, to overcommit you will have to disable the ram check completely by setting the following set of enabled filters in conf.</div>
<div><br></div><div>scheduler_default_filters=AvailabilityZoneFilter,ComputeFilter<br><div><div><div><br></div><div>Vish</div><div><div class="h5"><div><br></div><div>On Jun 21, 2012, at 3:03 PM, Sam Su wrote:</div><br><blockquote type="cite">
<div>Hi Vish,</div><div><br></div><div>Thank you for your response.</div><div><br></div><div>I added a 'line ram_allocation_ratio=10' in nova.conf, then restarted nova-scheduler in control node. after that was done, I tried to create a VM, but it still failed, and the debug info is showing as below:</div>

<div><a href="http://pastebin.com/RDHb9fDU" target="_blank">http://pastebin.com/RDHb9fDU</a>
</div><div><br></div><div>Can you help me to take a look at the error info at your convenience?</div><div><br></div><div>Thanks,</div><div>Sam</div><br><div class="gmail_quote">On Thu, Jun 21, 2012 at 12:23 PM, Vishvananda Ishaya <span dir="ltr"><<a href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Try setting:<div><br></div><div>ram_allocation_ratio=10</div><div><br></div><div>in your nova.conf (it defaults to 1.5)</div>

<div><br></div><div>Vish</div><div><br><div><div><div><div>On Jun 21, 2012, at 11:34 AM, Sam Su wrote:</div><br></div></div><blockquote type="cite"><div><div>Hi,<div><br></div><div>I have a mini openstack environment with one compute node and one nova control node. There is 4G memory in the compute node, and I have allocated 2 VMs with 2G memory for each VM. When I try to create another VM , I get the error as below:</div>


<div><a href="http://pastebin.com/QZMQvXtB" target="_blank">http://pastebin.com/QZMQvXtB</a>
</div><div><br></div><div>I am wondering whether Openstack has support memory overcommit? How to do this? </div><div><br></div><div>It will be much appreciated If someone can give me some hints about this in convenience.</div>


<div><br></div><div>Thanks,</div><div>Sam</div></div></div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>

Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>

</blockquote></div><br></div></div></blockquote></div><br>
</blockquote></div></div></div><br></div></div></div></blockquote></div><br>