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
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add spec for custom constrains validation improvement
(?)