[one-users] an error associated with onevm delete of persistent image

Ruben S. Montero rsmontero at opennebula.org
Wed May 1 12:58:17 PDT 2013


Hi Hyunwoo

Yes totally right, this is in fact a bug that has been solved in recent
versions of OpenNebula... In this situation, the delete operation will
leave the persistent images in the error state so the consistency of the
image can be checked. OpenNebula will not try to move the image back to the
datastore. oneimage enable will activate the image again.


Cheers

Ruben




On Wed, May 1, 2013 at 6:43 PM, Hyun Woo Kim <hyunwoo at fnal.gov> wrote:

>  Hi,
>
>  Let me describe an error situation that I experienced.
>
>  We are using ONe3.2.
>
>  I launch a VM off a persistent image but it fails at an very early stage
> (for example tm_ln.sh)
> so I end up having a VM in "failed" state.
>
>  Next, when I try to delete it via "onevm delete", I have error messages
> that say
>  Message received: LOG E 4 mv: Command "mv -f $ONE_LOCATION/var/56/disk.0
> $IRP/images/837d6675a4846f2df76ebbf69d174229" failed.
>  Message received: LOG E 4 mv: mv: cannot stat
> `$ONE_LOCATION/var/56/disk.0': No such file or directory
>
>  These error messages make sense because, the launching process failed
> before doing anything,
> thus all of the followings
>  - $VM_DIR/images/disk.0
>  - $ONE_LOCATION/var/vmid/disk.0
> must be absent.
>
>  I think what is wrong is,
> "onevm delete" on a failed vm from persistent image trying to move disk.0
> to the repository.
> In other words, "delete" might not be a right operation in this "failed"
> state for persistent image.
> I could not find a right one at least from current list of possible
> operations for "onevm" command
>
>  What will be the right one?
>
>  Thank you very much.
>
>  Hyunwoo KIM
> FermiCloud Project.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.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
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> 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/20130501/4f9da724/attachment-0002.htm>


More information about the Users mailing list