Bug 684002 - user quota over 100% possible
Summary: user quota over 100% possible
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
Assignee: Scott Seago
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks: ce-regression ce-beta
TreeView+ depends on / blocked
 
Reported: 2011-03-10 21:37 UTC by Dave Johnson
Modified: 2012-05-15 21:41 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-15 21:41:27 UTC
Embargoed:


Attachments (Terms of Use)
user quota used = 200% (18.73 KB, image/png)
2011-03-10 21:37 UTC, Dave Johnson
no flags Details
user quota enforced (237.68 KB, image/png)
2011-10-12 09:02 UTC, Aziza Karol
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:0583 0 normal SHIPPED_LIVE new packages: aeolus-conductor 2012-05-15 22:31:59 UTC

Description Dave Johnson 2011-03-10 21:37:57 UTC
Created attachment 483572 [details]
user quota used = 200%

If admin has a user quota set to 2 with no instances running and then instantiates several images at once, it is possible for them to circumvent the quota and spin up more instances than the quota. 

A second way to get past their quota is to queue up several new instances and then stop they running instances so the new instances then all get started at once.  I set admin's quota to 2, started two instances, made sure they were running, create 4 more instances which stayed in the 'new' state, individually stopped the two running instances, waited a few moments and saw that the 4 'new' instances all transitioned to running.


[root@ce-qe-f14 ~]# rpm -qa | grep aeolus
aeolus-configure-2.0.0-4.fc1420110309224940gite08f2c6.noarch
aeolus-conductor-0.0.3-0.fc1420110309220719git7f7738b.x86_64
aeolus-conductor-daemons-0.0.3-0.fc1420110309220719git7f7738b.x86_64
aeolus-conductor-doc-0.0.3-0.fc1420110309220719git7f7738b.x86_64
[root@ce-qe-f14 ~]#

Comment 1 wes hayutin 2011-03-10 21:43:26 UTC
I'm not 100% sure if quotas are enforced for admin's

Comment 2 wes hayutin 2011-03-11 16:58:48 UTC
adding to the ce-beta blocking tracker

Comment 3 wes hayutin 2011-03-17 18:40:20 UTC
Are quota's supported for the beta release in March?

Comment 4 Scott Seago 2011-03-18 13:36:47 UTC
Quotas are enforced for admins too (but quotas are optional, so you don't have to assign an admin quota).

They should be working now though, so this sounds like a bug.

Comment 5 Scott Seago 2011-09-28 14:47:16 UTC
This is now working, fixed by other quota-oriented work.

Comment 7 Aziza Karol 2011-10-12 08:58:56 UTC
Quotas are enforced for users.

see attached screenshot.


verified on:
[root@dell-pe1950-02 templates]# rpm -qa  | grep aeolus
rubygem-actionpack-3.0.9-1.aeolus.el6.noarch
aeolus-conductor-0.5.0-0.20111007200330gite77b251.el6.noarch
rubygem-activerecord-3.0.9-1.aeolus.el6.noarch
rubygem-ZenTest-4.3.3-2.aeolus.el6.noarch
rubygem-actionmailer-3.0.9-1.aeolus.el6.noarch
aeolus-conductor-doc-0.5.0-0.20111007200330gite77b251.el6.noarch
rubygem-activesupport-3.0.9-1.aeolus.el6.noarch
rubygem-arel-2.0.10-0.aeolus.el6.noarch
aeolus-configure-2.2.0-1.20111007151942git26136f2.el6.noarch
rubygem-aeolus-cli-0.1.0-3.20111003133323git9451323.el6.noarch
aeolus-all-0.5.0-0.20111007200330gite77b251.el6.noarch
rubygem-aeolus-image-0.1.0-3.20111003170706git8f23238.el6.noarch
aeolus-conductor-daemons-0.5.0-0.20111007200330gite77b251.el6.noarch
rubygem-rack-mount-0.7.1-3.aeolus.el6.noarch

Comment 8 Aziza Karol 2011-10-12 09:02:50 UTC
Created attachment 527633 [details]
user quota enforced

Comment 11 errata-xmlrpc 2012-05-15 21:41:27 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/RHEA-2012-0583.html


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