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

Shi Jin jinzishuai at gmail.com
Fri Sep 23 15:00:35 PDT 2011


Hi there,

I am getting the same error in 3.0RC2.
$ onevm saveas 69 0 "saved Windows"
[VirtualMachineSaveDisk] Error allocating a new image. No PATH in template.

Knawnd, did you solve this problem?
Thanks.

Shi
On Tue, Jun 7, 2011 at 8:00 AM, <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/**
> 70f38bbaf574eef06b8e3ca4e8ebee**3eb1f1786d
> 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
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>



-- 
Shi Jin, Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110923/7fb83dcb/attachment-0001.htm>


More information about the Users mailing list