Hi,<div><br></div><div>That error message might be a bit misleading, but it means that you need to use a registered image, with the attribute DISK/IMAGE_ID (or IMAGE).</div><div><br></div><div>DISK/SOURCE cannot be used anymore in OpenNebula 3.4. We warned about it in the compatibility guide [1], but we didn't notice the VM template documentation was outdated... It has been fixed to reflect that IMAGE is now mandatory [2].</div>
<div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.4:compatibility#developers_and_integrators">http://opennebula.org/documentation:rel3.4:compatibility#developers_and_integrators</a></div>
<div>[2] <a href="http://opennebula.org/documentation:rel3.4:template#disks_section">http://opennebula.org/documentation:rel3.4:template#disks_section</a></div><div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div>
<span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Mon, May 21, 2012 at 3:06 AM, mario wu <span dir="ltr"><<a href="mailto:iamokcn@gmail.com" target="_blank">iamokcn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="arial, helvetica, sans-serif">hi,all</font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">i try the new opennebula 3.4,i found the problem. when i use source in disk attribute in the VM template ,</font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">use onevm create <a href="http://template.name/" style="color:rgb(17,85,204)" target="_blank">template.name</a></font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">the log tell me:</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div>
<div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="border-spacing:0px;border-collapse:separate"><font face="arial, helvetica, sans-serif">Fri May 18 09:42:16 2012 [TM][E]: prolog, undefined source disk image in VM template</font></span></blockquote>
<pre style="white-space:pre-wrap"><span style="font-family:arial,helvetica,sans-serif;white-space:normal"><br></span></pre><pre style="white-space:pre-wrap"><span style="font-family:arial,helvetica,sans-serif;white-space:normal">my vm template define like this:</span></pre>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="arial, helvetica, sans-serif">NAME = ttylinux<br>
</font><font face="arial, helvetica, sans-serif"> CPU = 0.1 <br></font><font face="arial, helvetica, sans-serif">MEMORY = 64 <br></font><font face="arial, helvetica, sans-serif"> DISK = [ <br></font><font face="arial, helvetica, sans-serif"> <span style="background-color:transparent">source="/srv/cloud/one/var/datastores/1/ttylinux/ttylinux.img",<br>
</span></font><font face="arial, helvetica, sans-serif"> TARGET = hda, <br></font><font face="arial, helvetica, sans-serif"> BUS = ide,<br></font><font face="arial, helvetica, sans-serif"> DRIVER = raw, <br></font><font face="arial, helvetica, sans-serif"> cache = writeback ] <br>
</font><font face="arial, helvetica, sans-serif"> NIC = [ NETWORK_ID = 0 ] <br></font><font face="arial, helvetica, sans-serif"> FEATURES=[ acpi="no" ] <br></font><font face="arial, helvetica, sans-serif"> GRAPHICS = [ type ="vnc", listen ="0.0.0.0" ]</font></blockquote>
<pre style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><span style="white-space:normal"><br></span></font></pre><pre style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><span style="white-space:normal">does anyone have same problem? i try the 3.4.1 ,same.</span></font></pre>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">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>
<br></blockquote></div><br></div>