Bug 1264420

Summary: quota consistence across the projects
Product: Red Hat OpenStack Reporter: Pablo Caruana <pcaruana>
Component: openstack-novaAssignee: Eoghan Glynn <eglynn>
Status: CLOSED WONTFIX QA Contact: nlevinki <nlevinki>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: berrange, dasmith, eglynn, kchamart, ndipanov, pbrady, sbauza, sferdjao, sgordon, vromanso, yeylon
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-25 13:04:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pablo Caruana 2015-09-18 12:30:53 UTC
When deploying stack from heat notice some  nova.usages and cinder.usages.

In short is a know limitation on the code and the database schema and hope this can give a better understanding when we take a look both nova.instances, nova.quota_usages and  cinder.quota_usages

from that point there are two things to resolve, the  database tables inconsistencies  between and inside nova,cinder and neutron protects and potential RFE for covering code and/or potential db schemas.


From what Already researched this looks is a know issue in Openstack tables at least from nova as nova.usages not tracking the uuid for the instance uuid consuming the quota and if removed from the hypervisor, leaving  you to a manual comparison.

Comment 5 Eoghan Glynn 2015-09-25 13:04:27 UTC
The internal database schema for nova and cinder are not considered a user-visible API or contract. Instead, these are considered a private implementation detail.

Also, these schema are not maintained in a cross-project way aiming for consistency (unlike how say the API working group attempts to acheive cross-project consistency on the public REST APIs).

So, making these database schema consistent is not something we can commit to doing.