<br>Hi .<br><br>Unfortunaly, I also can't migrate VMs. <br><br>Wed Jun  8 15:26:30 2011 [LCM][I]: New VM state is BOOT<br>Wed Jun  8 15:26:30 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/285/deployment.0<br>
Wed Jun  8 15:26:31 2011 [LCM][I]: New VM state is RUNNING<br>Wed Jun  8 15:26:48 2011 [LCM][I]: New VM state is SAVE_MIGRATE<br>Wed Jun  8 15:27:00 2011 [LCM][I]: New VM state is PROLOG_MIGRATE<br>Wed Jun  8 15:27:00 2011 [TM][I]: tm_mv.sh: Will not move, source and destination are equal<br>
Wed Jun  8 15:27:00 2011 [LCM][I]: New VM state is BOOT<br>Wed Jun  8 15:27:11 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/restore" ]; then /var/tmp/one/vmm/kvm/restore /srv/cloud/one/var//285/images/checkpoint; else                              exit 42; fi'<br>
Wed Jun  8 15:27:11 2011 [VMM][I]: STDERR follows.<br>Wed Jun  8 15:27:11 2011 [VMM][I]: Connecting to uri: qemu:///system<br>Wed Jun  8 15:27:11 2011 [VMM][I]: error: Failed to restore domain from /srv/cloud/one/var//285/images/checkpoint<br>
Wed Jun  8 15:27:11 2011 [VMM][I]: error: internal error Timed out while reading monitor startup output<br>Wed Jun  8 15:27:11 2011 [VMM][I]: ExitCode: 1<br>Wed Jun  8 15:27:11 2011 [VMM][E]: Error restoring VM, Connecting to uri: qemu:///system<br>
Wed Jun  8 15:27:11 2011 [DiM][I]: New VM state is FAILED<br>Wed Jun  8 15:27:11 2011 [TM][W]: Ignored: LOG - 285 tm_delete.sh: Deleting /srv/cloud/one/var//285/images<br><br>Wed Jun  8 15:27:11 2011 [TM][W]: Ignored: LOG - 285 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var//285/images".<br>
<br>Wed Jun  8 15:27:11 2011 [TM][W]: Ignored: TRANSFER SUCCESS 285 -<br><br>Anyone help me? <br>Thank you in advance.<br><div class="gmail_quote">On Wed, Jun 8, 2011 at 3:26 PM, Khoa Nguyen <span dir="ltr"><<a href="mailto:vankhoa011@gmail.com">vankhoa011@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi samuel!<br>Change the file kvmrc on opennebula or kvm ? <br>the fist time , I have just change the file kvmrc on opennebula.  <br>
file path is<br>/srv/cloud/one/lib/remotes/vmm/kvm/kvmrc<br>/srv/cloud/one/var/remotes/vmm/kvm/kvmrc<br>
<br>However, when i change kvmrc file on KVM<br>file path is<br>/var/tmp/one/vmm/kvm/kvmrc.<br>I can't deploy VMs.<br><br>Wed Jun  8 15:13:09 2011 [VMM][I]: Connecting to uri: qemu+ssh:///system<br>Wed Jun  8 15:13:09 2011 [VMM][I]: error: cannot recv data: Connection reset by peer<br>

Wed Jun  8 15:13:09 2011 [VMM][I]: error: failed to connect to the hypervisor<br>Wed Jun  8 15:13:09 2011 [VMM][I]: ExitCode: 255<br>Wed Jun  8 15:13:09 2011 [VMM][E]: Error deploying virtual machine: Connecting to uri: qemu+ssh:///system<br>

Wed Jun  8 15:13:09 2011 [DiM][I]: New VM state is FAILED<br><br>do you have idea?<br>thank you.<div><div></div><div class="h5"><br><div class="gmail_quote">On Wed, Jun 8, 2011 at 3:10 PM, samuel <span dir="ltr"><<a href="mailto:samu60@gmail.com" target="_blank">samu60@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">This error is directly related to the qemu transport. Have you applied the changes to every node? <br>

<br>Hope it helps,<br><font color="#888888">samuel.</font><div><div></div><div><br><br><div class="gmail_quote">On 8 June 2011 08:44, Khoa Nguyen <span dir="ltr"><<a href="mailto:vankhoa011@gmail.com" target="_blank">vankhoa011@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thank you for your reply. I did your way but It can't solve problem. Anyone have idea?<br>


I install opennebula 2.0 on Ubuntu 9.10. <br><br>Thank you.<div><div></div><div><br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 3:31 PM, samuel <span dir="ltr"><<a href="mailto:samu60@gmail.com" target="_blank">samu60@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You have 2 options:<br><br>1) configure SSL connection for qemu, or<br>2) use ssh as transport for qemu. <br>




<br>To do the second option, which is the easier, you should change the file kvmrc<br>LIBVIRT_URI=qemu+ssh:///system<br>
QEMU_PROTOCOL=qemu+ssh<br><br>Hope it helps,<br>Samuel.<br><div class="gmail_quote"><div><div></div><div>On 7 June 2011 10:12, Khoa Nguyen <span dir="ltr"><<a href="mailto:vankhoa011@gmail.com" target="_blank">vankhoa011@gmail.com</a>></span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Hi everyone<br><br>I want to live migrate VMs from kvm node to others. However, there have problem which I can't solve it.<br>





Some information in <b>vm.log</b><br><br>Jun  7 14:55:02 2011 [TM][I]: tm_context.sh: Executed "rm -rf /srv/cloud/one/var//272/images/isofiles".<br>
Tue Jun  7 14:55:02 2011 [LCM][I]: New VM state is BOOT<br>Tue Jun  7 14:55:02 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/272/deployment.0<br>Tue Jun  7 14:55:03 2011 [LCM][I]: New VM state is RUNNING<br>






Tue Jun  7 14:55:37 2011 [LCM][I]: New VM state is MIGRATE<br>Tue Jun  7 14:55:37 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/migrate" ]; then /var/tmp/one/vmm/kvm/migrate one-272 172.29.70.137; else                              exit 42; fi'<br>






Tue Jun  7 14:55:37 2011 [VMM][I]: STDERR follows.<br>Tue Jun  7 14:55:37 2011 [VMM][I]: Connecting to uri: qemu:///system<br>Tue Jun  7 14:55:37 2011 [VMM][I]: error: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory<br>






Tue Jun  7 14:55:37 2011 [VMM][I]: ExitCode: 1<br>Tue Jun  7 14:55:37 2011 [VMM][E]: Error live-migrating VM, Connecting to uri: qemu:///system<br>Tue Jun  7 14:55:37 2011 [LCM][I]: Fail to life migrate VM. Assuming that the VM is still RUNNING (will poll VM).<br>






<br><b> one.log</b><br><br><br><br>Tue Jun  7 14:55:36 2011 [ReM][D]: VirtualMachineMigrate invoked<br>Tue Jun  7 14:55:36 2011 [DiM][D]: Live-migrating VM 272<br>Tue Jun  7 14:55:37 2011 [VMM][D]: Message received: LOG - 272 Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/migrate" ]; then /var/tmp/one/vmm/kvm/migrate one-272 172.29.70.137; else                              exit 42; fi'<br>






<br>Tue Jun  7 14:55:37 2011 [VMM][D]: Message received: LOG - 272 STDERR follows.<br><br>Tue Jun  7 14:55:37 2011 [VMM][D]: Message received: LOG - 272 Connecting to uri: qemu:///system<br><br>Tue Jun  7 14:55:37 2011 [VMM][D]: Message received: LOG - 272 error: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory<br>






<br>Tue Jun  7 14:55:37 2011 [VMM][D]: Message received: LOG - 272 ExitCode: 1<br><br>Tue Jun  7 14:55:37 2011 [VMM][D]: Message received: MIGRATE FAILURE 272 Connecting to uri: qemu:///system<br><br>Tue Jun  7 14:55:37 2011 [VMM][D]: Message received: error: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory<br>






<br>Tue Jun  7 14:55:37 2011 [VMM][D]: Message received: ExitCode: 1<br><br>Please help me? <br>Thank you<br><font color="#888888"><br clear="all"><br>-- <br>Nguyễn Vũ Văn Khoa<br>Đại học Khoa Học Tự Nhiên TP HCM<br><br>





<br>
</font><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>
</blockquote></div><br><br clear="all"><br>-- <br>Nguyễn Vũ Văn Khoa<br>Đại học Khoa Học Tự Nhiên TP HCM<br><br><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Nguyễn Vũ Văn Khoa<br>Đại học Khoa Học Tự Nhiên TP HCM<br><br><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Nguyễn Vũ Văn Khoa<br>Đại học Khoa Học Tự Nhiên TP HCM<br><br><br>