Bug 921399 - Cannot start VMs in Posixfs datacenter with Quota in Audit/Enforced mode
Summary: Cannot start VMs in Posixfs datacenter with Quota in Audit/Enforced mode
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
low
urgent
Target Milestone: ---
: 3.2.0
Assignee: ofri
QA Contact: Pavel Stehlik
URL:
Whiteboard: sla
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-14 06:47 UTC by Anush Shetty
Modified: 2016-02-10 20:13 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-18 07:26:17 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Anush Shetty 2013-03-14 06:47:11 UTC
Description of problem: We are unable to create VMs in posixfs datacenter with RHS storagedomain when the quota mode is in Audit/Enforced mode for the datacenter. The quota dropdown while creating the VM is empty which is the reason we are unable to create the VM.


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

rhevm: rhevm-webadmin-portal-3.1.0-43.el6ev.noarch

How reproducible: Always


Steps to Reproduce:
1. Set the quota in Audit/Enforced mode for the posixfs datacenter
2.
3.
  
Actual results:

Cannot create VMs

Expected results:


Additional info:

Comment 1 Haim 2013-03-14 07:05:29 UTC
please attach all relevant logs, screen-shots, also, does it work for you when quota is disabled?

Comment 2 Anush Shetty 2013-03-14 07:18:11 UTC
Yes, works when quota is disabled.

Comment 6 ofri 2013-03-14 09:43:43 UTC
could not reproduce. please provide reproducible. 

Separating this into two: 
 - Creating new VM in Enforced mode without assigning a quota should not be permitted. To select Quota from quota drop down list the user must first create quotas in the Quota tab and define proper consumer. NOT A BUG. 

 - Creating a disk in Audit mode should not be blocked by quota mechanism. Could not reproduce this bug.

Comment 7 Anush Shetty 2013-03-14 09:48:48 UTC
1) Create a posixfs datacenter.
2) Change the quota from disabled to enforced.
3) Click on datacenter, I see the quota tab but see a way to assign quota. 
4) Try creating a VM, it fails
5) Now change the quota mode to audit. 
6) Create VM, add network interface but adding disk fails.


All of this is with RHEVM 3.1

Comment 9 ofri 2013-03-17 07:48:25 UTC
could not reproduce. please provide reproducible.

Creating Disk on Audit mode does not fail for me.
Please provide a log containing the Create-Disk Fail.

Comment 13 Doron Fediuck 2013-04-11 12:14:26 UTC
Just clearing one thing here;
Anush seems to be working on 3.1, while the bz is set for 3.2.
So indeed in 3.2 code this may not be reproducible (failure in audit),
as there was an issue which may have been fixed since.

So for 3.2 I'm lowering the priority for now.
Please provide a reproducer based on the published beta.


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