Quota system for glance

Registered by Pranesh on 2014-05-13

Currently, glance only has quota enforcement. The commit that introduced that feature clearly states that it doesn't care about actually setting quotas, only enforcement (which is fair). However, a pretty common use case is to limit images a user can create (esp if there is snapshot creator permission). Currently,there is no equivalent of the nova quota-* commands, only a byte setting in glance.conf. That implementation might ideally be different to how nova does it(acc to some), but it's probably not a bad idea to have a similar framework for glance.

Cinder (and nova) client seems to implement the following:
quota-class-show
quota-class-update
quota-defaults
quota-show
quota-update
quota-usage

This also seems to establish a trend of several services needing quota-* commands.

Blueprint information

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

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.