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

knawnd at gmail.com knawnd at gmail.com
Tue Jun 7 07:00:17 PDT 2011


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.




More information about the Users mailing list