Re: [one-users] Unable to migrate virtual machines

2011-09-15 Thread Javier Fontan
Indeed it looks like a libvirt error, even if this is not the same
version the problem looks the same:

https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=672725

On Sat, Sep 3, 2011 at 10:44 PM, Alexandru - Florian Antonescu
florinantone...@gmail.com wrote:
 I have solved this by upgrading to libvirt version 0.9.2 as it seems this
 behaviour was related to libvirt 0.8.3 which is the version installed on
 Ubuntu 10.10. I have also updated nodes' OS to ubuntu version 11.10.

 On Aug 30, 2011 10:42 AM, Alexandru - Florian Antonescu
 florinantone...@gmail.com wrote:
 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 -

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





-- 
Javier Fontan, Grid  Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Unable to migrate virtual machines

2011-09-03 Thread Alexandru - Florian Antonescu
I have solved this by upgrading to libvirt version 0.9.2 as it seems this
behaviour was related to libvirt 0.8.3 which is the version installed on
Ubuntu 10.10. I have also updated nodes' OS to ubuntu version 11.10.
On Aug 30, 2011 10:42 AM, Alexandru - Florian Antonescu 
florinantone...@gmail.com wrote:
 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 -
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org