Bug 859732

Summary: Quota calculation need to be explained
Product: Red Hat Enterprise Virtualization Manager Reporter: ofri <omasad>
Component: DocumentationAssignee: Tim Hildred <thildred>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, dfediuck, dyasny, gklein, jskeoch, yeylon
Target Milestone: ---Flags: omasad: needinfo-
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 17:21:59 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 ofri 2012-09-23 15:44:32 UTC
Since quota calculation differs from the actual storage usege visable to the user, the quota calculation logic need to be explained.

Comment 3 Tim Hildred 2012-09-25 01:34:07 UTC
From emails from Ofri and Gilad:

> > Here is what i think is missing:
> >
> > ************************
> > Quota accounting:
> > After a quota was assigned to a costumer or a resource, each action

/s/costumer/consumer

> > by that user or on that resource that involves storage, vcpu or
> > memory will result in quota consumption or quota release. For
> > example: when a user runs a VM with 1 vcpu and 1024MB memory – the
> > action will consume 1 vcpu and 1024MB of the quota assigned to that
> > user. When The VM will be stopped 1 vcpu and 1024MB will be
> > released
> > back to the quota assigned to that user (Note that Run-time Quota
> > consumption is accounted only during the actual run-time of the
> > consumer).
> > Since the quota acts as an upper bound which limits the user's
> > resources, the quota calculations may differ from the actual
> > current
> > use of the user. The quota is calculated for the max growth
> > potential and not the current usage. For example: if a user creates
> > a virtual thin provision disk of 10GB, the actual disk usage may
> > indicate only 3GB of that disk are actually in use. The quota
> > consumption, however, would be 10GB (The max growth potential of
> > that disk).

Comment 4 Tim Hildred 2012-09-28 07:39:22 UTC
Added new topic to admin guide:
Quota Accounting [11740]

Comment 7 Tim Hildred 2012-10-08 00:57:41 UTC
Yes. And it should say virtual machine instead of VM. 

I'll fix it now. 

Moving to MODIFIED until I can stage it again.