[one-users] Error creating image in opennebula for OpenVZ

Catalina Quinde catalinaquinde at gmail.com
Thu Nov 14 13:48:41 PST 2013


Hi Nikolay,

Solved, I did as you indicated and perfect, the image is in rdy now I'll
make the VM template, we are in contact.

Many thanks.
Regards, Caty.


> Message: 3
> Date: Tue, 12 Nov 2013 15:52:27 +0400
> From: knawnd at gmail.com
> To: users at lists.opennebula.org
> Subject: Re: [one-users] Error creating image in opennebula for OpenVZ
> Message-ID: <5282167B.2070600 at gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131114/212895c8/attachment-0002.htm>


More information about the Users mailing list