<div dir="ltr">Hi Thierry,<br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-06 11:46 GMT+01:00 Thierry Carrez <span dir="ltr"><<a href="mailto:thierry@openstack.org" target="_blank">thierry@openstack.org</a>></span>:<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 class="">Dina Belova wrote:<br>
>> Would Climate also be usable to support functionality like Spot<br>
>> Instances ? "Schedule when spot price falls under X" ?<br>
><br>
> Really good question. Personally I think that Climate might help<br>
> implementing this feature, but probably it’s not the main thing that<br>
> will work there.<br>
><br>
> Here are my concerns about it. Spot instances require way of counting<br>
> instance price:<br>
</div>> [...]<br>
<br>
Not necessarily. It's a question of whether Climate would handle only<br>
"schedule at" (a given date), or more generally "schedule when" (a<br>
certain event happens, with date just being one event type). You can<br>
depend on some external system setting spot prices, or any other<br>
information, and climate rules that would watch regularly that external<br>
information to decide if it's time to run resources or not. I don't<br>
think it should be Climate's responsibility to specifically maintain<br>
spot price, everyone can come up with their own rules.<br>
<div class=""><div class="h5"><br></div></div></blockquote><div><br></div><div><br></div><div>I can't agree more on this. The goal of Climate is to provide some formal contract agreement in betwen an user and the Reservation service, for ensuring that the order will be placed and served correctly (with regards to quotas and capacity). Of course, what we call 'user' doesn't formally tend to be a 'real' user.</div>
<div>About spot instances use-case, I don't pretend to design it, but I could easily imagine that a call to Nova for booting an instance would place an order to Climate with a specific type of contract (what we began to call 'best-effort' and which needs to be implemented yet) where notifications for acquitting the order would come from Ceilometer (for instance). If no notifications come to Climate, the lease would not be honored. </div>
<div><br></div><div>See <a href="https://wiki.openstack.org/wiki/Climate#Lease_types_.28concepts.29">https://wiki.openstack.org/wiki/Climate#Lease_types_.28concepts.29</a> for best-effort definition of a lease.</div><div>
<br></div><div>-Sylvain</div><div><br></div></div></div></div>