Bug 855635 - engine [Quota]: when quota is enforced and we import a vm before we have a valid quota in the DC we continue in the import and fail with quota invalid error
Summary: engine [Quota]: when quota is enforced and we import a vm before we have a va...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Gilad Chaplik
QA Contact: Dafna Ron
URL:
Whiteboard: sla
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-09 13:24 UTC by Dafna Ron
Modified: 2016-02-10 20:14 UTC (History)
9 users (show)

Fixed In Version: si20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 19:59:56 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log (378.52 KB, application/x-xz)
2012-09-09 13:24 UTC, Dafna Ron
no flags Details
screenshot (50.14 KB, image/jpeg)
2012-09-09 13:25 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2012-09-09 13:24:49 UTC
Created attachment 611235 [details]
log

Description of problem:

when we move our DC to quota enforce and try to import a vm before creating any quota in the setup we fail with quota is invalid error. 
since the quota roller is shown empty I think we should highlight the roller as empty and not allow the import. 

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

si17

How reproducible:

100%

Steps to Reproduce:
1. move your DC to quota enforced
2. try to import a vm
3.
  
Actual results:

we continue with the import and fail on quota invalid CanDoAction

Expected results:

we should perform a check before we import (like we do for a valid domain) and if no quota exists we should highlight the roller for quota alerting user that the import will fail without a valid quota. 

Additional info: log

Comment 1 Dafna Ron 2012-09-09 13:25:18 UTC
Created attachment 611236 [details]
screenshot

Comment 2 Gilad Chaplik 2012-09-19 15:27:15 UTC
pushed upstream (http://gerrit.ovirt.org/8060)

Comment 6 Dafna Ron 2012-10-07 09:07:53 UTC
verified on si20


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