<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 18 Aug 2016, at 22:48, Michael Still <<a href="mailto:mikal@stillhq.com" class="">mikal@stillhq.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Shelved instances still consume IPs and hypervisor disk IIRC, so they're not free for nova. So, there has to be some form of accounting of shelved instances to stop resource exhaustion, especially in the IP space.
<div class=""><br class="">
</div>
<div class="">I'm not opposed to removing most of their cost from quota, but I don't think we can do it entirely.</div>
<div class=""><br class="">
</div>
<div class="">Michael</div>
<div class=""><br class="">
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
Once offloaded, the only resources consumed are in Glance and the IP reservation. I do not know if the IP reservation counts in the Neutron ports quota though.</div>
<div><br class="">
</div>
<div>I was aiming to distinguish between quota and cost, I would expect a public cloud provider to bill for the space used in Glance to avoid repeated snapshotting.</div>
<div><br class="">
</div>
<div>The exact timing of the quota reduction is also for debate. The resource provider only sees the benefit when the resource is offloaded but from the user perspective, the expectation would be that the quota is available once the user request is completed
(i.e. shelved). However, the resources are still being used at this point until the offload time is reached.</div>
<div><br class="">
</div>
<div>Tim</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class=""><br class="">
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Fri, Aug 19, 2016 at 3:50 AM, Tim Bell <span dir="ltr" class="">
<<a href="mailto:Tim.Bell@cern.ch" target="_blank" class="">Tim.Bell@cern.ch</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was interested to establish a consensus that<br class="">
<br class="">
- Shelved instances should not be part of the users quota<br class="">
- Quota in Glance (and associated chargeback if appropriate) is needed<br class="">
<br class="">
Glance space for us is much less expensive than people leaving their instances running. Equally, terminating a user’s inactive VM would not be popular so giving them a shelved instance would allow them to re-create it much more easily.<br class="">
<br class="">
Any objections to a blueprint that proposes shelving should be handled with the same quota model as snapshotting ?<br class="">
<span class="HOEnZb"><font color="#888888" class=""><br class="">
Tim<br class="">
</font></span>
<div class="HOEnZb">
<div class="h5"><br class="">
On 18/08/16 19:43, "Jonathan D. Proulx" <<a href="mailto:jon@csail.mit.edu" class="">jon@csail.mit.edu</a>> wrote:<br class="">
<br class="">
On Thu, Aug 18, 2016 at 03:24:28PM +0000, Tim Bell wrote:<br class="">
:<br class="">
:We’re having a look at VM shelving for the CERN community and struggling to find a motivation for a private cloud user to shelve their instances (and free up resources they may be only using infrequently).<br class="">
:<br class="">
:The problem is that shelved instances seem to still be included in the user’s quota. Without internal billing, the best motivation for users to shelve would be to allow them to maximize the use of their quota.<br class="">
:<br class="">
:Have any other sites used shelving extensively ? How did you motivate your users to shelve unused resources?<br class="">
<br class="">
<br class="">
Hi Tim,<br class="">
<br class="">
We've just started looking at this and for simialar reasons. I agree<br class="">
we should remove shelved resources from project quota. Shelved<br class="">
instances do still hold some storage resources so there may need to be<br class="">
new quota to accoutn for that some how...<br class="">
<br class="">
Currently the only motivation for our users to shelve is to get me to<br class="">
stop pestering them.<br class="">
<br class="">
We're considering policy based enforced shelving (based on some yet to<br class="">
be defined utilization metrics) but that's only a idea at this point<br class="">
not a plan.<br class="">
<br class="">
-Jon<br class="">
<br class="">
<br class="">
______________________________<wbr class="">_________________<br class="">
OpenStack-operators mailing list<br class="">
<a href="mailto:OpenStack-operators@lists.openstack.org" class="">OpenStack-operators@lists.<wbr class="">openstack.org</a><br class="">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank" class="">http://lists.openstack.org/<wbr class="">cgi-bin/mailman/listinfo/<wbr class="">openstack-operators</a><br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<br clear="all" class="">
<div class=""><br class="">
</div>
-- <br class="">
<div class="gmail_signature" data-smartmail="gmail_signature">Rackspace Australia</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</body>
</html>