Created attachment 901236 [details] vdsm and engine logs Description of problem: When trying to live migrate vm disk to the same domain (through REST api) the disk is already exist in, it will cause an infinite loop of the task 'LiveMigrateDiskCommand'. Version-Release number of selected component (if applicable): vdsm-4.14.7-1.el6ev.x86_64 rhevm-3.4.0-0.20.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1. start the vm 2. POST in: https://ratamir-upgrade.scl.lab.tlv.redhat.com/api/vms/45f276a8-fed0-4bb9-963d-e2f9d02ea737/disks/2f859bbd-e6f4-4264-a90b-2551185aafa1/move --> <action> <storage_domain id="4747a9e2-d7e3-441f-a4d8-d00ca8f7f34f"/> </action> ** 4747a9e2-d7e3-441f-a4d8-d00ca8f7f34f is the source domain! 3. Actual results: Infinite loop of 'LiveMigrateDiskCommand' will start Expected results: This action should be blocked Additional info:
Raz, does this happen on 3.3 or 3.2 (i.e., why is it marked as a regression)?
Allon, I tried to reproduce this on 3.3 with no success
Verified - ovirt-engine-3.5.0-0.0.master.20140605145557.git3ddd2de.el6.noarch
Ignore last comment
Verified on - ovirt-engine-3.5.0-0.0.master.20140821064931.gitb794d66.el6.noarch Response body (REST api): <action> <storage_domain id="08f84165-e7ed-484a-92ff-0c4b3f431b4a"/> <status> <state>failed</state> </status> <fault> <reason>Operation Failed</reason> <detail> [Cannot move Virtual Machine Disk. The source and target storage domains are the same.] </detail> </fault> </action> engine log: CanDoAction of action LiveMigrateVmDisks failed. Reasons:VAR__ACTION__MOVE,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_SOURCE_AND_TARGET_SAME
RHEV-M 3.5.0 has been released, closing this bug.