[one-users] Migrate failed

Ruben S. Montero rsmontero at opennebula.org
Tue Sep 18 13:36:37 PDT 2012


Hi

So it seems that you are trying a "cold" migration. From your logs the
checkpoints are successfully generated and moved to the target host
(success in SAVE_MIGRATE and PROLOG_MIGRATE). The failure occurs when
trying to restore the VM from that checkpoint:

estore: Command "virsh --connect qemu:///system restore
/var/lib/one//datastores/0/19/checkpoint" failed: setlocale: No such file
or directory

Could you check if the file is in the target host? If not, check that the
system datastore is properly mounted in the destination host (if using a
shared fs).  If every thing is in place, could you check to run the above
command directly and check the libvirt logs?

Hope it helps

Ruben

On Tue, Sep 18, 2012 at 5:04 AM, 任英杰 <renyj at neusoft.com> wrote:

> hi all,
> I tried to migrate a vm to another host, but failed,
> The log shows:
> Tue Sep 18 03:56:45 2012 [LCM][I]: New VM state is SAVE_MIGRATE
> Tue Sep 18 03:56:47 2012 [VMM][I]: ExitCode: 0
> Tue Sep 18 03:56:47 2012 [VMM][I]: Successfully execute virtualization
> driver operation: save.
> Tue Sep 18 03:56:47 2012 [VMM][I]: ExitCode: 0
> Tue Sep 18 03:56:47 2012 [VMM][I]: Successfully execute network driver
> operation: clean.
> Tue Sep 18 03:56:47 2012 [LCM][I]: New VM state is PROLOG_MIGRATE
> Tue Sep 18 03:56:47 2012 [TM][I]: ExitCode: 0
> Tue Sep 18 03:56:47 2012 [TM][I]: ExitCode: 0
> Tue Sep 18 03:56:47 2012 [LCM][I]: New VM state is BOOT
> Tue Sep 18 03:56:47 2012 [VMM][I]: ExitCode: 0
> Tue Sep 18 03:56:47 2012 [VMM][I]: Successfully execute network driver
> operation: pre.
> Tue Sep 18 03:56:47 2012 [VMM][I]: Command execution fail:
> /var/tmp/one/vmm/kvm/restore /var/lib/one//datastores/0/19/**checkpoint
> lab178 19 lab178
> Tue Sep 18 03:56:47 2012 [VMM][E]: restore: Command "virsh --connect
> qemu:///system restore /var/lib/one//datastores/0/19/**checkpoint"
> failed: setlocale: No such file or directory
> Tue Sep 18 03:56:47 2012 [VMM][I]: error: Failed to restore domain from
> /var/lib/one//datastores/0/19/**checkpoint
> Tue Sep 18 03:56:47 2012 [VMM][I]: error: Failed to create file
> '/var/lib/one//datastores/0/**19/checkpoint': No such file or directory
> Tue Sep 18 03:56:47 2012 [VMM][E]: Could not restore from
> /var/lib/one//datastores/0/19/**checkpoint
> Tue Sep 18 03:56:47 2012 [VMM][I]: ExitCode: 1
> Tue Sep 18 03:56:47 2012 [VMM][I]: Failed to execute virtualization driver
> operation: restore.
> Tue Sep 18 03:56:47 2012 [VMM][E]: Error restoring VM: Could not restore
> from /var/lib/one//datastores/0/19/**checkpoint
> Tue Sep 18 03:56:47 2012 [DiM][I]: New VM state is FAILED
>
> any idea? Thanks a lot
> Jeff
> ------------------------------**------------------------------**
> ------------------------------**---------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s) is intended only for the use of the intended
> recipient and may be confidential and/or privileged of Neusoft Corporation,
> its subsidiaries and/or its affiliates. If any reader of this communication
> is not the intended recipient, unauthorized use, forwarding, printing,
>  storing, disclosure or copying is strictly prohibited, and may be
> unlawful.If you have received this communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from your system. Thank you.
> ------------------------------**------------------------------**
> ------------------------------**---------
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120918/34b69884/attachment-0002.htm>


More information about the Users mailing list