Support for basic quotas in Glance
It would be very helpful if we were able to limit the usage of some basic image-related resources, like
- the number of images stored
- the amount of storage in occupied by a set of images
Apparently, implementation of these limits in Glance would require an introduction of some sort of quota capabilities similar to those in Nova and Cinder. Ideally Nova, Cinder and Glance could share the same quota handling code. There’s another blueprint which actually covers this potential approach to the problem resolution (see the blueprint’s dependencies).
- Mark Washenberger
- Artem Andreev
- John Bresnahan
- Series goal:
- Accepted for havana
- Milestone target:
- Started by
- John Bresnahan on 2013-08-02
- Completed by
- John Bresnahan on 2013-08-29
The two types of quotas for Glance that were discussed at the summit were "Images per Tenant" and "Total Image Bytes per Tenant". I'd also like to throw into the mix "Total Image Bytes per Store per Tenant".
I am not yet convinced that quotas are a situation where the benefits of code sharing and centralized storage outweigh the costs to performance, so I would like to remove "Ledger" as a dependency of this blueprint. There is still time to discuss the implementation details, however.
Untargeting until there is a volunteer assignee
<jbresnah> as a beging to this I would like to add enforcement code that limits a user to N bytes across all storage systems. At first the value for N will come from a .conf file, and once keystone has quota managment it will come from keystone</jbresnah>
Addressed by: https:/
Add a storage quota