[one-users] Error creating image in opennebula for OpenVZ
knawnd at gmail.com
knawnd at gmail.com
Tue Nov 12 03:52:27 PST 2013
Hi Catanlia,
The problem could be because of datastore by default unpack image
whereas it is not acceptable in case of OpenVZ. To workaround that one
can add NO_DECOMPRESS="yes" in datastore config.
For more info see [1].
Hope it helps.
Regards,
Nikolay.
[1]
http://opennebula.org/**documentation:rel4.2:fs_ds%3Chttp://opennebula.org/documentation:rel4.2:fs_ds
Catalina Quinde wrote on 12/11/13 00:34:
> Hi friends,
>
> Other problem:
>
> I made a VM on OpenVZ node, then this VM I have backed up to a file
> "tar.gz", create an image file in order to register the image in
> Opennebula but to make image the status is "err", this steps I followed:
>
> - The file is /var/lib/images/VMopenvzamd64.tar.gz"
>
> - The template for image contains:
> oneadmin at ubuntuOpNeb:~$ cat /var/lib/images/VMopenvzamd64.one
> NAME = "VMopenvzamd64"
> PATH = /var/lib/images/VMopenvzamd64.tar.gz
> TYPE = OS
> DESCRIPTION = "Pruebas VM OpenVZ"
>
> - This command to register image
> oneadmin at ubuntuOpNeb:~$ oneimage create
> /var/lib/images/VMopenvzamd64.one -d default
> ID: 14
>
> - This displays comand "oneimage show 14"
> oneadmin at ubuntuOpNeb:~$ oneimage show 14
> IMAGE 14 INFORMATION
> ID : 14
> NAME : VMopenvzamd64
> USER : oneadmin
> GROUP : oneadmin
> DATASTORE : default
> TYPE : OS
> REGISTER TIME : 11/11 14:47:30
> PERSISTENT : No
> SOURCE :
> PATH : /var/lib/images/VMopenvzamd64.tar.gz
> SIZE : 189M
> STATE : err
> RUNNING_VMS : 0
>
> PERMISSIONS
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
> IMAGE TEMPLATE
> DESCRIPTION="Pruebas VM OpenVZ"
> DEV_PREFIX="hd"
> ERROR="Mon Nov 11 14:48:39 2013 : Error copying image in the
> datastore: Error copying /var/lib/images/VMopenvzamd64.tar.gz to
> /var/lib/one/datastores/1/c1d6f4ca8d3b8d2c7aee8705b43019d1"
>
> VIRTUAL MACHINES
>
> Please help me is very important.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list