<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 12/19/2013 12:30 AM, Devananda van
der Veen wrote:<br>
</div>
<blockquote
cite="mid:CAExZKEpaUz4Bm86m2yajiZs7eb0mfhz7z0UfFwtf5zNswHb1jw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Tue, Dec 17, 2013 at 10:00 PM,
Gao, Fengqian <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:fengqian.gao@intel.com" target="_blank">fengqian.gao@intel.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="ZH-CN">
<div>
<p class="MsoNormal"><span style="font-size:12pt"
lang="EN-US">Hi, all,</span></p>
<p class="MsoNormal"><span style="font-size:12pt"
lang="EN-US">I am planning to extend bp
<a moz-do-not-send="true"
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.</span></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
This is a good idea and have definite use cases where one might want
to optimize provisioning based on power consumption<br>
<blockquote
cite="mid:CAExZKEpaUz4Bm86m2yajiZs7eb0mfhz7z0UfFwtf5zNswHb1jw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="ZH-CN">
<div>
<p class="MsoNormal"><span style="font-size:12pt"
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?</span></p>
<p class="MsoNormal"><span style="font-size:12pt"
lang="EN-US"> </span></p>
</div>
</div>
</blockquote>
<div> </div>
<div>Hi!</div>
<div><br>
</div>
<div>A few thoughts... Firstly, new features should be
geared towards Ironic, not the nova baremetal driver as it
will be deprecated soon (<a moz-do-not-send="true"
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.</div>
<div><br>
</div>
<div>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.</div>
</div>
</div>
</div>
</blockquote>
+1<br>
<br>
Using lm-sensors or equivalent seems better. <br>
Have a look at the following blueprint<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="https://blueprints.launchpad.net/nova/+spec/extensible-resource-tracking">https://blueprints.launchpad.net/nova/+spec/extensible-resource-tracking</a><br>
<blockquote
cite="mid:CAExZKEpaUz4Bm86m2yajiZs7eb0mfhz7z0UfFwtf5zNswHb1jw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div>If you think there's a compelling reason to use Ironic
for this instead of lm-sensors, please clarify.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Devananda</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">--
Regards,
Pradipta</pre>
</body>
</html>