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

Bug 917387

Summary: If quota limits are changed, when disk is moving between storagedomains, then exceed value is remembered.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ondra Machacek <omachace>
Component: ovirt-engineAssignee: ofri <omasad>
Status: CLOSED NEXTRELEASE QA Contact: Ondra Machacek <omachace>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, chetan, dfediuck, dyasny, iheim, lpeer, omasad, pstehlik, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---Flags: sgrinber: Triaged+
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: Doc Type: Release Note
Doc Text:
When moving a disk between two storage domains with different quotas (or the same quota set for each specific storage domain) the source quota resources are released while the destination quota resources are consumed. If the quota is refreshed or edited, or if the engine is restarted, the quota accounting is rolled back until the move operation is done.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-18 07:30:27 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
engine.log none

Description Ondra Machacek 2013-03-03 20:18:00 UTC
Created attachment 704638 [details]
engine.log

Description of problem:


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

How reproducible:
always

Steps to Reproduce:
1. Create SD1 and SD2.
2. Create quota with storage limit SD1 to 10GB and SD2 to unlimited.
3. Set DC to enforce mode.
4. Create 10GB disk on SD1.
5. Move disk from SD1 to SD2.
6. Right after move action begin, change quota SD1 storage value to 5GB.
  
Actual results:
After disk is moved quota storage resources are still exceeded on SD1.

Expected results:
SD1 should be have quota storage resources freed.

Additional info:

Comment 1 ofri 2013-04-04 06:57:48 UTC
Please refer to bz#917382.
Quota consumption and release are calculated only at the end of the move process.

Fixed in the patch: the correct status of the quota will be shown even if no change is done to the quota limitations.