Bug 1158043 - [engine-backend] Live storage migration should not be allowed if the host doesn't support live snapshot
Summary: [engine-backend] Live storage migration should not be allowed if the host doe...
Keywords:
Status: CLOSED DUPLICATE of bug 1105846
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.5.0
Assignee: Amit Aviram
QA Contact:
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-28 12:17 UTC by Elad
Modified: 2016-02-10 20:23 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-19 17:57:45 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine and vdsm logs (1.51 MB, application/x-gzip)
2014-10-28 12:17 UTC, Elad
no flags Details

Description Elad 2014-10-28 12:17:32 UTC
Created attachment 951367 [details]
engine and vdsm logs

Description of problem:
Have a RHEL 6.6 host deployed on my hosted-engine setup. Live snapshot creation is blocked because the the host's qemu doesn't support live snapshot, That's OK.
But when trying to live migrate a disk using this host, the operation is allowed.

Version-Release number of selected component (if applicable):
rhev3.5 vt7
RHEL6.6 host
rhevm-3.5.0-0.17.beta.el6ev.noarch
libvirt-0.10.2-46.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.448.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
On a setup with a DC with more than 1 storage domaim from the same type (block/file)
1. Add a RHEL6.6 host with the mentioned qemu-kvm-rhev version to RHEVM, check that it does not support live snapshot
2. Create a VM with disk attached on one domain
3. Try to live migrate the disk to the second domain

Actual results:
Live storage migration is allowed although the host doesn't support live snapshot

The live snapshot creation operation fails:

2014-10-28 13:51:07,579 INFO  [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (org.ovirt.thread.pool-7-thread-2) [3fe078e6] Running command: LiveMigrateVmDisksCommand Task handler: LiveSnapshotTaskHandle
r internal: false. Entities affected :  ID: 0ad5eaa4-d093-4bcc-9177-d8404ae7d1b1 Type: DiskAction group CONFIGURE_DISK_STORAGE with role type USER,  ID: a727ba52-c7f5-4810-8368-7f30acbe3d31 Type: StorageAction gro
up CREATE_DISK with role type USER
2014-10-28 13:51:07,816 INFO  [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (org.ovirt.thread.pool-7-thread-2) Command 7858b8a4-61ff-4ec3-bbb9-2a8b182114ed persisting async task placeholder for child
 command bf919c39-61d4-46d8-ab4d-c9c705ee31f2
2014-10-28 13:51:08,460 WARN  [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (org.ovirt.thread.pool-7-thread-2) CanDoAction of action CreateAllSnapshotsFromVm failed. Reasons:VAR__ACTION__CREATE,VAR__
TYPE__SNAPSHOT,ACTION_TYPE_FAILED_QEMU_UNSUPPORTED_OPERATION

Expected results:
Live storage migration operation should be blocked on CDA if the host doesn't support live snapshot.

Additional info: engine and vdsm logs

Comment 1 Allon Mureinik 2014-11-19 17:57:45 UTC

*** This bug has been marked as a duplicate of bug 1105846 ***


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