Bug 906485 - When DC is in audit mode, wrong error message shown, when try to create disk on storage with no quota set.
Summary: When DC is in audit mode, wrong error message shown, when try to create disk ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.2.0
Assignee: Noam Slomianko
QA Contact: Ondra Machacek
URL:
Whiteboard: sla
Depends On:
Blocks: 917401 948448
TreeView+ depends on / blocked
 
Reported: 2013-01-31 17:23 UTC by Ondra Machacek
Modified: 2016-02-10 20:17 UTC (History)
12 users (show)

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


Attachments (Terms of Use)
error_messsage (8.65 KB, image/png)
2013-01-31 17:23 UTC, Ondra Machacek
no flags Details


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

Description Ondra Machacek 2013-01-31 17:23:46 UTC
Created attachment 691113 [details]
error_messsage

Description of problem:


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

How reproducible:
always

Steps to Reproduce:
1. Create two storagedomains SD1 and SD2.
2. Create quota. Limit SD1 to 20GB and SD2 keep unchecked.
3. Set DC to Audit mode. (OK in Enforced mode)
4. Create disk on SD2.
  
Actual results:
Error message:
Cannot ${action} ${type}. No quota is defined for the selected domain. Assign a quota to the domain or select a different domain.

Expected results:
Error message:
Cannot add Virtual Machine Disk. Quota is not valid.
or
No quota is defined for the selected domain. Assign a quota to the domain or select a different domain.

Additional info:

Comment 1 Doron Fediuck 2013-02-13 14:58:48 UTC
Clarifying one thing-
In quota audit mode, he warning should be given, but disk creation
should succeed.
Other than that I agree message should be fixed.

Comment 2 Ondra Machacek 2013-03-19 15:27:58 UTC
Failed QA - When datacenter is in audit mode, then I can't create disk, when storagedomain has not quota assigned.

To reproduce:
1) Create SD.
2) Set dc to audit mode.
3) Create quota. Select 'specific Storage domains' radio btn, and leave SD unchecked.
4) Create disk in SD.

Actual results: Nothing happend.
Expected results: Disk is created, and warning message appear.

Comment 3 Noam Slomianko 2013-04-02 13:05:43 UTC
I have checked and it works fine in both upstream ovirt and latest rhev-3.2
so... what status should it be?

Comment 4 Ondra Machacek 2013-04-02 13:42:10 UTC
Don't work for me in 3.2.0-10.17.master.el6ev.

If I create SD(also if there is more then one SD). And I create quota with specific Storage domains radio btn leaved unchecked. I can't create disk on this SD. If Datacenter is in audit mode.

Comment 9 Itamar Heim 2013-06-11 09:41:58 UTC
3.2 has been released

Comment 10 Itamar Heim 2013-06-11 09:42:40 UTC
3.2 has been released

Comment 11 Itamar Heim 2013-06-11 09:54:28 UTC
3.2 has been released


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