Reliable quota enforcement
Quotas are currently unreliable and exposed to race conditions which can manifest with multiple API workers.
Quota enforcement should be "reformed" in order to become more reliable and efficient.
Also, if in the we also manage to make the code more maintainable that would be awesome.
Blueprint information
- Status:
- Complete
- Approver:
- Kyle Mestery
- Priority:
- High
- Drafter:
- Salvatore Orlando
- Direction:
- Approved
- Assignee:
- Salvatore Orlando
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Implemented
- Milestone target:
- 7.0.0
- Started by
- Kyle Mestery
- Completed by
- Kyle Mestery
Related branches
Related bugs
Sprints
Whiteboard
Sept-2-2015(armax): 4 patches left, most likely they'll land in RC1
March-17 (mestery): Out of Kilo we go.
March-6 (mestery): Granted a FFE until 3-11-2015 for Kilo.
December-18 (mestery): Kilo-3.
Gerrit topic: https:/
Addressed by: https:/
Reliable quota enforcement specification
Gerrit topic: https:/
Addressed by: https:/
Raise QuotaResourceUknown in the quota engine
Gerrit topic: https:/
Addressed by: https:/
Support for reservations
Addressed by: https:/
Add a non-mixin function for model queries
Addressed by: https:/
Add a "light" base test class for DB tests
Addressed by: https:/
Add DB support for resource usage tracking
Addressed by: https:/
Create packages for quota modules
Gerrit topic: https:/
Addressed by: https:/
Enable resource usage tracking for "reference" plugins.
Addressed by: https:/
Introduce usage data tracking for Neutron
Gerrit topic: https:/
Addressed by: https:/
Devref for quotas
Addressed by: https:/
Add plural names for quota resources
Gerrit topic: https:/
Addressed by: https:/
Merge remote-tracking branch 'origin/master' into merge-branch
Addressed by: https:/
Merge remote-tracking branch 'origin/master' into merge-branch
Addressed by: https:/
Quota enforcement: python3 compatibility
Gerrit topic: https:/
Addressed by: https:/
Merge remote-tracking branch 'origin/master' into merge-branch
Addressed by: https:/
Reservations support
Addressed by: https:/
Devref for quotas
Addressed by: https:/
Quota enforcement: python3 compatibility
Addressed by: https:/
Quota enforcement: remove locks on _dirty_tenants
Addressed by: https:/
Do not track active reservations
Addressed by: https:/
Restore reservations in API controller
Addressed by: https:/
Improve DB operations for quota reservation
Addressed by: https:/
Reservations: Don't count usage if resource is unlimited
Addressed by: https:/
Improve python code for missing suggestion
Gerrit topic: https:/
Addressed by: https:/
Merge remote-tracking branch 'origin/master' into merge-branch
Gerrit topic: https:/
Addressed by: https:/
Merge remote-tracking branch 'origin/master' into merge-pecan-
Gerrit topic: https:/
Addressed by: https:/
Merge remote-tracking branch 'origin/master' into walnut