Bug 923868 - Specific unlimited quota should be aggregated as unlimited
Summary: Specific unlimited quota should be aggregated as unlimited
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.2.0
Assignee: ofri
QA Contact: Ondra Machacek
URL:
Whiteboard: sla
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-20 15:53 UTC by ofri
Modified: 2016-02-10 20:18 UTC (History)
12 users (show)

Fixed In Version: sf13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 09:12:21 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 13241 0 None None None Never

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


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