<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">On 27 Nov 2014 05:36, "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">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>_______________________________________________<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">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>