Hi,<br><br>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'.<br>Can you please check that you are indeed using 2.2 and not the development version?<br>
<br>Regards.<br clear="all"><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px">--<br>Carlos Martín, MSc<br>Project Major Contributor<br><span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span> - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.opennebula.org/" style="color:rgb(42, 93, 176)" target="_blank">www.<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span>.org</a> | <a href="mailto:cmartin@opennebula.org" style="color:rgb(42, 93, 176)" target="_blank">cmartin@<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">opennebula</span>.org</a></span><br>
<br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 4:00 PM, <span dir="ltr"><<a href="mailto:knawnd@gmail.com">knawnd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello!<br>
<br>
I am trying to test 'onevm saveas' command for my OpenVZ VMs and I get the following error:<br>
$ onevm saveas 57 0 "vps145 saved disk"<br>
[ImageAllocate] Error trying to CREATE IMAGE No PATH in template<br>
<br>
oned.log:<br>
[...]<br>
ue Jun 7 17:50:49 2011 [ReM][D]: ImageInfo method invoked<br>
Tue Jun 7 17:50:49 2011 [ReM][D]: ImageAllocate invoked<br>
Tue Jun 7 17:50:49 2011 [IMG][E]: No PATH in template.<br>
Tue Jun 7 17:50:49 2011 [ReM][E]: [ImageAllocate] Error trying to CREATE IMAGE No PATH in template.<br>
[...]<br>
<br>
DISK was defined in VM template as<br>
DISK = [ IMAGE = "centos-5-x86" ]<br>
<br>
OS image was created from the following file:<br>
$ cat centos-5.x86.one.img<br>
NAME = "centos-5-x86"<br>
PATH = "/srv/cloud/one/one-2.1.8/var/images/centos-5-x86.tar.gz"<br>
PUBLIC = YES<br>
DESCRIPTION = "CentOS 5 x86 OpenVZ template"<br>
<br>
$ oneimage show 1<br>
IMAGE INFORMATION<br>
ID : 1<br>
NAME : centos-5-x86<br>
TYPE : OS<br>
REGISTER TIME : 03/30 19:21:45<br>
PUBLIC : Yes<br>
PERSISTENT : No<br>
SOURCE : /srv/cloud/one/one-2.2.0/var//images/70f38bbaf574eef06b8e3ca4e8ebee3eb1f1786d<br>
STATE : used<br>
RUNNING_VMS : 1<br>
<br>
IMAGE TEMPLATE<br>
DESCRIPTION=CentOS 5 x86 OpenVZ template<br>
DEV_PREFIX=sd<br>
NAME=centos-5-x86<br>
PATH=/srv/cloud/one/one-2.1.8/var/images/centos-5-x86.tar.gz<br>
<br>
OpenNebula 2.2.0, CentOS 5.5.<br>
What can be the reason of the error described above?<br>
<br>
Thanks!<br>
Nikolay.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br>