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

Catalina Quinde catalinaquinde at gmail.com
Mon Nov 11 12:34:07 PST 2013


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131111/94663811/attachment.htm>


More information about the Users mailing list