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