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

Bug 1149809

Summary: Faulty storage allocation checks when running VM with unplugged disks as stateless
Product: [Retired] oVirt Reporter: Vered Volansky <vered>
Component: ovirt-engine-coreAssignee: Vered Volansky <vered>
Status: CLOSED NOTABUG QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: amureini, ecohen, gklein, iheim, lsurette, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1178022 (view as bug list) Environment:
Last Closed: 2015-01-12 13:00:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1054175, 1178022, 1193195    

Description Vered Volansky 2014-10-06 16:32:08 UTC
Description of problem:
Looking into the code, this verification was done with all disks, while it should have been done with only plugged disks.

Run a VM as stateless with and without plugged disks, and with and without storage space for new disks.

No plugged disks - CDA should pass - even when there's low storage space.
plugged disks - CDA should fail when there's not enough space for the plugged disks only.

      | File Domain                             | Block Domain
 -----|-----------------------------------------|-------------
 qcow | 1M (header size)                        | 1G
 -----|-----------------------------------------|-------------
 raw  | preallocated: disk capacity (getSize()) | disk capacity
      | thin (sparse): 1M                       | (there is no raw sparse on 
                                                   block domains)

Comment 1 Vered Volansky 2015-01-12 13:00:06 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=1178022#c3 as to why this is closed.