Unified Limits Integration with Glance

Registered by Victor Coutellier

Glance quota system is currently based on static value in config file,
so commmon for all tenant and cannot be consulted or edited without a
configuration change. There was many attempt to enhance this quota
system with a DB-based quota mecanism like we can found in Nova or Cinder,
but it was finally never implemented.

The goal here is to rely on the Keystone unified limit system[1], in order to
store the quota for each tenant in Keystone. This way, only the enforcing
of the quota will be done Glance side, using the oslo.limit[2] library.

[1] https://docs.openstack.org/keystone/latest/admin/unified-limits.html
[2] https://docs.openstack.org/oslo.limit/latest/user/usage.html

Blueprint information

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

Related branches

Sprints

Whiteboard

- During the POC implementation, some work was required on oslo.limit library (https://review.opendev.org/#/c/726929/), it was already discussed with keystone guy's and is in a good way to be merged soon.
- In order to better explain how to use and configure oslo.limit library, an onboarding guide was submitted : https://review.opendev.org/#/c/726930/

Gerrit topic: https://review.opendev.org/#/q/topic:bp/unified_limits_glance

Addressed by: https://review.opendev.org/732374
    [WIP] Implement unified limits

Gerrit topic: https://review.opendev.org/#/q/topic:bp/implement-unified-limits

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.