<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello!<br><br>I have installed Latest Series 4 Stable of OpenNebula. <br>I have 2 worker nodes and 1 front-end. On both the worker nodes I can deploy virtual machines.<br>The problem occurs when I try to migrate one virtual machine from one of the worker nodes to the other one. I am trying to create a cold migration and I am not using a shared data storage, as I am counting on scp .<br><br>So, for example I try to do this operation: Migrate from host A to host B.<br><br>Here are the logs containing the error:<br><br>Thu Jan  9 17:43:04 2014 [LCM][I]: New VM state is SAVE_MIGRATE<br>Thu Jan  9 17:43:10 2014 [VMM][I]: ExitCode: 0<br>Thu Jan  9 17:43:10 2014 [VMM][I]: Successfully execute virtualization driver operation: save.<br>Thu Jan  9 17:43:10 2014 [VMM][I]: ExitCode: 0<br>Thu Jan  9 17:43:10 2014 [VMM][I]: Successfully execute network driver operation: clean.<br>Thu Jan  9 17:43:11 2014 [LCM][I]: New VM state is PROLOG_MIGRATE<br>Thu Jan  9 17:43:11 2014 [LCM][I]: New VM state is BOOT<br>Thu Jan  9 17:43:12 2014 [VMM][I]: ExitCode: 0<br>Thu Jan  9 17:43:12 2014 [VMM][I]: Successfully execute network driver operation: pre.<br>Thu
 Jan  9 17:43:12 2014 [VMM][I]: Command execution fail: 
/var/tmp/one/vmm/kvm/restore '/var/lib/one/datastores/0/230/checkpoint' 
'192.168.1.100' 230 192.168.1.100<br><span class="vm_log_error">Thu Jan 
 9 17:43:12 2014 [VMM][E]: restore: Command "virsh --connect 
qemu:///system restore /var/lib/one/datastores/0/230/checkpoint" failed:
 error: Failed to restore domain from 
/var/lib/one/datastores/0/230/checkpoint</span><br>Thu Jan  9 17:43:12 
2014 [VMM][I]: error: Failed to create file 
'/var/lib/one/datastores/0/230/checkpoint': No such file or directory<br><span class="vm_log_error">Thu Jan  9 17:43:12 2014 [VMM][E]: Could not restore from /var/lib/one/datastores/0/230/checkpoint</span><br>Thu Jan  9 17:43:12 2014 [VMM][I]: ExitCode: 1<br>Thu Jan  9 17:43:12 2014 [VMM][I]: Failed to execute virtualization driver operation: restore.<br><span class="vm_log_error">Thu Jan  9 17:43:12 2014 [VMM][E]: Error restoring VM: Could not restore from /var/lib/one/datastores/0/230/checkpoint</span><br>Thu Jan  9 17:43:12 2014 [DiM][I]: New VM state is FAILED<br><br>This instruction, if ran on host A, where the checkpoint exists gives the following output:<br><br>Last login: Thu Jan  9 15:51:59 2014 from utcn.local<br>$ <br>$ virsh --connect qemu:///system restore /var/lib/one/datastores/0/228/checkpoint<br>Domain restored from /var/lib/one/datastores/0/228/checkpoint<br><br>When ran on host B I get the following output:<br><br>Last login: Thu Jan  9 15:26:11 2014 from utcn.local<br>$ virsh --connect qemu:///system restore /var/lib/one/datastores/0/228/checkpoint<br>error: Failed to restore domain from /var/lib/one/datastores/0/228/checkpoint<br>error: Failed to create file '/var/lib/one/datastores/0/228/checkpoint': No such file or directory<br><br>---------> this errors are identical with those from SUNSTONE<br><br>In my opinion, a POSSIBLE CAUSE might be the followin:<br>-the checkpoint is not copied to the host B => no such file or directory<br><br><br>I would appreciate any help!<br>                                        </div></body>
</html>