[one-users] onevm saveas : [ImageAllocate] Error trying to CREATE IMAGE No PATH in template.

knawnd at gmail.com knawnd at gmail.com
Sat Jun 11 04:12:27 PDT 2011


Hi Carlos,

Indeed I was using the development branch of OpenNebula. I will try to 
switch to stable 2.2.1 version.

Thanks.
Nikolay.

Carlos Martín Sánchez wrote on 09/06/11 17:11:
> Hi,
>
> That error message was not present in OpenNebula 2.2. It looks like you
> are using a 2.2 'onevm' and a development branch 'oned'.
> Can you please check that you are indeed using 2.2 and not the
> development version?
>
> Regards.
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org
> <mailto:cmartin at opennebula.org>
>
>
> On Tue, Jun 7, 2011 at 4:00 PM, <knawnd at gmail.com
> <mailto:knawnd at gmail.com>> wrote:
>
>     Hello!
>
>     I am trying to test 'onevm saveas' command for my OpenVZ VMs and I
>     get the following error:
>     $ onevm saveas 57 0 "vps145 saved disk"
>     [ImageAllocate] Error trying to CREATE IMAGE No PATH in template
>
>     oned.log:
>     [...]
>     ue Jun  7 17:50:49 2011 [ReM][D]: ImageInfo method invoked
>     Tue Jun  7 17:50:49 2011 [ReM][D]: ImageAllocate invoked
>     Tue Jun  7 17:50:49 2011 [IMG][E]: No PATH in template.
>     Tue Jun  7 17:50:49 2011 [ReM][E]: [ImageAllocate] Error trying to
>     CREATE IMAGE No PATH in template.
>     [...]
>
>     DISK was defined in VM template as
>     DISK = [ IMAGE  = "centos-5-x86" ]
>
>     OS image was created from the following file:
>     $ cat centos-5.x86.one.img
>     NAME          = "centos-5-x86"
>     PATH          =
>     "/srv/cloud/one/one-2.1.8/var/images/centos-5-x86.tar.gz"
>     PUBLIC        = YES
>     DESCRIPTION   = "CentOS 5 x86 OpenVZ template"
>
>     $ oneimage show 1
>     IMAGE  INFORMATION
>     ID             : 1
>     NAME           : centos-5-x86
>     TYPE           : OS
>     REGISTER TIME  : 03/30 19:21:45
>     PUBLIC         : Yes
>     PERSISTENT     : No
>     SOURCE         :
>     /srv/cloud/one/one-2.2.0/var//images/70f38bbaf574eef06b8e3ca4e8ebee3eb1f1786d
>     STATE          : used
>     RUNNING_VMS    : 1
>
>     IMAGE TEMPLATE
>     DESCRIPTION=CentOS 5 x86 OpenVZ template
>     DEV_PREFIX=sd
>     NAME=centos-5-x86
>     PATH=/srv/cloud/one/one-2.1.8/var/images/centos-5-x86.tar.gz
>
>     OpenNebula 2.2.0, CentOS 5.5.
>     What can be the reason of the error described above?
>
>     Thanks!
>     Nikolay.
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list