Store Quota Data

Registered by Everett Toews

In order to enable the use of quotas across different OpenStack components we need to store and access them centrally. Keystone can be used as that central datastore.

Blueprint information

Status:
Complete
Approver:
Joseph Heck
Priority:
Medium
Drafter:
Everett Toews
Direction:
Approved
Assignee:
Dmitry Russkikh
Definition:
Obsolete
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Dmitry Russkikh
Completed by
Dolph Mathews

Related branches

Sprints

Whiteboard

This functionality almost done.
Links:
  https://review.openstack.org/#/c/37545
  https://review.openstack.org/40568
Please review

Dmitry Russkikh [2013-08-30]
----------

Hi Everett, Joseph,

Im curious about what happens when quota is reached ? Especially on the swift part.
Is the access to the tenant blocked ? Is it read only ? Is it blocked only for file upload ?
Would it be possible for the admin to chose the system behaviour when quota is reached ?

And last question, is there a quota planned for authorized bandwidth ? That might be useful for my current project :)

Regards,
Salim B.
--------

Salim: I don't think it should be keystone's responsibility (at least as part of this blueprint) to address enforcement for quotas (similar to our approach to policies) or the consequences for exceeding a quota, which might vary by consuming service. [+1 -dolph]

Untargeted the bp from Havana, as it's API impacting and not likely to land in m2 at this point (API-level feature freeze at end of milestone 2!). If anyone is planning on pursuing this during Havana, ping me. -dolph

Hi, Everett, Joseph,

what is the status of this ? It looks like a sub-set of what is proposed in https://blueprints.launchpad.net/keystone/+spec/domain-quota-management-and-enforcement

I'm going to work on this BP. What is current status of this BP? Did anyone work on it? -dstepanenko

Hi!
We are implementing a general DB schema to store quotas in Keystone. But we are planning to support only quotas at domain level. So, it lacks support for project quotas. https://blueprints.launchpad.net/keystone/+spec/domain-quota-management-and-enforcement

Documentation: https://review.openstack.org/#/c/37545

Gerrit topic: https://review.openstack.org/#q,topic:bp/store-quota-data,n,z

Addressed by: https://review.openstack.org/44878
    Add OS-QUOTAS API extention: DB

Addressed by: https://review.openstack.org/40568
   Add OS-QUOTAS API extention: API

Marking quota bp's as Obsolete and untargeted for icehouse, as a complete lack of interest in utilizing centralized quota storage was expressed by the other PTLs during today's cross-project #openstack-meeting -dolph

(?)

Work Items

Work items:
Design: DONE
Keysone API: INPROGRESS
keystoneclient: INPROGRESS

Dependency tree

* Blueprints in grey have been implemented.