Bug 1405119 - Tenant Quota allows you to set the Total quota to be less than the Allocated value(s) for sub-tenants.
Summary: Tenant Quota allows you to set the Total quota to be less than the Allocated ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.7.0
Assignee: Gregg Tanzillo
QA Contact: Vatsal Parekh
URL:
Whiteboard: cfme_tenant:quota
Depends On:
Blocks: 1468726
TreeView+ depends on / blocked
 
Reported: 2016-12-15 16:21 UTC by William Fitzgerald
Modified: 2018-04-12 15:25 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-12 15:25:59 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
picture of tenant and child tenant quota (84.40 KB, image/png)
2016-12-15 16:21 UTC, William Fitzgerald
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1311319 0 unspecified CLOSED Tenant quota - Sub-tenants are allowed resources when top tenant resources are exhausted . 2021-02-22 00:41:40 UTC

Internal Links: 1311319

Description William Fitzgerald 2016-12-15 16:21:49 UTC
Created attachment 1232271 [details]
picture of tenant and child tenant quota

Description of problem:
Tenant Quota allows you to set the Total quota to be less than the Allocated value(s) for sub-tenants.


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


How reproducible:
100%

Steps to Reproduce:
1.  Set sub-tenant quota for cpu to be 8 (or any number greater than 1)
2.  Set tenant quota for cpu to 1
3.

Actual results:
Tenant quota is allowed to be less than total allocated.

Expected results:
Tenant quota should NOT be allowed to be less than total allocated.

Additional info:

Comment 4 Yuri Rudman 2017-08-28 18:03:22 UTC
Is this issue exists for subtenants on second or third level ?

Comment 5 William Fitzgerald 2017-08-30 21:30:10 UTC
This exists on the second level.

Billy

Comment 6 Yuri Rudman 2017-08-31 11:25:15 UTC
Billy, Thank you for checking.
Just for clarificationcon:
Let's say tenants hierarchy is: Root -> Tenant1 -> Tenant2 -> Tenant3.

By design we are not checking limitation for Root and Tenant1. (unfortunately UI does allow to set-up quotes, which will be ignored). Quotes check starting from Tenant2.

Could you confirm that issue exists when setting quotes for Tenant2 bigger that allocated quote for Tenanat3

Comment 7 William Fitzgerald 2017-08-31 15:26:16 UTC
Yuri,

The UI will NOT let you set quota for tenant2 bigger than tenant3.  The problem is the lowest level isn't checking anything and will let you set quota to whatever you want. 
In my case, I set the quota to 200 for tenant2.  I set the quota for tenant3 to 400 and it should have not allowed me to go beyond what tenant2 is set at (200).

Hope this helps

Billy

Comment 8 William Fitzgerald 2018-04-12 15:25:59 UTC
By design we are not checking limitation for Root and Tenant1.


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