Bug 1297295

Summary: Multi-tenancy: Able to set child tenant quota greater then parent tenant
Product: Red Hat CloudForms Management Engine Reporter: Aziza Karol <akarol>
Component: UI - OPSAssignee: Libor Pichler <lpichler>
Status: CLOSED ERRATA QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: gtanzill, hkataria, jhardy, mpovolny, obarenbo, sshveta
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: cfme_tenant:quota
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:27:21 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 Aziza Karol 2016-01-11 06:17:33 UTC
Description of problem:


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

How reproducible:
100%

Steps to Reproduce:
1.Navigate to configure->Access control->tenants
2.For Tenant " My Company " enforce CPU quota and set it to for ex:5
3.create a child tenant and enforce CPU quota more then the parent tenant ex:20

Actual results:
No validation message is displayed if child quota is set to greater value  then tenant quota

Expected results:
validation required

Additional info:

Comment 2 Libor Pichler 2016-01-20 09:30:17 UTC
Hi Aziza,

this is ok,
'My Company' is root tenant and when you enforcing quotas for tenant which have parent tenant as root tenant, he can also have unlimited quota.

so in other words:
- Root tenant has no (unlimited) quota
- First level tenant can also have unlimited quota

thanks

Comment 3 Aziza Karol 2016-04-29 09:13:23 UTC
Marking as verified base on comment 2.

Root tenant and first level tenant can have unlimited quota.


Verified:5.6.0.4-beta2.3.20160421172650_719e256

Comment 5 errata-xmlrpc 2016-06-29 15:27:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348