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

knawnd at gmail.com knawnd at gmail.com
Fri Sep 23 23:29:22 PDT 2011


Hi Shi,

My problem was that I was using a development branch of OpenNebula-2.2.1 
instead of the stable one. The stable version didn't give me such error 
and solved my  problem.

Regards,
Nikolay.

Shi Jin wrote on 24/09/11 02:00:
> 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
> <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/__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 <mailto: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.
>



More information about the Users mailing list