Quota validation for whole template

Registered by Kaz Shinohara on 2017-09-05

Current Heat does not have any validation to check if the number of requested resources exceeds the quota or not.
This might cause unexpected stack creation failures even though the given resource parameters are good.
Quota check should work for the whole template to validate the following case.

for .e.g.
Requested Nova instances in a template: 9
Existing Nova instances in that tenant: 2
Allowed number of nova instance by quota: 10
=> StackValidationFailed

In this case, quota check logic need to count up the number of requested nova instance in the template, and then ask the list of instances & the quota value to Nova.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Kaz Shinohara
Direction:
Needs approval
Assignee:
Kaz Shinohara
Definition:
Discussion
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/quota-validation-whole-template,n,z

Addressed by: https://review.openstack.org/501107
    WIP: Quota validation for whole template

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.