Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 916174

Summary: wrong quota_usages updated when admin deletes instance of common use
Product: Red Hat OpenStack Reporter: Nikola Dipanov <ndipanov>
Component: openstack-novaAssignee: Brent Eagles <beagles>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1CC: ajeain, beagles, eglynn, jhenner, ndipanov, pbrady
Target Milestone: snapshot5Keywords: Reopened
Target Release: 2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-2012.2.3-5.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 920366 (view as bug list) Environment:
Last Closed: 2013-04-04 20:21:40 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 Nikola Dipanov 2013-02-27 13:10:36 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 3 Jaroslav Henner 2013-03-12 11:09:13 UTC
See the LP bug for more info about how to test.

Comment 4 RHEL Program Management 2013-03-12 11:27:12 UTC
Quality Engineering Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 5 Nikola Dipanov 2013-03-12 14:57:58 UTC
A short description of the bug copied from the upstream tracker:
" When admin with admin project delete a instance of common user, QUOTA will update the admin project quota_usages, but I except QUOTA to update the quota_usages common user project "

The way to test this would be to make sure that proper user project quotas are updated when deleting user resources with admin account.

Comment 7 Omri Hochman 2013-03-24 16:02:32 UTC
Verified with openstack-nova-common-2012.2.3-7.el6ost.noarch


Before Admin delete user's instances: 
--------------------------------------
- User created 10 instances --> Admin Quota Summary Used 10 of 10 Available Instances. 

- Admin Created 6 instances --> Admin Quota Summary Used 6 of 10 Available Instance

After Admin deletes 2 of the user's instances: 
----------------------------------------------
- User Quota Summary Used 8 of 10 Available Instances. 

- Admin Quota Summary Used 6 of 10 Available Instances.

Comment 9 errata-xmlrpc 2013-04-04 20:21:40 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.

http://rhn.redhat.com/errata/RHSA-2013-0709.html