Bug 1234461 - RFE: add instance uuid column to nova.quota_usages table
Summary: RFE: add instance uuid column to nova.quota_usages table
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 5.0 (RHEL 6)
Hardware: Unspecified
OS: Unspecified
Target Milestone: beta
: 10.0 (Newton)
Assignee: Eoghan Glynn
QA Contact: Prasanth Anbalagan
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_newton-2 upstream_...
Depends On:
TreeView+ depends on / blocked
Reported: 2015-06-22 15:05 UTC by Dan Yocum
Modified: 2019-10-10 09:53 UTC (History)
12 users (show)

Fixed In Version: openstack-nova-14.0.0-0.20160726054215.02421fc.el7ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2016-12-14 15:13:04 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2948 normal SHIPPED_LIVE Red Hat OpenStack Platform 10 enhancement update 2016-12-14 19:55:27 UTC
Launchpad 1467560 None None None Never

Description Dan Yocum 2015-06-22 15:05:39 UTC
he nova.quota_usages table frequently gets out-of-sync with the currently active/stopped instances in a tenant/project, specifically, there are times when the instance will be set to terminated/deleted in the instances table and the quota_usages table will retain the data, counting against the tenant's total quota. As far as I can tell there is no way to correlate instances.uuid with the records in nova.quota_usages.

I propose adding an instance uuid column to make future cleanup of this table easier.

I also propose a housecleaning task that does this clean up automatically.

Comment 3 Stephen Gordon 2016-04-11 18:36:24 UTC
Per launchpad bug discussion there is a blueprint addressing the core issue proposed here:


Comment 6 Prasanth Anbalagan 2016-10-05 16:04:18 UTC

openstack-nova-api.noarch             1:14.0.0-0.20160929203854.59653c6.el7ost
openstack-nova-cert.noarch            1:14.0.0-0.20160929203854.59653c6.el7ost
openstack-nova-common.noarch          1:14.0.0-0.20160929203854.59653c6.el7ost
openstack-nova-compute.noarch         1:14.0.0-0.20160929203854.59653c6.el7ost
openstack-nova-conductor.noarch       1:14.0.0-0.20160929203854.59653c6.el7ost
openstack-nova-console.noarch         1:14.0.0-0.20160929203854.59653c6.el7ost
openstack-nova-novncproxy.noarch      1:14.0.0-0.20160929203854.59653c6.el7ost
openstack-nova-scheduler.noarch       1:14.0.0-0.20160929203854.59653c6.el7ost

The feature was verified with automation 


Log files have been attached.

Comment 8 errata-xmlrpc 2016-12-14 15:13:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.