Something my customers ask frequently is what about a quota for the instances disk size. Explaining them that choosing carefully the size of the flavors is enough (the disk size can be attached to the memory and vcpu size) is not enough (obviously they want to size the flavors 'uncarefully'...). And trying to explain qcow2, base images, _base directory and other smart openstack techniques is irrelevant. <div>
<br></div><div>So snapshots total size and snapshots number are key too. I would consider total number of images in glance and total size in glance.</div><div><br></div><div>But disk_instances size quota is very important too. Specially when using a shared storage.</div>
<div><br></div><div>Cheers</div><div>Diego</div><div class="gmail_extra"><br clear="all"> -- <br><span style="border-collapse:separate;font-family:Times"><span style="border-collapse:collapse;font-family:arial,sans-serif"><div align="left" style="font-size:13px">
<div><font><span lang="ES" style="font-family:Arial">Diego Parrilla<br><a href="http://www.stackops.com/" title="file:///C:/Documents%20and%20Settings/carolina.capsir.per1/Application%20Data/Microsoft/Signatures/www.garrigues.com
www.garrigues.com" style="color:rgb(7,77,143)" target="_blank"><span title="file:///C:/Documents%20and%20Settings/carolina.capsir.per1/Application%20Data/Microsoft/Signatures/www.garrigues.com"></span></a></span></font><font face="Arial" style="font-family:arial,helvetica,sans-serif"><b>CEO</b><font size="1"><br>
</font></font><span style="border-collapse:separate;font-family:Times;font-size:medium"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"></span></span><b><font face="Arial" style="font-family:arial,helvetica,sans-serif"><a href="http://www.stackops.com/" target="_blank"><b>www.stackops.com</b></a> | </font></b><font face="Arial" style="font-family:arial,helvetica,sans-serif"><font size="1"> <a href="mailto:diego.parrilla@stackops.com" target="_blank">diego.parrilla@stackops.com</a></font></font><span style="border-collapse:separate;font-family:Times;font-size:medium"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><font color="#004438" face="Arial"><b><b><span lang="EN-GB" style="font-size:10pt"></span></b></b></font></span></span><font face="Arial" style="font-family:arial,helvetica,sans-serif"><font size="1"> | </font></font><span style="border-collapse:separate;font-family:Times;font-size:medium"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><font face="Arial" style="font-family:arial,helvetica,sans-serif"><font size="1">+34 649 94 43 29 | <a>skype:diegoparrilla</a></font></font></span></span><font face="Arial" style="font-family:arial,helvetica,sans-serif"><a href="http://www.stackops.com/" target="_blank"><b><br>
</b></a></font></div></div><div style="font-size:13px"><font color="#004438" face="Arial"><b><p><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Times;font-size:medium"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><span style="border-collapse:separate;font-family:Times;font-size:medium"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><font color="#004438" face="Arial"><b><b><span lang="EN-GB" style="font-size:10pt"><img src="http://stackops.s3-external-3.amazonaws.com/STACKOPSLOGO-ICON.png"></span></b></b></font></span></span></span></span></p>
</b></font></div></span></span><div><br></div><br>
<br><br><div class="gmail_quote">On Fri, Nov 16, 2012 at 10:25 PM, Nathanael Burton <span dir="ltr"><<a href="mailto:nathanael.i.burton@gmail.com" target="_blank">nathanael.i.burton@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>One area that's been a problem for me as an operator is that there are no quotas around instance snapshots. I would like to see quotas on the number of snapshots and total size of snapshot space utilized. </p>
<p>Nate</p>
<div class="gmail_quote"><div><div class="h5">On Nov 14, 2012 5:01 PM, "Joe Gordon" <<a href="mailto:jogo@cloudscaling.com" target="_blank">jogo@cloudscaling.com</a>> wrote:<br type="attribution"></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi openstack-dev and <span style="color:rgb(34,34,34);font-size:13px;white-space:nowrap;font-family:arial,sans-serif">openstack-operators</span>,<div><br></div><div>I would like to start a discussion on what the default values for quotas should be; many of the default values have not been changed since September 2010 (commit 56779ebfec9cd382f170e307a1dc6403e339807f), and it may be time to revisit the default values. Below is a list of the current default quota values in nova/quota.py.</div>
<div><br></div><div><div>quota_instances=10</div><div>quota_cores=20</div><div>quota_ram=50 * 1024</div><div>quota_floating_ips=10</div><div>quota_metadata_items=128</div>
<div>quota_injected_files=5</div><div>quota_injected_file_content_bytes=10 * 1024</div><div>quota_injected_file_path_bytes=255</div><div>quota_security_groups=10</div><div>quota_security_group_rules=20</div><div>quota_key_pairs=100</div>
<div><br></div><div><br></div><div>While some of these values are fairly large for small scale testing (100 key_pairs), some quotas are easily reached in a small environment such as quota_instances=10 and </div><div>quota_cores=20. With the default quotas you can only run 10 m1.tinys, 10 m1.mediums or 5 m1.larges.</div>
<div><br></div><div>Operators, have you had any issues with the current default values for quotas?</div><div><br></div><div>While <span><font face="Arial Unicode MS, Arial, sans-serif">one should need to adjust the quotas as needed when using nova, that does not negate the need for good default values. So w</font></span>hat should the default values be? Should some of the quotas be disabled by default? Should we have default values for all of the quotas or force users to explicitly set some? Who is the target audience for the default values for the quotas?</div>
<div><br></div><div>For comparison Amazon only has one quota by default, an instance quota of 20 VMs (<a href="http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2" target="_blank">http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2</a>).</div>
<div><br></div><div>best,</div><div>Joe Gordon</div>
</div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">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>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br></div>