Bug 916174 - wrong quota_usages updated when admin deletes instance of common use
Summary: wrong quota_usages updated when admin deletes instance of common use
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: snapshot5
: 2.1
Assignee: Brent Eagles
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-27 13:10 UTC by Nikola Dipanov
Modified: 2022-07-09 06:03 UTC (History)
6 users (show)

Fixed In Version: openstack-nova-2012.2.3-5.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 920366 (view as bug list)
Environment:
Last Closed: 2013-04-04 20:21:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1078668 0 None None None Never
OpenStack gerrit 18640 0 None None None Never
Red Hat Product Errata RHSA-2013:0709 0 normal SHIPPED_LIVE Moderate: openstack-nova security and bug fix update 2013-04-05 00:19:00 UTC

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


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