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.
This bug was set to Guides-Admin. I've changed it to backend, I hope that's the right place for it.
Posted
(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?
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.
3.2 has been released