[one-users] onevm migrate fails

Javier Fontan jfontan at gmail.com
Fri Oct 29 14:29:25 PDT 2010


We have been discussing about this problem and it can be caused by:

 * Permissions for the checkpoint file do not let the second node to read it.
 * Apparmor does not let write the checkpoint file properly.

Try suspending the VM (as it generates the checkpoint file) and check
that it is properly written, that is, its size is more that a few kb.
Also check the permissions and that the second node can access that
file

On Fri, Oct 29, 2010 at 4:15 PM, Oscar Elfving <sofam84 at gmail.com> wrote:
> Hi,
> Tried to -migrate- one of my VMs to another node, the VM was in running
> state when I did it. I don't understand why it fails here? Does anyone have
> any clues?
> oned.log:
> Fri Oct 29 16:11:05 2010 [VMM][D]: Message received: SAVE SUCCESS 27 -
> Fri Oct 29 16:11:05 2010 [TM][D]: Message received: LOG - 27 tm_mv.sh: Will
> not move, source and destination are equal
> Fri Oct 29 16:11:05 2010 [TM][D]: Message received: TRANSFER SUCCESS 27 -
> Fri Oct 29 16:11:05 2010 [VMM][D]: Message received: LOG - 27 Command
> execution fail: /var/tmp/vmm/kvm/restore
> /srv/cloud/one/var/27/images/checkpoint
> Fri Oct 29 16:11:05 2010 [VMM][D]: Message received: LOG - 27 STDERR
> follows.
> Fri Oct 29 16:11:05 2010 [VMM][D]: Message received: LOG - 27 error: Failed
> to restore domain from /srv/cloud/one/var/27/images/checkpoint
> Fri Oct 29 16:11:05 2010 [VMM][D]: Message received: LOG - 27 error:
> operation failed: failed to read qemu header
> Fri Oct 29 16:11:05 2010 [VMM][D]: Message received: LOG - 27 ExitCode: 1
> Fri Oct 29 16:11:05 2010 [VMM][D]: Message received: RESTORE FAILURE 27 -
> Fri Oct 29 16:11:05 2010 [TM][D]: Message received: LOG - 27 tm_delete.sh:
> Deleting /srv/cloud/one/var/27/images
> Fri Oct 29 16:11:05 2010 [TM][D]: Message received: LOG - 27 tm_delete.sh:
> Executed "rm -rf /srv/cloud/one/var/27/images".
> Fri Oct 29 16:11:05 2010 [TM][D]: Message received: TRANSFER SUCCESS 27 -
>
> Best regards,
> Oscar Elfving
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list