Bug 744704

Summary: [vdsm] moveMultipleImages continues on but task fails (COW disks only)
Product: Red Hat Enterprise Linux 6 Reporter: Jakub Libosvar <jlibosva>
Component: vdsmAssignee: Igor Lvovsky <ilvovsky>
Status: CLOSED ERRATA QA Contact: Jakub Libosvar <jlibosva>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2CC: abaron, bazulay, cpelland, danken, iheim, lpeer, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard: storage
Fixed In Version: vdsm-4.9.6-6.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 18:50:34 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:
Attachments:
Description Flags
vdsm.log none

Description Jakub Libosvar 2011-10-10 09:10:10 UTC
Created attachment 527194 [details]
vdsm.log

Description of problem:
When moving VM from one data domain to another and restarting vdsm causes that images of the VM are still copying. After copy is finished, files and directory stays on target domain. This causes troubles when one wants to move the VM again to that storage, cause the images are already there.

Version-Release number of selected component (if applicable):
vdsm-4.9-106.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Have a VM with disk, two data storage domains in data-center
2. Move VM
3. During moving restart vdsm on SPM
  
Actual results:
On NFS you can see that image file grows on storage (being copied) after task fails in rhevm. On target domain leftovers are not removed.

Expected results:
Leftovers are removed when task fails

Additional info:
Relevant for both block and file domains.
vdsm log attached

Comment 4 Jakub Libosvar 2011-10-10 10:53:25 UTC
This can't be reproduced on RAW format disks. Disks must be COW.

Comment 5 Igor Lvovsky 2011-10-18 15:10:29 UTC
http://gerrit.usersys.redhat.com/#change,1042

Comment 6 Dan Kenigsberg 2011-10-18 16:10:40 UTC
According to Igor's analysis, this bug has been with us since ever, and its fix is quite intrusive. I see no rush in pushing it into 3.0. Postponing.

Comment 8 Jakub Libosvar 2012-04-17 11:25:48 UTC
Verified using vdsm-4.9.6-7.el6.x86_64

Comment 11 errata-xmlrpc 2012-12-04 18:50:34 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/RHSA-2012-1508.html