Bug 911241 - [Admin Portal] Quota can be created on a DC and assigned to an object in another DC
Summary: [Admin Portal] Quota can be created on a DC and assigned to an object in anot...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.2.0
Assignee: Noam Slomianko
QA Contact: Ondra Machacek
URL:
Whiteboard: sla
Depends On:
Blocks: 917401
TreeView+ depends on / blocked
 
Reported: 2013-02-14 15:41 UTC by Jiri Belka
Modified: 2016-02-10 20:14 UTC (History)
11 users (show)

Fixed In Version: sf9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (18.27 KB, text/x-log)
2013-02-14 15:41 UTC, Jiri Belka
no flags Details
quota (103.28 KB, image/png)
2013-02-14 15:46 UTC, Jiri Belka
no flags Details


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

Description Jiri Belka 2013-02-14 15:41:07 UTC
Created attachment 697260 [details]
engine.log

Description of problem:
Quota can be created on a DC which has quota disabled. This looks like there is not enough checking what is currently selected DC when opening 'Add' dialog on DC's details subpane -> Quota subtab.

Such created quota is of course not visible on this DC which has quota disabled, and thus it is not possible to delete it without temporarily activating quota on such DC.

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

How reproducible:
100%

Steps to Reproduce:
1. Have 2 DCs, one with quota disabled (default), other one with audit quota
2. Select the DC with audit quota (in the "tree" you are on 'System' top level)
3. in DC's subpane, select Quota subtab, then click Add and select the DC without quota enabled (in my case I discovered this because disabled DC was first in the list)
  
Actual results:
1. After adding this quota, the quota appears in the list in Quota subtab for enabled DC even it was created on other one. While changing tabs, the quota disappears from the list. While selecting the DC with disabled quota, you cannot see the quota as there's no Quota subtab.
2. While changing position in the tree to the DC with disabled quota, there's Quota main tab with the created quota


Expected results:
1. Do not offer quota creation on DCs without quota enabled. Make strict checking which DC is selected and change the list of DCs in Add quota dialog (as this action is executed from specifics DC's Quota subtab)
2. Show Quota main tab only for DCs (in tree -> a DC is selected) which have quota enabled.

Additional info:

Comment 1 Jiri Belka 2013-02-14 15:46:17 UTC
Created attachment 697262 [details]
quota

Default DC selected, 31 DC in the list. In the bottom there's "forgotten" quota created on 31 DC which has quota disabled (although I got this only once).

Comment 2 Noam Slomianko 2013-03-24 14:47:34 UTC
Cannot change the ovirt gerrit tracker number, the new addition is in:
http://gerrit.ovirt.org/#/c/13305

Comment 4 Itamar Heim 2013-06-11 09:33:18 UTC
3.2 has been released

Comment 5 Itamar Heim 2013-06-11 09:33:47 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 09:49:38 UTC
3.2 has been released


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