Bug 906485

Summary: When DC is in audit mode, wrong error message shown, when try to create disk on storage with no quota set.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ondra Machacek <omachace>
Component: ovirt-engineAssignee: Noam Slomianko <nslomian>
Status: CLOSED CURRENTRELEASE QA Contact: Ondra Machacek <omachace>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, dfediuck, dyasny, ecohen, iheim, lpeer, mgoldboi, pstehlik, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: sf16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 917401, 948448    
Attachments:
Description Flags
error_messsage none

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