Hi openstack-dev and <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;white-space:nowrap;background-color:rgb(255,255,255)">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 style><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>