Bug 1056922 - Storage Live Migration should only snapshot the migrated disk
Summary: Storage Live Migration should only snapshot the migrated disk
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.0
Assignee: Daniel Erez
QA Contact: Elad
URL:
Whiteboard: storage
: 1185492 (view as bug list)
Depends On: 1054219
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-23 07:50 UTC by Allon Mureinik
Modified: 2019-04-28 09:20 UTC (History)
11 users (show)

Fixed In Version: ovirt-3.4.0-beta3
Clone Of:
Environment:
Last Closed: 2014-03-31 12:31:45 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 24075 0 None None None Never
oVirt gerrit 24228 0 None None None Never

Description Allon Mureinik 2014-01-23 07:50:40 UTC
Description of problem:
The first step in Storage Live Migration is to take a live snapshot, which currently (oVirt 3.4) snapshots all the VM's disks.
This is of course redundant, and only the disks being migrated should be snapshoted.

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

How reproducible:
100%

Steps to Reproduce:
1. Create a DC with compatibility version of at least 3.1
2. Create a cluster
3. Create a host in the cluster
4. Create two storage domains
5. Create a VM with two disks on storage domain A
6. Run the VM
7. Live migrate ONE disk to storage domain B

Actual results:
A live snapshot is taken with includes both disks

Expected results:
The live snapshot should include only one disk

Additional info:

Comment 1 Sandro Bonazzola 2014-02-07 11:31:55 UTC
Please backport to 3.4 branch or re-target to 3.5

Comment 2 Daniel Erez 2014-02-09 19:18:52 UTC
backported to ovirt-engine-3.4 branch

Comment 3 Sandro Bonazzola 2014-02-19 12:27:24 UTC
This bug is referenced in ovirt-engine-3.4.0-beta3 logs. Moving to ON_QA

Comment 4 Gadi Ickowicz 2014-03-18 09:10:26 UTC
Verified on AV2.1 . Snapshot was created only for the disk that was moved:
2014-03-18 11:04:38,949 INFO  [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (org.ovirt.thread.pool-4-thread-43) [334459bb] Running command: LiveMigrateVmDisksCommand Task handler: LiveSnapshotTaskHandl
2014-03-18 11:04:39,073 INFO  [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (org.ovirt.thread.pool-4-thread-43) Running command: CreateAllSnapshotsFromVmCommand internal: true. Entities affected :  I
2014-03-18 11:04:39,105 INFO  [org.ovirt.engine.core.bll.CreateSnapshotCommand] (org.ovirt.thread.pool-4-thread-43) [1de4de11] Running command: CreateSnapshotCommand internal: true. Entities affected :  ID: 000000
2014-03-18 11:04:39,126 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand] (org.ovirt.thread.pool-4-thread-43) [1de4de11] START, CreateSnapshotVDSCommand( storagePoolId = 8efc483e-644f-4ee8
2014-03-18 11:04:39,127 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand] (org.ovirt.thread.pool-4-thread-43) [1de4de11] -- executeIrsBrokerCommand: calling 'createVolume' with two new par
2014-03-18 11:04:39,188 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand] (org.ovirt.thread.pool-4-thread-43) [1de4de11] FINISH, CreateSnapshotVDSCommand, return: 9e7b3b0a-fd54-42d7-a557-c

Comment 5 Sandro Bonazzola 2014-03-31 12:31:45 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released

Comment 6 Allon Mureinik 2015-01-24 09:27:21 UTC
*** Bug 1185492 has been marked as a duplicate of this bug. ***


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