[one-users] Recover VM in FAILED state

Karsten Nielsen karsten at unity3d.com
Wed Jul 24 01:03:54 PDT 2013


Hi Ruben,

OK thanks for the reply.

That is what happened.

We use ceph for datastorage. So I guess if I delete the VM the image 
will be deleted as well?
Also I do not quit follow how the changes will be preserved and the 
resources, the disk is not persistent.

Thanks,
- Karsten

On 30/05/13 12:06, Ruben S. Montero wrote:
> Hi Karsten
>
> Unfortunately there is no way to manually recover a VM from FAILED
> state. I assume that in you where  trying to migrate (not livemigrate) a
> VM and it failed to move the files from onehost to another one. That
> left your VM in failed.
>
> In that case you can:
>
> 1.- Delete and recreate the VM. This will clean the VM state  (i.e. any
> disk change for some datastores. Note, if you are using a shared FS the
> changes will be preserved) and it will keep any allocated resource (i.e.
> IP's persistent images...)
>
> 2.- If you want to keep the disk changes in a "non-shared" datastore,
> you can manually register the VM disk image (.e.g. copying it from the
> node) and start a new VM based on that rescued disk.
>
> Cheers
>
> Ruben
>
>
> On Tue, May 28, 2013 at 10:29 AM, Karsten Nielsen <karsten at unity3d.com
> <mailto:karsten at unity3d.com>> wrote:
>
>     Hi,
>
>     I have a VM in FAILED state do to a migration attempt that failed.
>
>     I have started the VM again manually however I need to tell one that
>     it is running on a host and that it is not in a failed state any more.
>
>     Can that be done ?
>
>     Thanks,
>     - Karsten
>     _________________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/__listinfo.cgi/users-opennebula.__org
>
>     --
>     <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>     --
>     Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
>     --
>     Ruben S. Montero, PhD
>     Project co-Lead and Chief Architect
>     OpenNebula - The Open Source Solution for Data Center Virtualization
>     <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>www.OpenNebula.org
>     <http://www.OpenNebula.org> | rsmontero at opennebula.org
>     <mailto:rsmontero at opennebula.org> | @OpenNebula
>


More information about the Users mailing list