<div dir="ltr">Hello Operators,<div><br></div><div>It will help to consider this change for Queens release if you could let us know your opinion/concerns over this change done in Pike release.</div><div><br></div><div>Regards</div><div>Nisha</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 8, 2017 at 1:36 AM, Nisha Agarwal <span dir="ltr"><<a href="mailto:agarwalnisha1980@gmail.com" target="_blank">agarwalnisha1980@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 dir="ltr"><span class="">>><span style="font-size:12.8px">Nisha is raising the question about whether or not we're making incorrect assumptions >>about how people are using nova/ironic and they want to use the non-Exact filters for >>VCPU/MEMORY_MB/DISK_GB, which as far as I have ever heard is not >>recommended/supported upstream as it can lead to resource tracking issues in Nova that >>eventually lead to scheduling failures later because of the scheduler thinking a node is >>available for more than one instance when it's really not.</span><div><span style="font-size:12.8px"><br></span></div></span><div><span style="font-size:12.8px">Just to clarify, I havent heard about this issue lately when we use non-Exact filters. (before Pike release).</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Regards</span></div><div><span style="font-size:12.8px">Nisha</span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Sep 8, 2017 at 1:27 AM, Matt Riedemann <span dir="ltr"><<a href="mailto:mriedemos@gmail.com" target="_blank">mriedemos@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 class="m_7318931560357819691HOEnZb"><div class="m_7318931560357819691h5">On 9/7/2017 2:48 PM, Nisha Agarwal wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_7318931560357819691h5">
Hi Ironic Operators,<br>
<br>
 From Pike, ironic nodes get scheduled based on just the resource class from nova. Do you guys see any concerns over this "rigid resource class only ironic scheduling"?<br>
<br>
To be more specific, at your datacentre/production environment what all filters are configured in nova.conf (configuration file for nova) for scheduling an ironic node? Do you use RamFilter/DiskFilter/CoreFilte<wbr>r in the "use_baremetal_filters" for ironic nodes scheduling from nova?<br>
<br>
Thanks and Regards<br>
Nisha<br>
<br>
<br>
<br></div></div>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
<br>
</blockquote>
<br>
Some more background information is in the ironic spec here:<br>
<br>
<a href="https://review.openstack.org/#/c/500429/" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/500429/</a><br>
<br>
Also, be aware of these release notes for Pike related to baremetal scheduling:<br>
<br>
<a href="http://docs-draft.openstack.org/77/501477/1/check/gate-nova-releasenotes/1dc7513//releasenotes/build/html/unreleased.html#id2" rel="noreferrer" target="_blank">http://docs-draft.openstack.or<wbr>g/77/501477/1/check/gate-nova-<wbr>releasenotes/1dc7513//releasen<wbr>otes/build/html/unreleased.htm<wbr>l#id2</a><br>
<br>
In Pike, nova is using a combination of VCPU/MEMORY_MB/DISK_GB resource class amounts from the flavor during scheduling as it always has, but it will also check for the custom resource_class which comes from the ironic node. The custom resource class is optional in Pike but will be a hard requirement in Queens, or at least that was the plan. The idea being that long-term we'd stop consulting VCPU/MEMORY_MB/DISK_GB from the flavor during scheduling and just use the atomic node.resource_class since we want to allocate a nova instance to an entire ironic node, and this is also why the Exact* filters were used too.<br>
<br>
There are more details on using custom resource classes for scheduling here:<br>
<br>
<a href="https://specs.openstack.org/openstack/nova-specs/specs/pike/approved/custom-resource-classes-in-flavors.html" rel="noreferrer" target="_blank">https://specs.openstack.org/op<wbr>enstack/nova-specs/specs/pike/<wbr>approved/custom-resource-class<wbr>es-in-flavors.html</a><br>
<br>
Nisha is raising the question about whether or not we're making incorrect assumptions about how people are using nova/ironic and they want to use the non-Exact filters for VCPU/MEMORY_MB/DISK_GB, which as far as I have ever heard is not recommended/supported upstream as it can lead to resource tracking issues in Nova that eventually lead to scheduling failures later because of the scheduler thinking a node is available for more than one instance when it's really not.<span class="m_7318931560357819691HOEnZb"><font color="#888888"><br>
<br>
-- <br>
<br>
Thanks,<br>
<br>
Matt<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_7318931560357819691gmail_signature" data-smartmail="gmail_signature">The Secret Of Success is learning how to use pain and pleasure, instead<br>of having pain and pleasure use you. If You do that you are in control<br>of your life. If you don't life controls you.</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">The Secret Of Success is learning how to use pain and pleasure, instead<br>of having pain and pleasure use you. If You do that you are in control<br>of your life. If you don't life controls you.</div>
</div>