Description of problem: When running source VM during v2v import, data corruption can occur due to writing and copying disk concurrently. In order to avoid it, RHEVm should rollback v2v import if source VM toggles from "down" to "up" state. Steps to Reproduce: 1. Open RHEVm UI import dialog, select source provider VM and start import. 2. During import process start source provider VM. Actual results: There is a risk for data corruption on imported VM. Expected results: RHEVm should recognize that source VM state changed from "down" to "up" state and rollback v2v import (delete VM, delete disks and clean related v2v jobs). Additional info:
it should be blocked for the duration of conversion this is a bug
(In reply to Michal Skrivanek from comment #1) > it should be blocked for the duration of conversion > this is a bug Note that the VM is started in VMware. In RHEL the VM is locked and cannot be started (unless engine is restarted, and I already opened a bug for that). We can't lock the VM in VMware, so we should either poll it periodically to verify that the VM is still 'down' or test it at the end of the conversion, if we want to prevent the possible data curroption
currently not exposed by libvirt API to vmware. - not possible to block on vmware side. Documentation should be enough - just state that when importing VM via v2v integration one should not manipulate with the VM on VMware side in any way
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015. Please review this bug and if not a blocker, please postpone to a later release. All bugs not postponed on GA release will be automatically re-targeted to - 3.6.1 if severity >= high - 4.0 if severity < high
Assigning to Megan for review. Megan - looks like we'll just need to add a note not to touch VMware VMs during import to the Admin Guide.
This content is now live on the Customer Portal here: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6-Beta/html-single/Virtual_Machine_Management_Guide/index.html#Importing_a_Virtual_Machine_from_a_VMware_Provider Closing.