<p dir="ltr">Then I would enable debug and verbose in nova.conf and restart the scheduler service. In this way you should see in the logs the entire scheduler logic and what resources it thinks your host has.</p>
<div class="gmail_quote">On 27 Nov 2014 06:20, "mad Engineer" <<a href="mailto:themadengin33r@gmail.com">themadengin33r@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">George,<div> overcommit of RAM is 1 and that is working.However instances are still getting created with available free memory < <span style="font-family:Arial;font-size:13px;font-weight:bold;white-space:pre-wrap">reserved_host_memory_mb</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 27, 2014 at 4:33 PM, George Mihaiescu <span dir="ltr"><<a href="mailto:lmihaiescu@gmail.com" target="_blank">lmihaiescu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Depending on your overcommit ratio, the scheduler can schedule instances using more virtual memory than the available physical memory on the host, 700 MB in your case.</p>
<div class="gmail_quote"><div><div>On 27 Nov 2014 05:36, "mad Engineer" <<a href="mailto:themadengin33r@gmail.com" target="_blank">themadengin33r@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">hi all i have set <div><span><span style="font-size:13px;font-family:Arial;font-weight:bold;vertical-align:baseline;white-space:pre-wrap">reserved_host_memory_mb </span><span style="font-size:13px;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">in nova.conf of controller and compute and restarted necessary services.</span></span><br></div><div><span style="font-size:13px;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">i am expecting scheduler to not pickup host that has less than what is </span><span style="font-size:13px;font-family:Arial;font-weight:bold;white-space:pre-wrap">reserved_host_memory_mb</span><br></div><div><span style="font-family:Arial;font-size:13px;white-space:pre-wrap">in my example i put </span><span style="font-family:Arial;font-size:13px;font-weight:bold;white-space:pre-wrap">reserved_host_memory_mb = 1024 </span></div><div><span style="font-family:Arial;font-size:13px;white-space:pre-wrap">and free RAM in compute node is 700 Mb.</span></div><div><span style="font-family:Arial;font-size:13px;white-space:pre-wrap">But still scheduler chooses this host and created a new instance on it.I am expecting scheduler to show "No valid Hosts found" as it has less ram than </span><span style="font-family:Arial;font-size:13px;font-weight:bold;white-space:pre-wrap">reserved_host_memory_mb = 1024</span></div><div><span style="font-family:Arial;font-size:13px;font-weight:bold;white-space:pre-wrap"><br></span></div><div><span style="font-family:Arial;font-size:13px;white-space:pre-wrap">Can some one help me understand this value</span></div><div><span style="font-family:Arial;font-size:13px;white-space:pre-wrap"><br></span></div><div><span style="font-family:Arial;font-size:13px;white-space:pre-wrap">Thanks</span></div></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div>
</blockquote></div><br></div>
</blockquote></div>