Improve the way how custom constraints are validated

Registered by Oleksii Chuprykov

For large stacks validation part can take a long time, primarily because of calls to external api for constraint validation.
1. Make validation of custom constraint asynchronously, so control to user will be returned before validation of custom constraints, this prevents from rpc api timeout on stack create/update call.
2. Validate constraints by groups, so, for example, instead of 2 calls to neutron to validate 2 networks, make one call to networks list and then validate needed names/ids.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Oleksii Chuprykov
Direction:
Needs approval
Assignee:
Oleksii Chuprykov
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/custom-constr-valid-impr,n,z

Addressed by: https://review.openstack.org/332932
    Add spec for custom constrains validation improvement

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.