<div dir="ltr"><div><div><div><div><div><div><div>Hi friends,<br><br></div>Other problem:<br><br></div>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:<br>
<br></div>- The file is /var/lib/images/VMopenvzamd64.tar.gz"<br><br></div>- The template for image contains:<br>oneadmin@ubuntuOpNeb:~$ cat /var/lib/images/VMopenvzamd64.one<br>NAME = "VMopenvzamd64"<br>PATH = /var/lib/images/VMopenvzamd64.tar.gz <br>
TYPE = OS <br>DESCRIPTION = "Pruebas VM OpenVZ"<br><br></div>- This command to register image<br>oneadmin@ubuntuOpNeb:~$ oneimage create /var/lib/images/VMopenvzamd64.one -d default<br>ID: 14<br><br></div>- This displays comand "oneimage show 14"<br>
oneadmin@ubuntuOpNeb:~$ oneimage show 14<br>IMAGE 14 INFORMATION <br>ID : 14 <br>NAME : VMopenvzamd64 <br>USER : oneadmin <br>
GROUP : oneadmin <br>DATASTORE : default <br>TYPE : OS <br>REGISTER TIME : 11/11 14:47:30 <br>PERSISTENT : No <br>SOURCE : <br>
PATH : /var/lib/images/VMopenvzamd64.tar.gz<br>SIZE : 189M <br>STATE : err <br>RUNNING_VMS : 0 <br><br>PERMISSIONS <br>
OWNER : um- <br>GROUP : --- <br>OTHER : --- <br><br>IMAGE TEMPLATE <br>DESCRIPTION="Pruebas VM OpenVZ"<br>
DEV_PREFIX="hd"<br>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"<br>
<br>VIRTUAL MACHINES<br><br></div>Please help me is very important.<br></div>