Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 923992 - engine: engine deletes live storage migration destination copy after finish the copy (storage live migration doesn't work)
engine: engine deletes live storage migration destination copy after finish t...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.2.0
x86_64 Linux
urgent Severity urgent
: ---
: 3.2.0
Assigned To: Daniel Erez
Dafna Ron
storage
:
: 962579 967887 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-20 17:16 EDT by Haim
Modified: 2016-02-10 12:22 EST (History)
13 users (show)

See Also:
Fixed In Version: sf12
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-10 17:37:46 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
abaron: Triaged+


Attachments (Terms of Use)
engine.log (275.95 KB, application/x-gzip)
2013-03-20 17:24 EDT, Haim
no flags Details
vdsm log - spm (1.46 MB, application/x-compressed-tar)
2013-03-20 17:25 EDT, Haim
no flags Details
vdsm log - hsm (1.66 MB, application/x-compressed-tar)
2013-03-20 17:26 EDT, Haim
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 13242 None None None Never
oVirt gerrit 13306 None None None Never
Red Hat Product Errata RHSA-2013:0888 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-10 20:55:41 EDT

  None (edit)
Description Haim 2013-03-20 17:16:38 EDT
Description of problem:

engine deletes live storage migration destination copy after finish the copy hence storage live migration doesn't work.

managed to reproduce this issue twice so far, vdsm seem to work fine, from some unknown reason engine decides to send deleteImage with destination domain of the new volume copy and its snapshots (revert).

attached full logs in case bug is in VDSM (could be!).

repro steps:

1) create vm with pre-allocated disk
2) run vm
3) start O.S installation
4) move disk from source domain to dest
5) operation failed.

additional information after initial debugging:

[root@puma31 ~]# grep -l 5326  /etc/lvm/archive/08221c4d-f68b-4085-ab47-9c1d4b1b70d0_000* | xargs ls -l
-rw-------. 1 root root 6717 Mar 20 22:18 /etc/lvm/archive/08221c4d-f68b-4085-ab47-9c1d4b1b70d0_00045-2145444745.vg
-rw-------. 1 root root 6717 Mar 20 22:20 /etc/lvm/archive/08221c4d-f68b-4085-ab47-9c1d4b1b70d0_00046-2124975504.vg
-rw-------. 1 root root 7272 Mar 20 22:20 /etc/lvm/archive/08221c4d-f68b-4085-ab47-9c1d4b1b70d0_00047-1049148616.vg
-rw-------. 1 root root 7272 Mar 20 22:21 /etc/lvm/archive/08221c4d-f68b-4085-ab47-9c1d4b1b70d0_00048-639849343.vg
-rw-------. 1 root root 7272 Mar 20 22:21 /etc/lvm/archive/08221c4d-f68b-4085-ab47-9c1d4b1b70d0_00049-2011190022.vg
[root@puma31 ~]# grep -l 5326  /etc/lvm/archive/4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7_000* | xargs ls -l
-rw-------. 1 root root 6269 Mar 20 22:20 /etc/lvm/archive/4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7_00020-2019345239.vg
-rw-------. 1 root root 6269 Mar 20 22:21 /etc/lvm/archive/4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7_00021-997382622.vg
-rw-------. 1 root root 6269 Mar 20 22:21 /etc/lvm/archive/4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7_00022-1353084299.vg
-rw-------. 1 root root 5628 Mar 20 22:25 /etc/lvm/archive/4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7_00023-813313325.vg
-rw-------. 1 root root 5650 Mar 20 22:25 /etc/lvm/archive/4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7_00024-1226565626.vg
-rw-------. 1 root root 6291 Mar 20 22:26 /etc/lvm/archive/4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7_00025-1477978184.vg
-rw-------. 1 root root 5726 Mar 20 22:26 /etc/lvm/archive/4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7_00026-765188490.vg
-rw-------. 1 root root 5726 Mar 20 22:26 /etc/lvm/archive/4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7_00027-1946424831.vg


Thread-942::INFO::2013-03-20 22:18:33,436::logUtils::37::dispatcher::(wrapper) Run and protect: createVolume(sdUUID='08221c4d-f68b-4085-ab47-9c1d4b1b70d0', spUUID='a31dbbd1-d491-4420-9747-85bbbe15cc25', imgUUID='5c2b6dfa-50b4-4619-8fed-d5afdd96fd4a', size='26843545600', volFormat=5, preallocate=1, diskType=2, volUUID='532646ab-1dc2-405b-9c8a-21a403106eba', desc='', srcImgUUID='00000000-0000-0000-0000-000000000000', srcVolUUID='00000000-0000-0000-0000-000000000000')
Thread-942::INFO::2013-03-20 22:18:33,830::logUtils::39::dispatcher::(wrapper) Run and protect: createVolume, Return response: None
Thread-951::INFO::2013-03-20 22:18:43,809::logUtils::37::dispatcher::(wrapper) Run and protect: clearTask(taskID='1d14b57a-14f0-4329-af30-089c39dde44b', spUUID=None, options=None)
Thread-951::INFO::2013-03-20 22:18:43,814::logUtils::39::dispatcher::(wrapper) Run and protect: clearTask, Return response: None
Thread-1012::INFO::2013-03-20 22:20:21,042::logUtils::37::dispatcher::(wrapper) Run and protect: createVolume(sdUUID='08221c4d-f68b-4085-ab47-9c1d4b1b70d0', spUUID='a31dbbd1-d491-4420-9747-85bbbe15cc25', imgUUID='5c2b6dfa-50b4-4619-8fed-d5afdd96fd4a', size='26843545600', volFormat=4, preallocate=2, diskType=2, volUUID='f33630f3-3e69-49d1-8114-599fbadf73d3', desc='', srcImgUUID='5c2b6dfa-50b4-4619-8fed-d5afdd96fd4a', srcVolUUID='532646ab-1dc2-405b-9c8a-21a403106eba')
Thread-1012::INFO::2013-03-20 22:20:21,443::logUtils::39::dispatcher::(wrapper) Run and protect: createVolume, Return response: None
Thread-1030::INFO::2013-03-20 22:20:44,848::logUtils::37::dispatcher::(wrapper) Run and protect: cloneImageStructure(spUUID='a31dbbd1-d491-4420-9747-85bbbe15cc25', sdUUID='08221c4d-f68b-4085-ab47-9c1d4b1b70d0', imgUUID='5c2b6dfa-50b4-4619-8fed-d5afdd96fd4a', dstSdUUID='4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7')
Thread-1030::INFO::2013-03-20 22:20:45,642::logUtils::39::dispatcher::(wrapper) Run and protect: cloneImageStructure, Return response: None
Thread-1031::INFO::2013-03-20 22:20:45,716::logUtils::37::dispatcher::(wrapper) Run and protect: clearTask(taskID='cc0820b2-21d3-4322-b936-92879431a60c', spUUID=None, options=None)
Thread-1031::INFO::2013-03-20 22:20:45,718::logUtils::39::dispatcher::(wrapper) Run and protect: clearTask, Return response: None
Thread-1038::INFO::2013-03-20 22:20:54,016::logUtils::37::dispatcher::(wrapper) Run and protect: syncImageData(spUUID='a31dbbd1-d491-4420-9747-85bbbe15cc25', sdUUID='08221c4d-f68b-4085-ab47-9c1d4b1b70d0', imgUUID='5c2b6dfa-50b4-4619-8fed-d5afdd96fd4a', dstSdUUID='4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7', syncType='INTERNAL')
Thread-1038::INFO::2013-03-20 22:20:54,821::logUtils::39::dispatcher::(wrapper) Run and protect: syncImageData, Return response: None
Thread-1040::INFO::2013-03-20 22:20:54,908::logUtils::37::dispatcher::(wrapper) Run and protect: clearTask(taskID='3584f927-9bca-47f2-91db-7b9aa2c58295', spUUID=None, options=None)
Thread-1040::INFO::2013-03-20 22:20:54,910::logUtils::39::dispatcher::(wrapper) Run and protect: clearTask, Return response: None
Thread-1200::INFO::2013-03-20 22:24:44,462::logUtils::37::dispatcher::(wrapper) Run and protect: deleteImage(sdUUID='4b14d3b3-7da4-4ed5-88d0-bfb31f3b8df7', spUUID='a31dbbd1-d491-4420-9747-85bbbe15cc25', imgUUID='5c2b6dfa-50b4-4619-8fed-d5afdd96fd4a', postZero='true', force='false')
Thread-1200::INFO::2013-03-20 22:24:45,100::logUtils::39::dispatcher::(wrapper) Run and protect: deleteImage, Return response: None
Thread-1201::INFO::2013-03-20 22:24:45,191::logUtils::37::dispatcher::(wrapper) Run and protect: clearTask(taskID='05dc4dde-047c-4366-ad81-9e765f30f6a4', spUUID=None, options=None)
Thread-1201::INFO::2013-03-20 22:24:45,193::logUtils::39::dispatcher::(wrapper) Run and protect: clearTask, Return response: None
Thread-1279::INFO::2013-03-20 22:26:34,828::logUtils::37::dispatcher::(wrapper) Run and protect: clearTask(taskID='fdf59ca5-9a18-46cc-81b4-780d3d14638b', spUUID=None, options=None)
Comment 1 Haim 2013-03-20 17:24:53 EDT
Created attachment 713477 [details]
engine.log
Comment 2 Haim 2013-03-20 17:25:29 EDT
Created attachment 713478 [details]
vdsm log - spm
Comment 3 Haim 2013-03-20 17:26:06 EDT
Created attachment 713479 [details]
vdsm log - hsm
Comment 4 Haim 2013-03-24 04:54:04 EDT
any reason bug is in post without external tracker?
Comment 5 Daniel Erez 2013-03-24 05:09:23 EDT
http://gerrit.ovirt.org/#/c/13242/
(can't seem to add the external tracker)
Comment 6 Dafna Ron 2013-04-08 08:44:52 EDT
verified on sf13
Comment 7 Daniel Erez 2013-05-22 12:11:47 EDT
*** Bug 962579 has been marked as a duplicate of this bug. ***
Comment 8 Daniel Erez 2013-05-28 11:00:13 EDT
*** Bug 967887 has been marked as a duplicate of this bug. ***
Comment 9 errata-xmlrpc 2013-06-10 17:37:46 EDT
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-2013-0888.html

Note You need to log in before you can comment on or make changes to this bug.