[one-users] can't livemigrate VMs

Khoa Nguyen vankhoa011 at gmail.com
Wed Jun 8 01:32:51 PDT 2011


Hi .

Unfortunaly, I also can't migrate VMs.

Wed Jun  8 15:26:30 2011 [LCM][I]: New VM state is BOOT
Wed Jun  8 15:26:30 2011 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/285/deployment.0
Wed Jun  8 15:26:31 2011 [LCM][I]: New VM state is RUNNING
Wed Jun  8 15:26:48 2011 [LCM][I]: New VM state is SAVE_MIGRATE
Wed Jun  8 15:27:00 2011 [LCM][I]: New VM state is PROLOG_MIGRATE
Wed Jun  8 15:27:00 2011 [TM][I]: tm_mv.sh: Will not move, source and
destination are equal
Wed Jun  8 15:27:00 2011 [LCM][I]: New VM state is BOOT
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'
Wed Jun  8 15:27:11 2011 [VMM][I]: STDERR follows.
Wed Jun  8 15:27:11 2011 [VMM][I]: Connecting to uri: qemu:///system
Wed Jun  8 15:27:11 2011 [VMM][I]: error: Failed to restore domain from
/srv/cloud/one/var//285/images/checkpoint
Wed Jun  8 15:27:11 2011 [VMM][I]: error: internal error Timed out while
reading monitor startup output
Wed Jun  8 15:27:11 2011 [VMM][I]: ExitCode: 1
Wed Jun  8 15:27:11 2011 [VMM][E]: Error restoring VM, Connecting to uri:
qemu:///system
Wed Jun  8 15:27:11 2011 [DiM][I]: New VM state is FAILED
Wed Jun  8 15:27:11 2011 [TM][W]: Ignored: LOG - 285 tm_delete.sh: Deleting
/srv/cloud/one/var//285/images

Wed Jun  8 15:27:11 2011 [TM][W]: Ignored: LOG - 285 tm_delete.sh: Executed
"rm -rf /srv/cloud/one/var//285/images".

Wed Jun  8 15:27:11 2011 [TM][W]: Ignored: TRANSFER SUCCESS 285 -

Anyone help me?
Thank you in advance.
On Wed, Jun 8, 2011 at 3:26 PM, Khoa Nguyen <vankhoa011 at 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 <samu60 at 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 <vankhoa011 at 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 <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
>>>
>>>
>>>
>>
>
>
> --
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110608/54c8ed84/attachment-0003.htm>


More information about the Users mailing list