VM image locked after failed migration

Hello, after failed migrations I have several VMs where disk is in state locked. I'm therefore unable to move the disk to another storage. The VMs are still running. What can I do to unlock the images? I haven't found a satisfying solution while searching list archive and web. The migration tasks have failed hours before because of a broken storage device. Kind regards Jannick

----- Original Message -----
From: "Jannick DelOro" <jdeloro@web.de> To: users@ovirt.org Sent: Tuesday, April 28, 2015 12:23:18 PM Subject: [ovirt-users] VM image locked after failed migration
Hello,
after failed migrations I have several VMs where disk is in state locked. I'm therefore unable to move the disk to another storage. The VMs are still running. What can I do to unlock the images? I haven't found a satisfying solution while searching list archive and web. The migration tasks have failed hours before because of a broken storage device.
With this utility /usr/share/ovirt-engine/dbscripts/unlock_entity.sh you could forcefully unlock your entities. Before unlocking, please check that no jobs are still running over them.
Kind regards
Jannick _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hello Simone,
after failed migrations I have several VMs where disk is in state locked. I'm therefore unable to move the disk to another storage. The VMs are still running. What can I do to unlock the images? I haven't found a satisfying solution while searching list archive and web. The migration tasks have failed hours before because of a broken storage device.
With this utility /usr/share/ovirt-engine/dbscripts/unlock_entity.sh you could forcefully unlock your entities. Before unlocking, please check that no jobs are still running over them.
Thanks for the hint. Nice script and does what it promises. Kind regards Jannick
participants (2)
-
Jannick DelOro
-
Simone Tiraboschi