[one-users] Cannot suspend or migrate/livemigrate a VM

Tino Vazquez tinova at fdi.ucm.es
Mon Jun 21 04:16:09 PDT 2010


Hi Daniele,

Are you still suffering this? If I get you correctly, you cannot
(live)migrate one VM more than once.

* So you migrate one VM from hostA to hostB, that goes allright.
* You migrate from hostB to hostA, and that fails
* Can you migrate from hostB to hostC?

Regards,

-Tino

--
Constantino Vázquez, Grid & Virtualization Technology
Engineer/Researcher: http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



On Fri, Jun 18, 2010 at 4:06 PM, Daniele Fetoni
<daniele.fetoni at hotmail.it> wrote:
> Maybe, I have solved my issue, but I still have one question.
> Now I can migrate/livemigrate or suspend VMs, but I can do one of these
> operations just ONE TIME: if I migrate a VM, then re-migrate to the first
> host, I got error on qemu///session, because, qemu doesn't find the VM
> domain.
>
> I wonder if this is normal, or I have still a problem.
> If so, I'll report specific logs.
>
> Thanks again
>
> Daniele Fetoni
>
> ________________________________
> From: daniele.fetoni at hotmail.it
> To: users at lists.opennebula.org
> Date: Fri, 18 Jun 2010 12:38:08 +0200
> Subject: [one-users] Cannot suspend or migrate/livemigrate a VM
>
>
> Hi
>
> I'm using opennebula 1.4, qemu-kvm and a nfs shared folder.
> When I try to suspend a VM previously created and working, or even if I try
> to migrate/livemigrate it, I obtain always the same error:
>
> Fri Jun 18 12:23:03 2010 [LCM][I]: New VM state is BOOT
> Fri Jun 18 12:23:03 2010 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/0/deployment.0
> Fri Jun 18 12:23:04 2010 [LCM][I]: New VM state is RUNNING
> Fri Jun 18 12:23:22 2010 [LCM][I]: New VM state is SAVE_SUSPEND
> Fri Jun 18 12:23:23 2010 [VMM][I]: Command execution fail: 'touch
> /srv/cloud/one/var/0/images/checkpoint;virsh --connect qemu:///system save
> one-0 /srv/cloud/one/var/0/images/checkpoint'
> Fri Jun 18 12:23:23 2010 [VMM][I]: STDERR follows.
> Fri Jun 18 12:23:23 2010 [VMM][I]: error: Failed to save domain one-0 to
> /srv/cloud/one/var/0/images/checkpoint
> Fri Jun 18 12:23:23 2010 [VMM][I]: error: operation failed: failed to create
> '/srv/cloud/one/var/0/images/checkpoint'
> Fri Jun 18 12:23:23 2010 [VMM][I]: ExitCode: 1
> Fri Jun 18 12:23:23 2010 [VMM][E]: Error saving VM state, -
> Fri Jun 18 12:23:23 2010 [LCM][I]: Fail to save VM state. Assuming that the
> VM is still RUNNING (will poll VM).
> Fri Jun 18 12:23:23 2010 [VMM][I]: VM running but new state from monitor is
> PAUSED.
> Fri Jun 18 12:23:23 2010 [LCM][I]: VM is suspended.
> Fri Jun 18 12:23:23 2010 [DiM][I]: New VM state is SUSPENDED
>
> I have seen in archives this is a common problem, but none of the threads I
> read was helpful in my case.
>
> I think this is a permission problem, nebula cannot write che checkpoint,
> but don't know how solve this (owning one location is not helpful, neither
> change qemu///system to qemu///session)
>
> I can ssh passwordless all hosts from front end and viceversa.
> I tried to use ssh instead of nfs, but there is the loop problem, as in
> http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2009-May/000412.html
>
> How can I solve this????
>
> Thanks in advance
>
> Fetoni Daniele
>
> ________________________________
> nome.cognome @... Verifica la disponibilità sui NUOVI domini
> ________________________________
> Un mondo di personalizzazioni per Messenger, PC e cellulare, scaricale
> gratis!
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list