Bug 693421

Summary: VDSM: VM gets No space left on device -> rhevm shows VM pauses for a second and than resumes writing until it freezes
Product: Red Hat Enterprise Linux 5 Reporter: Dafna Ron <dron>
Component: vdsm22Assignee: Dan Kenigsberg <dkenigsb>
Status: CLOSED NOTABUG QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6CC: abaron, bazulay, danken, iheim, srevivo, ykaul
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-10 07:41:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
vdsm log none

Description Dafna Ron 2011-04-04 15:44:19 UTC
Created attachment 489801 [details]
vdsm log

Description of problem:

storage gets to hard limit while VM with thin provision disk keeps writing, the VM pauses for a second and than resumes writing until SD free space reaches < 1 GB than it freezes. 

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

ic108

vdsm22-4.5-63.25.el5_6
vdsm22-cli-4.5-63.25.el5_6
vdsm22-debuginfo-4.5-63.25.el5_6
kvm-qemu-img-83-224.el5

How reproducible:

100%

Steps to Reproduce:
1. create a 15GB SD (after attach you should have 14GB)
2. Create a VM with 15GB thin provision disk 
3. Run VM with ISO install of 2008 
4. VM will finish the install with 2/3 free GB -> keep writing to VM after install finish
  
Actual results:

once storage reaches the hard limit VM will pause for a second and than resume writing utile SD will reach < 1GB -> VM will pause and freeze. 

Expected results:

1. VM should pause once it reaches the hard limit.
2. should not pause at all instead of pausing and than resuming for a second. 
 
Additional info:vdsm log

Comment 1 Dan Kenigsberg 2011-04-05 13:03:33 UTC
I may not understand the bug, but I don't consider it as such. There are occasions where vdsm does not manage to extend the VM disk ahead of time, and the VM has to be paused (bug 671169 for example).

Please reopen if you think this is urgent enough to fix in 2.2.Z.