Bug 704666

Summary: Thin provisioned VM disk on iSCSI gets inflated after migrating
Product: Red Hat Enterprise Linux 6 Reporter: Jaroslav Henner <jhenner>
Component: vdsmAssignee: Eduardo Warszawski <ewarszaw>
Status: CLOSED ERRATA QA Contact: Kiril Nesenko <knesenko>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1CC: abaron, bazulay, danken, dfediuck, hateya, iheim, ilvovsky, knesenko, oramraz, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: vdsm-4.9-76.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 07:18:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 708022    
Bug Blocks:    
Attachments:
Description Flags
rhevm.log
none
vdsm.log for host .206
none
vdsm.log for host .213 none

Description Jaroslav Henner 2011-05-13 22:31:53 UTC
Created attachment 498870 [details]
rhevm.log

Description of problem:
The VM gets inflated after several migrations.

Version-Release number of selected component (if applicable):
RHEVM ic114
vdsm-4.9-64.el6.x86_64
libvirt-0.8.7-18.el6.x86_64
qemu-kvm-0.12.1.2-2.161.el6.x86_64
lvm2-2.02.83-3.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Have two hosts and VM with 2GB thin provisioned disk.
2. Migrate the VM. VM usually gets paused.
2. Migrate more times.
  
Actual results:
VM inflates from 1GB to 2GB and more, until the storage domain is full.

Expected results:
VM doesn't grow after migration.

Additional info:
Note there are some bugs possibly related in the see also.
Note that that is currently a bug #701671 causing a missing lvs entries on my host 10.34.57.206

Comment 1 Jaroslav Henner 2011-05-13 22:33:12 UTC
Created attachment 498871 [details]
vdsm.log for host .206

Comment 2 Jaroslav Henner 2011-05-13 22:34:04 UTC
Created attachment 498872 [details]
vdsm.log for host .213

Comment 4 Oded Ramraz 2011-05-14 08:34:10 UTC
Jaroslav , this is probably not a VDSM bug since it does not have influence on the guest image. Please explain what does your guests are doing during the migration time.

Comment 5 Jaroslav Henner 2011-05-14 22:05:08 UTC
(In reply to comment #4)
> Please explain what does your guests are doing during the migration time.

The machine was running (I forgot to mention that in the Steps to Reproduce.), or Paused. It got Paused by the migration -- I think this is another bug that I should open.

There was no OS installed on the machine used for reproducing this bug. The machine was very probably in the Grub menu waiting for user input, CPU around 0% or machine paused.

Comment 6 Eduardo Warszawski 2011-06-06 08:38:00 UTC
May be related (and solved) by BZ#708022

Comment 10 Dan Kenigsberg 2011-06-19 15:44:32 UTC
http://gerrit.usersys.redhat.com/535

Comment 12 Kiril Nesenko 2011-07-03 14:11:46 UTC
Verified
vdsm-4.9-79.el6.x86_64

Comment 13 errata-xmlrpc 2011-12-06 07:18:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2011-1782.html