[one-users] Unable to migrate virtual machines

Alexandru - Florian Antonescu florinantonescu at gmail.com
Tue Aug 30 01:42:16 PDT 2011


Hello,

I am having some problems while trying to migrate a virtual machine using
OpenNebula 3.0 Beta 1 with NFS and KVM on Ubuntu 10.10. The error seems to
be related to virsh restore (cannot close file: Bad file descriptor).
Does anyone have any ideas about what could be causing this?

Thank you,
Florian

The error log follows:
Tue Aug 30 06:31:20 2011 [LCM][I]: New VM state is RUNNING
Tue Aug 30 06:33:54 2011 [LCM][I]: New VM state is SAVE_MIGRATE
Tue Aug 30 06:34:02 2011 [VMM][I]: save: Executed "virsh --connect
qemu:///system save one-67 /srv/cloud/one/var/67/images/checkpoint".
Tue Aug 30 06:34:02 2011 [VMM][I]: ExitCode: 0
Tue Aug 30 06:34:02 2011 [LCM][I]: New VM state is PROLOG_MIGRATE
Tue Aug 30 06:34:02 2011 [TM][I]: tm_mv.sh: Will not move, source and
destination are equal
Tue Aug 30 06:34:02 2011 [TM][I]: ExitCode: 0
Tue Aug 30 06:34:02 2011 [LCM][I]: New VM state is BOOT
Tue Aug 30 06:34:33 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/67/images/checkpoint zrhsa 67 zrhsa; else
             exit 42; fi'
Tue Aug 30 06:34:33 2011 [VMM][E]: restore: Command "virsh --connect
qemu:///system restore /srv/cloud/one/var/67/images/checkpoint" failed.
Tue Aug 30 06:34:33 2011 [VMM][E]: restore: error: Failed to restore domain
from /srv/cloud/one/var/67/images/checkpoint
Tue Aug 30 06:34:33 2011 [VMM][I]: error: cannot close file: Bad file
descriptor
Tue Aug 30 06:34:33 2011 [VMM][E]: Could not restore from
/srv/cloud/one/var/67/images/checkpoint
Tue Aug 30 06:34:33 2011 [VMM][I]: ExitCode: 1
Tue Aug 30 06:34:33 2011 [VMM][E]: Error restoring VM: Could not restore
from /srv/cloud/one/var/67/images/checkpoint
Tue Aug 30 06:34:33 2011 [DiM][I]: New VM state is FAILED
Tue Aug 30 06:34:33 2011 [TM][W]: Ignored: LOG I 67 tm_delete.sh: Deleting
/srv/cloud/one/var/67/images
Tue Aug 30 06:34:33 2011 [TM][W]: Ignored: LOG I 67 tm_delete.sh: Executed
"rm -rf /srv/cloud/one/var/67/images".
Tue Aug 30 06:34:33 2011 [TM][W]: Ignored: LOG I 67 ExitCode: 0
Tue Aug 30 06:34:33 2011 [TM][W]: Ignored: TRANSFER SUCCESS 67 -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110830/6c2c2d3a/attachment.htm>


More information about the Users mailing list