default quotas too low for undercloud

Bug #1178104 reported by Robert Collins
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Derek Higgins

Bug Description

The default quotas cap out at 10 instances, but an undercloud is going to have many more instances, with a single or small number of tenants. We should have bootstack set them up much higher. E.g. 10000.

Revision history for this message
Robert Collins (lifeless) wrote :

quotas are apparently defaulted in nova.conf; or we can make a tenant and set on the tenant. Tenant is probably better long term.

Revision history for this message
Robert Collins (lifeless) wrote :
Revision history for this message
Robert Collins (lifeless) wrote :

We probably need to set
# number of instances allowed per project (integer value)
#quota_instances=10

# number of instance cores allowed per project (integer value)
#quota_cores=20

# megabytes of instance ram allowed per project (integer
# value)
#quota_ram=51200

# number of floating ips allowed per project (integer value)
#quota_floating_ips=10

Revision history for this message
Robert Collins (lifeless) wrote :

e.g. for a 40 unit rack with 24 cores, 96GB of ram;
# number of instances allowed per project (integer value)
quota_instances=40

# number of instance cores allowed per project (integer value)
quota_cores=960

# megabytes of instance ram allowed per project (integer
# value)
quota_ram=3932160

# number of floating ips allowed per project (integer value)
quota_floating_ips=40

Revision history for this message
Derek Higgins (derekh) wrote :

I'll take a look at this,

I'm guessing a script similar to init-keystone will be enough, how about setting to -1 by default?

nova quota-update --ram -1 <tenantid>
nova quota-update --cores -1 <tenantid>
nova quota-update --instances -1 <tenantid>

Derek Higgins (derekh)
Changed in tripleo:
assignee: nobody → Derek Higgins (derekh)
Brent Eagles (beagles)
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.