[one-users] can't livemigrate VMs
Khoa Nguyen
vankhoa011 at gmail.com
Tue Jun 7 23:44:19 PDT 2011
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 <samu60 at 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 <vankhoa011 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110608/4a1f3d3e/attachment-0003.htm>
More information about the Users
mailing list