Refresh quotas usage

Registered by Romain Hardouin

For some reasons*, the quotas usage can be out of sync.
When a quota is wrongfully reached, a user cannot launch new VMs anymore.
This "refresh" feature allows operators to quickly unblock users without
manually running queries against the database or temporarily increase the
quota.

[*] It seems that there are several root causes and there is no procedure
     to reproduce bugs. Although these root causes will eventually be
     identified, we cannot guarantee that some bugs will not occur again.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Low
Drafter:
Romain Hardouin
Direction:
Approved
Assignee:
Chuck Carmack
Definition:
Approved
Series goal:
Accepted for newton
Implementation:
Implemented
Milestone target:
milestone icon newton-2
Started by
Matt Riedemann
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/refresh-quotas-usage,n,z

Addressed by: https://review.openstack.org/161782
    Refresh quotas usage

Please note this blueprint will delayed until the M release if it is not in the NeedsCodeReview state (with all the code up for review) before July 16th, and merged by July 30th. We expect to re-open master for the M release in September. For more information, please see: https://wiki.openstack.org/wiki/Nova/Liberty_Release_Schedule#Non-priority_Blueprint_Feature_Freeze and http://lists.openstack.org/pipermail/openstack-dev/2015-June/065819.html
--johnthetubaguy 15th July 2015

Unapproved for liberty due to the Non-Priority Feature Proposal Freeze. --johnthetubaguy 16th July 2015

Addressed by: https://review.openstack.org/226925
    Re-propose spec for refresh-quotas-usage

Sorry, we have now hit the Non-Priority Feature Freeze for Mitaka. For more details please see: http://docs.openstack.org/releases/schedules/mitaka.html#m-nova-npff and http://docs.openstack.org/developer/nova/process.html#non-priority-feature-freeze
--johnthetubaguy 2016.01.31

Addressed by: https://review.openstack.org/286302
    Re-propose spec for refresh-quotas-usage

Addressed by: https://review.openstack.org/297977
    Add nova-manage quota_usage_refresh command

Addressed by: https://review.openstack.org/299441
    Database API changes for the nova-manage quota_usage_refresh command

Addressed by: https://review.openstack.org/299487
    Quota driver changes for the nova-manage quota_usage_refresh command

Addressed by: https://review.openstack.org/299621
    Add nova-manage quota_usage_refresh command

Addressed by: https://review.openstack.org/400319
    DB API changes for the nova-manage quota_usage_refresh command

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.