Count resources to check quota in API for cells
For cellsv2, quota tables are moving to the API database as data global to
a deployment. Currently, for instance delete, quota reservations are made in
the API and then committed in compute. This is a disconnect which couples
compute cells with the API cell. In cellsv2, we endeavor to decouple compute
cells from the API cell as much as possible -- ideally, cells should not
need to have the API database connection in their configuration.
We propose a new approach of counting consumed resources and checking the
count against the quota limits in the API instead of the current reserve/commit
model where a reservation record is created, quota usage records are created
and marked as "in_use" when they are committed, and the reservarion record
deleted.
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- Essential
- Drafter:
- melanie witt
- Direction:
- Approved
- Assignee:
- melanie witt
- Definition:
- Approved
- Series goal:
- Accepted for pike
- Implementation:
-
Implemented
- Milestone target:
-
pike-3
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Proposal for moving quota commits to API for cells
Gerrit topic: https:/
Addressed by: https:/
Amend proposal to count resources to check quota in API for cells
Gerrit topic: https:/
Addressed by: https:/
WIP Count resources to check quota for cells
Addressed by: https:/
Make Quotas object favor the API database
Addressed by: https:/
Add online migration to move quotas to API database
I've deferred this to Pike. Let's re-propose the spec for Pike and then continue the work there. -- mriedem 20170203
Addressed by: https:/
Proposal to count resources to check quota in API for cells
Addressed by: https:/
Add Quotas.
Addressed by: https:/
Count server group quotas
Addressed by: https:/
Count tenant_networks quotas
Addressed by: https:/
Count used_limits quotas
Addressed by: https:/
Remove useless quota_usage_refresh from nova-manage
Addressed by: https:/
Add get_count_
Addressed by: https:/
Add SecurityGroup.
Addressed by: https:/
Add FixedIP.
Addressed by: https:/
Add FloatingIP.
Addressed by: https:/
Add InstanceGroup.
Addressed by: https:/
Add InstanceGroup.
Addressed by: https:/
Count server group members to check quota
Addressed by: https:/
Count security groups to check quota
Addressed by: https:/
Count fixed ips for checking quota
Addressed by: https:/
Count floating ips to check quota
Addressed by: https:/
Clarify 'cells-
Addressed by: https:/
Default to 0 when merging values in limit check
Addressed by: https:/
Add scatter_
Addressed by: https:/
Make key_pairs use check_deltas for quota
Addressed by: https:/
Make security_
Addressed by: https:/
Limit maximum pending resizes for preventing over quota
Gerrit topic: https:/
Addressed by: https:/
Stop counting hw_video:ram_max_mb against quota
Addressed by: https:/
Default reservations=None in Cells v1 and conductor APIs
Work Items
Dependency tree

* Blueprints in grey have been implemented.