[Openstack-operators] [openstack-dev] [nova] Quota Default Values

Diego Parrilla Santamaría diego.parrilla.santamaria at gmail.com
Sat Nov 17 09:13:55 UTC 2012


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.

So snapshots total size and snapshots number are key too. I would consider
total number of images in glance and total size in glance.

But disk_instances size quota is very important too. Specially when using a
shared storage.

Cheers
Diego

 --
Diego Parrilla
<http://www.stackops.com/>*CEO*
*www.stackops.com | * diego.parrilla at stackops.com** | +34 649 94 43 29 |
skype:diegoparrilla*
* <http://www.stackops.com/>
*

*




On Fri, Nov 16, 2012 at 10:25 PM, Nathanael Burton <
nathanael.i.burton at gmail.com> wrote:

> 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.
>
> Nate
> On Nov 14, 2012 5:01 PM, "Joe Gordon" <jogo at cloudscaling.com> wrote:
>
>> Hi openstack-dev and openstack-operators,
>>
>> 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.
>>
>> quota_instances=10
>> quota_cores=20
>> quota_ram=50 * 1024
>> quota_floating_ips=10
>> quota_metadata_items=128
>> quota_injected_files=5
>> quota_injected_file_content_bytes=10 * 1024
>> quota_injected_file_path_bytes=255
>> quota_security_groups=10
>> quota_security_group_rules=20
>> quota_key_pairs=100
>>
>>
>> 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
>> quota_cores=20.  With the default quotas you can only run 10 m1.tinys, 10
>> m1.mediums or 5 m1.larges.
>>
>> Operators, have you had any issues with the current default values for
>> quotas?
>>
>> While one should need to adjust the quotas as needed when using nova,
>> that does not negate the need for good default values.  So what 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?
>>
>> For comparison Amazon only has one quota by default, an instance quota of
>> 20 VMs (
>> http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2
>> ).
>>
>> best,
>> Joe Gordon
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20121117/9cb983d8/attachment.html>


More information about the OpenStack-operators mailing list