Bug 923868

Summary: Specific unlimited quota should be aggregated as unlimited
Product: Red Hat Enterprise Virtualization Manager Reporter: ofri <omasad>
Component: ovirt-engineAssignee: ofri <omasad>
Status: CLOSED CURRENTRELEASE QA Contact: Ondra Machacek <omachace>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, dfediuck, dyasny, gchaplik, iheim, lpeer, pstehlik, Rhev-m-bugs, sgrinber, thildred, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: sf13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-11 09:12:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ofri 2013-03-20 15:53:02 UTC
Description of problem:
Specific unlimited quota should be aggregated as unlimited. currently it is not counted to the aggregated value.

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


How reproducible:
100%

Steps to Reproduce:
1. open quota tab in admin portal
2. create a specific quota and set one of the clusters/storage domains to Unlimited. 
3. view the quota table (quota tab)
  
Actual results:
the unlimited is not counted. the quota aggregation is done only for the limited quotas. 


Expected results:
the value should be 'Unlimited'

Additional info:
Also, add a popup alert if the user is creating such quota (specific with unlimited), stating that this is not the best practice.

Comment 1 Tim Hildred 2013-03-21 01:57:06 UTC
This bug was set to Guides-Admin. I've changed it to backend, I hope that's the right place for it.

Comment 2 ofri 2013-03-21 12:45:29 UTC
Posted

Comment 3 Ondra Machacek 2013-04-09 13:25:38 UTC
(In reply to comment #0)
> 2. create a specific quota and set one of the clusters/storage domains to Unlimited

I guess, that when all storages/clusters are set to unlimited, then there should be no popup, right? Currently popup appears also when all storages/clusters are set to unlimited.

Or what's the right behaviour for this?
When I have 0 of storages/clusters set to unlimted, then no popup appears, and free resources are showed as ussual.

When I have 1 or more of storages/clusters set to unlimted, show popup and show free resources as Unlimited.

When I have all of storages/clusters set to unlimted, show popup?

Comment 4 ofri 2013-04-10 06:31:45 UTC
When all of SD/clusters set to unlimited the popup should appear. the reason for that is that it is still not a good practice to set a specific quota and set all SD or clusters to 'Unlimited'.

There are two scenarios:
1. the user set all the clusters/SD in his Data Center to Unlimited - in that case, it is obvious that setting a general quota would be better. think what happen when the user will add a new SD to his Data Center (for example). the new SD will be left outside the quota - not exactly what the user meant.

2. the user set a specific quota to only some of the SD/clusters in his DC but set those selected resources to "Unlimited" - a more correct way would be to set a global Unlimited quota and control the resources available to the user by giving him the correct permissions to the resources available to him.

Comment 5 Itamar Heim 2013-06-11 09:12:21 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 09:39:19 UTC
3.2 has been released