<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 4 May 2017, at 19:26, Joshua Harlow <<a href="mailto:harlowja@fastmail.com" class="">harlowja@fastmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">So just wanted to throw this email out there to explore the area a little bit (since it's an ongoing issue that keeps on getting raised at godaddy),<br class="">
<br class="">
The basic question is how as a cloud operator (or developer in a cloud group) do you recommend to your superiors (or people ordering hardware or network gear and so-on) that they need more cloud capacity?<br class="">
<br class="">
It doesn't appear that nova has a 'leftover capacity for XYZ flavor' api or cinder a 'how many more volumes at X or Y or Z size' (or neutron with networks or IPs ...) so that makes me wonder how are people predicting when they need more hardware (or a more
networks or more volume storage or more floating ips or ... and so on).<br class="">
<br class="">
At godaddy we have this concept of a capacity dashboard that was doing all sorts of things to try to predict remaining capacity (if people really want this kind of code I can opensource it, though I will say it is *not* pretty).<br class="">
<br class="">
For example (image attached of what one of these dashboards looks like):<br class="">
<br class="">
- For a given set of flavors, how many more instances can be created with that flavor before no capacity in the cloud is left (ie giving people planning capacity a useful date when no more capacity will be left).<br class="">
- Same as ^ with floating ips (static ips also), ram, vcpus, ...<br class="">
<br class="">
Though part of what the above is missing is that same information per-tenant/project, per-user and such (ie various slicing and dicing of the same data)...<br class="">
<br class="">
Though this dashboard and its associated code/scripts was/is basically scrapping a bunch of the various openstack APIs, sending that information into hadoop and then using hive to extract all this various information. Though technically not horrible it does
seem like the various openstack project APIs should provide there own projections of this same data (without needing to scape it, send it to hadoop and then do various projections there).<br class="">
<br class="">
So general kind of question, how are people (other cloud operators or developers) figuring out this information? Is there something that others would like to get natively integrated into projects? Is there work already ongoing to do that?<br class="">
<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>This is also an area of concern for us. Tracking the usage is feasible (home written tools also) but predicting the future with the Tetris scheduling problems (i.e. lots of cores just too distributed, one availability zone getting full but space in another).
There was an interesting article today regarding similar problems in Azure so it seems a common problem (<a href="https://www.theregister.co.uk/2017/05/04/microsoft_azure_capacity_woes_hit_uk_customers/" class="">https://www.theregister.co.uk/2017/05/04/microsoft_azure_capacity_woes_hit_uk_customers/</a>)</div>
<div><br class="">
</div>
<div>I don’t think there is a best practise agreement yet on how to proceed so I think external scripts will have to do. Like you, the scripting is done to solve the local problem rather than be generic but we may find enough overlap to at least gather the
data consistently.</div>
<div><br class="">
</div>
<div>Would this fit into one of the forum sessions? Maybe the Large Deployment Team ones?</div>
<div><br class="">
</div>
<div>Tim</div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div class="">
<div class="">-Josh<br class="">
<span id="cid:D4499462-E518-41D5-B99F-EF2B0BAD8D37"><flavor_capacity.png></span>_______________________________________________<br class="">
OpenStack-operators mailing list<br class="">
<a href="mailto:OpenStack-operators@lists.openstack.org" class="">OpenStack-operators@lists.openstack.org</a><br class="">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</body>
</html>