Bug 1124143

Summary: Space validation for memory volumes is missing on VM hibernation
Product: [Retired] oVirt Reporter: Vered Volansky <vered>
Component: ovirt-engine-coreAssignee: Vered Volansky <vered>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: amureini, ecohen, gklein, iheim, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-3.5.0_rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:21:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 960934    

Description Vered Volansky 2014-07-29 04:59:18 UTC
Description of problem:
When moving a VM to hibernate, there's no validation that the SD has enough space for the memory volumes.

How reproducible:

Steps to Reproduce:
1. Hibernate a running VM with not enough memory in the VM's storage domain (more memory used by the VM than available on the SD).

Actual results:
This is not checked and should fail during operation.

Expected results:
CDA failure

Additional info:
Verify CDA failure with and without sufficient space on the SD.

Comment 1 Aharon Canan 2014-09-14 09:02:41 UTC
verified using vt3.1

"Cannot hibernate VM. No active data Storage Domain with enough storage was found in the Data Center"

1. create VM (4096MB ram) with one disk and run it
2. check the free space on the storage domain and create floating disk with "free space"-2GB
3. hibernate the VM.

Comment 2 Sandro Bonazzola 2014-10-17 12:21:01 UTC
oVirt 3.5 has been released and should include the fix for this issue.