the kvmrc file on opennebula is not used by the nodes so you shall change /var/tmp/one/vmm/kvm/kvmrc on every node where kvm is running.
After that change, in the error log you shall see connecting to uri: qemu+ssh:// instead of quemu:// About the other error, failed to connecto to the hypervisor, I can not help much but it seems as if there is no hypervisor running and you should check the installation and the running processes on all nodes. I'm sorry I cant not help further, Samuel. On 8 June 2011 10:26, Khoa Nguyen <vankhoa...@gmail.com> wrote: > Hi samuel! > Change the file kvmrc on opennebula or kvm ? > the fist time , I have just change the file kvmrc on opennebula. > file path is > /srv/cloud/one/lib/remotes/vmm/kvm/kvmrc > /srv/cloud/one/var/remotes/vmm/kvm/kvmrc > > However, when i change kvmrc file on KVM > file path is > /var/tmp/one/vmm/kvm/kvmrc. > I can't deploy VMs. > > Wed Jun 8 15:13:09 2011 [VMM][I]: Connecting to uri: qemu+ssh:///system > Wed Jun 8 15:13:09 2011 [VMM][I]: error: cannot recv data: Connection > reset by peer > Wed Jun 8 15:13:09 2011 [VMM][I]: error: failed to connect to the > hypervisor > Wed Jun 8 15:13:09 2011 [VMM][I]: ExitCode: 255 > Wed Jun 8 15:13:09 2011 [VMM][E]: Error deploying virtual machine: > Connecting to uri: qemu+ssh:///system > Wed Jun 8 15:13:09 2011 [DiM][I]: New VM state is FAILED > > do you have idea? > thank you. > > On Wed, Jun 8, 2011 at 3:10 PM, samuel <sam...@gmail.com> wrote: > >> This error is directly related to the qemu transport. Have you applied the >> changes to every node? >> >> Hope it helps, >> samuel. >> >> >> On 8 June 2011 08:44, Khoa Nguyen <vankhoa...@gmail.com> wrote: >> >>> Thank you for your reply. I did your way but It can't solve problem. >>> Anyone have idea? >>> I install opennebula 2.0 on Ubuntu 9.10. >>> >>> Thank you. >>> >>> >>> On Tue, Jun 7, 2011 at 3:31 PM, samuel <sam...@gmail.com> wrote: >>> >>>> You have 2 options: >>>> >>>> 1) configure SSL connection for qemu, or >>>> 2) use ssh as transport for qemu. >>>> >>>> To do the second option, which is the easier, you should change the file >>>> kvmrc >>>> LIBVIRT_URI=qemu+ssh:///system >>>> QEMU_PROTOCOL=qemu+ssh >>>> >>>> Hope it helps, >>>> Samuel. >>>> On 7 June 2011 10:12, Khoa Nguyen <vankhoa...@gmail.com> wrote: >>>> >>>>> Hi everyone >>>>> >>>>> I want to live migrate VMs from kvm node to others. However, there have >>>>> problem which I can't solve it. >>>>> Some information in *vm.log* >>>>> >>>>> Jun 7 14:55:02 2011 [TM][I]: tm_context.sh: Executed "rm -rf >>>>> /srv/cloud/one/var//272/images/isofiles". >>>>> Tue Jun 7 14:55:02 2011 [LCM][I]: New VM state is BOOT >>>>> Tue Jun 7 14:55:02 2011 [VMM][I]: Generating deployment file: >>>>> /srv/cloud/one/var/272/deployment.0 >>>>> Tue Jun 7 14:55:03 2011 [LCM][I]: New VM state is RUNNING >>>>> Tue Jun 7 14:55:37 2011 [LCM][I]: New VM state is MIGRATE >>>>> 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' >>>>> Tue Jun 7 14:55:37 2011 [VMM][I]: STDERR follows. >>>>> Tue Jun 7 14:55:37 2011 [VMM][I]: Connecting to uri: qemu:///system >>>>> Tue Jun 7 14:55:37 2011 [VMM][I]: error: Cannot access CA certificate >>>>> '/etc/pki/CA/cacert.pem': No such file or directory >>>>> Tue Jun 7 14:55:37 2011 [VMM][I]: ExitCode: 1 >>>>> Tue Jun 7 14:55:37 2011 [VMM][E]: Error live-migrating VM, Connecting >>>>> to uri: qemu:///system >>>>> Tue Jun 7 14:55:37 2011 [LCM][I]: Fail to life migrate VM. Assuming >>>>> that the VM is still RUNNING (will poll VM). >>>>> >>>>> * one.log* >>>>> >>>>> >>>>> >>>>> Tue Jun 7 14:55:36 2011 [ReM][D]: VirtualMachineMigrate invoked >>>>> Tue Jun 7 14:55:36 2011 [DiM][D]: Live-migrating VM 272 >>>>> 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' >>>>> >>>>> Tue Jun 7 14:55:37 2011 [VMM][D]: Message received: LOG - 272 STDERR >>>>> follows. >>>>> >>>>> Tue Jun 7 14:55:37 2011 [VMM][D]: Message received: LOG - 272 >>>>> Connecting to uri: qemu:///system >>>>> >>>>> 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 >>>>> >>>>> Tue Jun 7 14:55:37 2011 [VMM][D]: Message received: LOG - 272 >>>>> ExitCode: 1 >>>>> >>>>> Tue Jun 7 14:55:37 2011 [VMM][D]: Message received: MIGRATE FAILURE >>>>> 272 Connecting to uri: qemu:///system >>>>> >>>>> 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 >>>>> >>>>> Tue Jun 7 14:55:37 2011 [VMM][D]: Message received: ExitCode: 1 >>>>> >>>>> Please help me? >>>>> Thank you >>>>> >>>>> >>>>> -- >>>>> Nguyễn Vũ Văn Khoa >>>>> Đại học Khoa Học Tự Nhiên TP HCM >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Users mailing list >>>>> Users@lists.opennebula.org >>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>>>> >>>>> >>>> >>> >>> >>> -- >>> Nguyễn Vũ Văn Khoa >>> Đại học Khoa Học Tự Nhiên TP HCM >>> >>> >>> >> > > > -- > Nguyễn Vũ Văn Khoa > Đại học Khoa Học Tự Nhiên TP HCM > > >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org