Bug 1026083

Summary: Removing VM without removing its disks releases quota of the disks wrongfully
Product: Red Hat Enterprise Virtualization Manager Reporter: Gilad Chaplik <gchaplik>
Component: ovirt-engineAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, amureini, dfediuck, iheim, laravot, lpeer, mavital, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: is22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:16:42 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:
Bug Depends On:    
Bug Blocks: 1032811    

Description Gilad Chaplik 2013-11-03 13:40:56 UTC
Description of problem:

Remove VM, without removing its disks, releases the usage of quota in the cache.

How reproducible:
100%


Steps to Reproduce:
1. enforce quota in DC.
1. create storage quota with limitation of 1 GB.
2. add vm and 1GB disk to that VM, and assign the quota to the disk.
3. remove VM without removing the disk (uncheck remove disk in remove VM dialog).
4. create another disk and assign to that quota.

Actual results:
disk is created although the quota is maxed-out.

Expected results:
should fail on no sufficient storage quota resources.

Comment 1 Lukas Svaty 2013-11-08 12:07:40 UTC
tested in is22

Comment 2 Itamar Heim 2014-01-21 22:16:42 UTC
Closing - RHEV 3.3 Released

Comment 3 Itamar Heim 2014-01-21 22:23:25 UTC
Closing - RHEV 3.3 Released