<div dir="ltr"><div>I think it could bring more general discussion on how to collect physical equipment information, and which to be collected?<br></div>right now, ceilometer only tracking the VM level, and when we use ironic, we expect the ironic can bring us some good information on the deployed physical machine images.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 23, 2013 at 10:17 AM, Gao, Fengqian <span dir="ltr"><<a href="mailto:fengqian.gao@intel.com" target="_blank">fengqian.gao@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div bgcolor="white" link="blue" vlink="purple" lang="ZH-CN">
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hi, Pradipta,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">From personal experience,  I think lm-sensors is not good as IPMI. I have to configure it manually and the sensor data it could get also less than
 IPMI.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">So, I prefer to use IPMI. Did you use it before? Maybe you can share your experience.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Best wishes<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">--fengqian<u></u><u></u></span></p>
<p class="MsoNormal"><a name="1431d4155af99492__MailEndCompose"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></a></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext" lang="EN-US"> Pradipta Banerjee [mailto:<a href="mailto:bpradipt@yahoo.com" target="_blank">bpradipt@yahoo.com</a>]
<br>
<b>Sent:</b> Friday, December 20, 2013 10:52 PM<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a></span></p><div class="im"><br>
<b>Subject:</b> Re: [openstack-dev] [Nova] [Ironic] Get power and temperature via IPMI<u></u><u></u></div><p></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On 12/19/2013 12:30 AM, Devananda van der Veen wrote:<u></u><u></u></span></p>
</div><div><div class="h5">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On Tue, Dec 17, 2013 at 10:00 PM, Gao, Fengqian <<a href="mailto:fengqian.gao@intel.com" target="_blank">fengqian.gao@intel.com</a>> wrote:<u></u><u></u></span></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi, all,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I am planning to extend bp
<a href="https://blueprints.launchpad.net/nova/+spec/utilization-aware-scheduling" target="_blank">
https://blueprints.launchpad.net/nova/+spec/utilization-aware-scheduling</a> with power and temperature. In other words, power and temperature can be collected and used for nova-scheduler just as CPU utilization.<u></u><u></u></span></p>

</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<p class="MsoNormal"><span lang="EN-US">This is a good idea and have definite use cases where one might want to optimize provisioning based on power consumption<br>
<br>
<u></u><u></u></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">I have a question here. As you know, IPMI is used to get power and temperature and baremetal implements IPMI functions in Nova. But baremetal driver is being
 split out of nova, so if I want to change something to the IPMI, which part should I choose now? Nova or Ironic?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi!<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">A few thoughts... Firstly, new features should be geared towards Ironic, not the nova baremetal driver as it will be deprecated soon (<a href="https://blueprints.launchpad.net/nova/+spec/deprecate-baremetal-driver" target="_blank">https://blueprints.launchpad.net/nova/+spec/deprecate-baremetal-driver</a>).
 That being said, I actually don't think you want to use IPMI for what you're describing at all, but maybe I'm wrong.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">When scheduling VMs with Nova, in many cases there is already an agent running locally, eg. nova-compute, and this agent is already supplying information to the scheduler. I think this is where the facilities for gathering
 power/temperature/etc (eg, via lm-sensors) should be placed, and it can reported back to the scheduler along with other usage statistics.<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</blockquote>
<p class="MsoNormal"><span lang="EN-US">+1<br>
<br>
Using lm-sensors or equivalent seems better. <br>
Have a look at the following blueprint<br>
<a href="https://blueprints.launchpad.net/nova/+spec/extensible-resource-tracking" target="_blank">https://blueprints.launchpad.net/nova/+spec/extensible-resource-tracking</a><br>
<br>
<u></u><u></u></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">If you think there's a compelling reason to use Ironic for this instead of lm-sensors, please clarify.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Cheers,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Devananda<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><br>
<br>
<br>
<u></u><u></u></span></p>
<pre><span lang="EN-US">_______________________________________________<u></u><u></u></span></pre>
<pre><span lang="EN-US">OpenStack-dev mailing list<u></u><u></u></span></pre>
<pre><span lang="EN-US"><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><u></u><u></u></span></pre>
<pre><span lang="EN-US"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></span></pre>
</blockquote>
<p class="MsoNormal"><span lang="EN-US"><br>
<br>
<br>
<u></u><u></u></span></p>
<pre><span lang="EN-US">-- <u></u><u></u></span></pre>
<pre><span lang="EN-US">Regards,<u></u><u></u></span></pre>
<pre><span lang="EN-US">Pradipta<u></u><u></u></span></pre>
</div></div></div>
</div>

<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>