[one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box

thái bình thaibinhtt at yahoo.com
Thu Sep 26 00:44:12 PDT 2013


Dear Cyrlle,

Thanks for your support.

According to your metions, here is the output I got out:

oneadmin at OneVMHost:~/var/11$ ls -lArth /var/lib/one/var//datastores/0/8/disk.1
-rw-rw---- 1 libvirt-qemu kvm 370K Sep 26 00:12 /var/lib/one/var//datastores/0/11/disk.1

oneadmin at OneVMHost:~/var/11$ cat /etc/group |grep oneadmin
root:x:0:oneadmin
oneadmin:x:10000:oneadmin
kvm:x:110:oneadmin
libvirtd:x:111:thaibinhtt,oneadmin
oneadmin at OneVMHost:~/var/11$

Best Regards,
NDTBinh

________________________________
 From: "Duverne, Cyrille" <cyrille.duverne at euranova.eu>
To: thái bình <thaibinhtt at yahoo.com>; "users at lists.opennebula.org" <users at lists.opennebula.org> 
Sent: Wednesday, September 25, 2013 11:18 PM
Subject: Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box
 


Hello Thai,

Could you give the output of : ls -lArth /var/lib/one/var//datastores/0/8/disk.1 ?
Another thought : Is "oneadmin" part of the "libvirt" group ?

Cheers
Cyrille
Eura Nova

Twitter : @CydsWorld


At Tuesday, 24/09/2013 on 19:58 thái bình wrote:

Dear,
>
>
>I am trying to live migrate from KVM host to another KVM host but I always catch an error message which I quote below. Does anyone know the reason and how to solve this problem ?
>
>
>oneadmin at OneVMHost:~/var/8$ cat vm.log
>Tue Sep 24 10:20:48 2013 [DiM][I]: New VM state is ACTIVE.
>Tue Sep 24 10:20:48 2013 [LCM][I]: New VM state is PROLOG.
>Tue Sep 24 10:21:31 2013 [TM][I]: clone: Cloning ../../win2k3sp2.qcow2 in OneVMHost:/var/lib/one/var//datastores/0/8/disk.0
>Tue Sep 24 10:21:31 2013 [TM][I]: ExitCode: 0
>Tue Sep 24 10:21:32 2013 [TM][I]: context: Generating context block device at OneVMHost:/var/lib/one/var//datastores/0/8/disk.1
>Tue Sep 24 10:21:32 2013 [TM][I]: ExitCode: 0
>Tue Sep 24 10:21:32 2013 [LCM][I]: New VM state is BOOT
>Tue Sep 24 10:21:32 2013 [VMM][I]: Generating deployment file: /var/lib/one/var/8/deployment.0
>Tue Sep 24 10:21:32 2013 [VMM][I]: ExitCode: 0
>Tue Sep 24 10:21:32 2013 [VMM][I]: Successfully execute network driver operation: pre.
>Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0
>Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute virtualization driver operation: deploy.
>Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0
>Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute network driver operation: post.
>Tue Sep 24 10:21:33 2013 [LCM][I]: New VM state is RUNNING
>Tue Sep 24 10:30:49 2013 [LCM][I]: New VM state is SAVE_MIGRATE
>Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
>Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute virtualization driver operation: save.
>Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
>Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver operation: clean.
>Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is PROLOG_MIGRATE
>Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0
>Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0
>Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is BOOT
>Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
>Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver operation: pre.
>Tue Sep 24 10:31:05 2013 [VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/restore /var/lib/one/var//datastores/0/8/checkpoint VMHost1 8 VMHost1
>Tue Sep 24 10:31:05 2013 [VMM][E]: restore: Command "virsh --connect qemu:///system restore /var/lib/one/var//datastores/0/8/checkpoint" failed: error: Failed to restore domain from /var/lib/one/var//datastores/0/8/checkpoint
>Tue Sep 24 10:31:05 2013 [VMM][I]: error: unable to open disk path /var/lib/one/var//datastores/0/8/disk.1: Permission denied
>Tue Sep 24 10:31:05 2013 [VMM][E]: Could not restore from /var/lib/one/var//datastores/0/8/checkpoint
>Tue Sep 24 10:31:05 2013 [VMM][I]: ExitCode: 1
>Tue Sep 24 10:31:05 2013 [VMM][I]: Failed to execute virtualization driver operation: restore.
>Tue Sep 24 10:31:05 2013 [VMM][E]: Error restoring VM: Could not restore from /var/lib/one/var//datastores/0/8/checkpoint
>Tue Sep 24 10:31:05 2013 [DiM][I]: New VM state is FAILED
>
>
>Many thanks,
>NDTBinh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130926/a27df578/attachment-0002.htm>


More information about the Users mailing list