[one-users] Opennebula 4.0, Ceph cluster migrate vm problem

Stefan Ivanov s.ivanov at maxtelecom.bg
Tue Apr 16 07:50:31 PDT 2013


Hello all.

I have problem with migration of virtual machines. When i try to migrate 
from hos to host i get this error:
     VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/restore 
/var/lib/one//datastores/0/4/checkpoint gamma 4 gamma
Tue Apr 16 17:46:30 2013 [VMM][E]: restore: Command "virsh --connect 
qemu:///system restore /var/lib/one//datastores/0/4/checkpoint" failed: 
error: Failed to restore domain from /var/lib/one//datastores/0/4/checkpoint

There is my datastore info:
     DATASTORE 107 INFORMATION
ID             : 107
NAME           : ceph_data
USER           : oneadmin
GROUP          : oneadmin
CLUSTER        : -
TYPE           : IMAGE
DS_MAD         : ceph
TM_MAD         : ceph
BASE PATH      : /var/lib/one/datastores/107
DISK_TYPE      : RBD

PERMISSIONS
OWNER          : um-
GROUP          : u--
OTHER          : ---

DATASTORE TEMPLATE
DISK_TYPE="RBD"
DS_MAD="ceph"
HOST="alpha"
POOL_NAME="data"
TM_MAD="ceph"
TYPE="IMAGE_DS"


There is mu error log.
     Tue Apr 16 17:46:25 2013 [LCM][I]: New VM state is SAVE_MIGRATE
Tue Apr 16 17:46:27 2013 [VMM][I]: ExitCode: 0
Tue Apr 16 17:46:27 2013 [VMM][I]: Successfully execute virtualization 
driver operation: save.
Tue Apr 16 17:46:27 2013 [VMM][I]: ExitCode: 0
Tue Apr 16 17:46:27 2013 [VMM][I]: Successfully execute network driver 
operation: clean.
Tue Apr 16 17:46:29 2013 [LCM][I]: New VM state is PROLOG_MIGRATE
Tue Apr 16 17:46:29 2013 [TM][I]: ExitCode: 0
Tue Apr 16 17:46:29 2013 [TM][I]: ExitCode: 0
Tue Apr 16 17:46:30 2013 [LCM][I]: New VM state is BOOT
Tue Apr 16 17:46:30 2013 [VMM][I]: ExitCode: 0
Tue Apr 16 17:46:30 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Tue Apr 16 17:46:30 2013 [VMM][I]: Command execution fail: 
/var/tmp/one/vmm/kvm/restore /var/lib/one//datastores/0/4/checkpoint 
gamma 4 gamma
Tue Apr 16 17:46:30 2013 [VMM][E]: restore: Command "virsh --connect 
qemu:///system restore /var/lib/one//datastores/0/4/checkpoint" failed: 
error: Failed to restore domain from /var/lib/one//datastores/0/4/checkpoint
Tue Apr 16 17:46:30 2013 [VMM][I]: error: Failed to create file 
'/var/lib/one//datastores/0/4/checkpoint': No such file or directory
Tue Apr 16 17:46:30 2013 [VMM][E]: Could not restore from 
/var/lib/one//datastores/0/4/checkpoint
Tue Apr 16 17:46:30 2013 [VMM][I]: ExitCode: 1
Tue Apr 16 17:46:30 2013 [VMM][I]: Failed to execute virtualization 
driver operation: restore.
Tue Apr 16 17:46:30 2013 [VMM][E]: Error restoring VM: Could not restore 
from /var/lib/one//datastores/0/4/checkpoint
Tue Apr 16 17:46:32 2013 [DiM][I]: New VM state is FAILED

Any ideas what is the problem?


More information about the Users mailing list