Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 846777

Summary: ovirt-engine-backend [QUOTA]: actions failed by quota will keep on failing even when fixed because we are not clearing cache
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Gilad Chaplik <gchaplik>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: dfediuck, dyasny, iheim, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: sla
Fixed In Version: si17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:58:53 UTC 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:
Attachments:
Description Flags
log none

Description Dafna Ron 2012-08-08 16:31:56 UTC
Created attachment 603078 [details]
log

Description of problem:

I failed create a disk on quota because of space limitation -> extended domain and still failed. 
only after I edit + save the domain I am able to create the disk 

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

si13.2

How reproducible:

100%

Steps to Reproduce:
1. define a 100G quota on a specific 50G domain
2. try to create a disk which is 80G -> fail
3. extend the domain with 50G
4. try to create the disk again

* I first tried a preallocated disk and than a thin provision disk
both failed 
  
Actual results:

we would fail

Expected results:

cache should be cleared

Additional info: logs

Comment 1 Itamar Heim 2012-08-08 21:23:36 UTC
extend the storage domain by adding another LUN, or editing the quota on the storage domain?

Comment 2 Dafna Ron 2012-08-12 07:14:40 UTC
(In reply to comment #1)
> extend the storage domain by adding another LUN, or editing the quota on the
> storage domain?

adding another lun 
I had a domain with 50GB while the quota on the domain was 100GB (so the quota is more than the actual free space left and needed no editing), but once the action failed the first time the quota blocked further actions until I refreshed it (by edit -> save).

Comment 3 Gilad Chaplik 2012-08-29 15:54:58 UTC
sent to gerrit (http://gerrit.ovirt.org/#/c/7585/)

Comment 6 Gilad Chaplik 2012-09-03 09:29:46 UTC
pushed to downstream (https://gerrit.eng.lab.tlv.redhat.com/#/c/1757/1)

Comment 8 Gilad Chaplik 2012-09-03 11:40:38 UTC
(In reply to comment #7)
> merged downstream
> (https://gerrit.eng.lab.tlv.redhat.com/gitweb?p=ovirt-engine.git;a=commit;
> h=92f34edecb14637008afe4096f43835ad5b7ab46)

Ignore (it's a mistake)

merged downstream (https://gerrit.eng.lab.tlv.redhat.com/gitweb?p=ovirt-engine.git;a=commit;h=92e8e9f5e67c8162a5189b64995116d0cca288a9)

Comment 9 Dafna Ron 2012-09-09 14:28:23 UTC
verified on si17