Glance Quota Enhancements

Registered by Vilobh Meshram

At present there seem to be no way the operator can track information about the number of instance snapshot created. This is useful is the operator or the cloud provider wants to limit the amount of instance snapshot he wants to limit a particular user or tenant to. In Juno an option user_storage_quota was added which checks for available storage capacity (for non-zero values). In Icehouse it used to only support 0 (unlimited). We need something similar for checking the number of instance snapshots quota. Checking instance snapshot quota should be a preliminary step even before checking for available space. And if any of them fail the instance snapshot creation should bail out rather than proceeding ahead with uploading image to glance.

Also there are no CLI options to expose glance quota details, which IMHO makes it harder for end user to figure out what the quota options are and how it is being utilized.

Blueprint information

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

Related branches

Sprints

Whiteboard

Glad to see it's proposed, again :) I was thinking to refactor the quota code when I work on the nested quota stuff. But it would be better to track it with a separated blueprint. I'm happy to take it if nobody is working on this. -- flwang

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.