Heat should provide quota APIs.

Registered by huangtianhua

Quotas such as 'max_stacks_per_tenant', 'max_resources_per_stack' , 'max_events_per_stack' and so on are configurated in config file now in Heat, it's not flexible to modify. Heat should provide APIs related quota include quota-update/quota-show.

There are two advantages at least:
1. Can modify the quota value dynamic, not to restart the process of heat.
2. Can define different quota for project level not only global.

Blueprint information

Status:
Complete
Approver:
Steven Hardy
Priority:
Medium
Drafter:
huangtianhua
Direction:
Needs approval
Assignee:
huangtianhua
Definition:
Obsolete
Series goal:
None
Implementation:
Blocked
Milestone target:
None
Started by
huangtianhua
Completed by
Angus Salkeld

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-quota-api-for-heat,n,z

Addressed by: https://review.openstack.org/95633
    Add database model to store quotas

Addressed by: https://review.openstack.org/95710
    Add RPC methods for quota actions

Addressed by: https://review.openstack.org/96696
    Add quota model and migration

Addressed by: https://review.openstack.org/96697
    Add db APIs to access quota

Addressed by: https://review.openstack.org/96716
    Add quotas module with driver and resources

Addressed by: https://review.openstack.org/97001
    Add RPC methods for quota actions

Addressed by: https://review.openstack.org/98026
    Add APIs for quota

Addressed by: https://review.openstack.org/98362
    Apply limit_check and count methods

Addressed by: https://review.openstack.org/99589
    Expose stack limits API

After more than two years, I propose that we provide the quota api for heat, and aws cloudformation provides the function: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html

in above doc, we can see that the default quota of stacks is 200 in aws cloudformation, and there is an ability to increase the quota: "To create more stacks, delete stacks that you don't need or request an increase in the maximum number of stacks in your AWS account. For more information, see AWS Service Limits in the AWS General Reference."

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.