<div dir="ltr"><div><div>Hello again,<br><br></div><span id="result_box" class="" lang="en"><span class="">I managed to solve</span> <span class="">the problem reading [1]:<br>"Resources have to be referenced by its ID in VM Templates."<br>
<br></span></span></div><span id="result_box" class="" lang="en"><span class="">On my VM template file, on DISK section, I commented out image attribute:<br><span style="font-family:courier new,monospace">DISK = [</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> type = "disk",</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"># image = "ImageQCow2",</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> target = "hda",</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> driver = "qcow2",</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> readonly = "no",</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> IMAGE_ID = 0,</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> IMAGE_UID = 0 ]</span><br style="font-family:courier new,monospace"><br></span></span><div><span id="result_box" class="" lang="en"><span class="">So:<br><span style="font-family:courier new,monospace">$ onevm create vm_proxy.template</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">ID: 1</span><br><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">Thanks once more,<br><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">Erico.<br>
</span></span></div><div><span id="result_box" class="" lang="en"><span class=""><br>[1] </span></span><a href="http://opennebula.org/documentation:archives:rel3.0:compatibility">http://opennebula.org/documentation:archives:rel3.0:compatibility</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/10 Erico Augusto Cavalcanti Guedes <span dir="ltr"><<a href="mailto:eacg@cin.ufpe.br" target="_blank">eacg@cin.ufpe.br</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello,<br><br><div class="gmail_extra"><br><div class="gmail_quote"><div class="im">2013/4/2 Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Could you please paste the output of "<span style="font-family:'courier new',monospace;font-size:13px">oneimage show 0 -x"? I'm thinking that maybe the name has a trailing space that can't be seen in the CLI output....</span></div>
<div><span style="font-family:'courier new',monospace;font-size:13px"><br></span></div></div></blockquote></div><div><br>as asked (sorry for the delay...):<br><div><br></div><span style="font-family:courier new,monospace"><IMAGE></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <ID>0</ID></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <UID>0</UID></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <GID>0</GID></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <UNAME>oneadmin</UNAME></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <GNAME>oneadmin</GNAME></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <NAME>ImageQCow2</NAME></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">
<PERMISSIONS></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <OWNER_U>1</OWNER_U></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <OWNER_M>1</OWNER_M></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <OWNER_A>0</OWNER_A></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <GROUP_U>1</GROUP_U></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <GROUP_M>1</GROUP_M></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
<GROUP_A>0</GROUP_A></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <OTHER_U>1</OTHER_U></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <OTHER_M>1</OTHER_M></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <OTHER_A>0</OTHER_A></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> </PERMISSIONS></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <TYPE>0</TYPE></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <DISK_TYPE>0</DISK_TYPE></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
<PERSISTENT>0</PERSISTENT></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <REGTIME>1364503159</REGTIME></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <SOURCE>/srv/cloud/one/var/</span><div><span style="font-family:courier new,monospace">datastores/100/</span><span style="font-family:courier new,monospace">f68b7e09767df51b1b7b94e205e24b</span><span style="font-family:courier new,monospace">20</SOURCE></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <PATH>/images/Ubuntu12.</span><span style="font-family:courier new,monospace">04Modificado5Empty.qcow</PATH></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">
<FSTYPE/></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <SIZE>3095</SIZE></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <STATE>1</STATE></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <RUNNING_VMS>0</RUNNING_VMS></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <CLONING_OPS>0</CLONING_OPS></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <CLONING_ID>-1</CLONING_ID></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
<DATASTORE_ID>100</DATASTORE_</span><span style="font-family:courier new,monospace">ID></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <DATASTORE>ModcsDS</DATASTORE></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <VMS/></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <TEMPLATE></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <DEV_PREFIX><![CDATA[hd]]></</span><span style="font-family:courier new,monospace">DEV_PREFIX></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> </TEMPLATE></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">
</IMAGE></span><br></div><br><br>Unfortunately, I didn't find any trailing space(do you agree?).<br></div><div>Any further idea?<br></div><div><br>Thanks again.<span class="HOEnZb"><font color="#888888"><br><br>
</font></span></div><span class="HOEnZb"><font color="#888888"><div>Erico.<br></div></font></span><div><div class="h5"><div><br> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="font-family:'courier new',monospace;font-size:13px"></span></div>
<div><span style="font-family:'courier new',monospace;font-size:13px">Regards</span></div></div><div class="gmail_extra">
<br clear="all"><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>
</div>
<br><br><div class="gmail_quote"><div><div>On Fri, Mar 29, 2013 at 12:46 AM, Erico Augusto Cavalcanti Guedes <span dir="ltr"><<a href="mailto:eacg@cin.ufpe.br" target="_blank">eacg@cin.ufpe.br</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
<div dir="ltr"><div>Dears one users,<br><br></div>I'm updating from 3.4.1 to 3.8.3:<br><div><br><span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace">oneadmin@mc4-frontend:~$ oneuser list</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> ID NAME GROUP AUTH VMS MEMORY CPU</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> 0 oneadmin oneadmin core - - -</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> 1 serveradmin oneadmin server_c - - -</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace">oneadmin@mc4-frontend:~$ onegroup list</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> ID NAME USERS VMS MEMORY CPU</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> 0 oneadmin 2 - - -</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> 1 users 0 - - -</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace">oneadmin@mc4-frontend:~$ oneimage list</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> ID USER GROUP NAME DATASTORE SIZE TYPE PER STAT RVMS</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> 0 oneadmin oneadmin ImageQCow2 ModcsDS 3G OS No rdy 0</span><br>
<span style="font-family:courier new,monospace">oneadmin@mc4-frontend:~$ oneimage show 0</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">IMAGE 0 INFORMATION </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">ID : 0 </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">NAME : ImageQCow2 </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">USER : oneadmin </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">GROUP : oneadmin </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">DATASTORE : ModcsDS </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">TYPE : OS </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">REGISTER TIME : 03/28 17:39:19 </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">PERSISTENT : No </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">SOURCE : /srv/cloud/one/var/datastores/100/f68b7e09767df51b1b7b94e205e24b20</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">PATH : /images/Ubuntu12.04Modificado5Empty.qcow</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">SIZE : 3G </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">STATE : rdy </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">RUNNING_VMS : 0 </span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">PERMISSIONS </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">OWNER : uma </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">GROUP : uma </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">OTHER : uma </span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">IMAGE TEMPLATE </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">DEV_PREFIX="hd"</span><br><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">oneadmin@mc4-frontend:~$ cat templates/vm_proxy.template</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">CPU = 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">MEMORY = 128</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">OS=[</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> boot=hd,</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> ARCH = i686,</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> driver=qcow2</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">]</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">DISK = [</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> type = "disk",</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> image = "ImageQCow2",</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> target = "hda",</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> driver = "qcow2",</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> readonly = "no",</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> IMAGE_ID = 0,</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> IMAGE_UID = 0 ]</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">NIC = [</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> # NETWORK = "Modcs",</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> NETWORK = "Cloud",</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> BRIDGE = "br0"</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> ]</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">FEATURES=[ acpi="no" ]</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">GRAPHICS = [</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> TYPE = "vnc", </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> LISTEN = "0.0.0.0"</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> ]</span><br><br><span style="font-family:courier new,monospace">oneadmin@mc4-frontend:~$ ls -l /images/Ubuntu12.04Modificado5Empty.qcow </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">-rwxr-xr-x 1 oneadmin oneadmin 3244490752 Mar 28 17:28 /images/Ubuntu12.04Modificado5Empty.qcow</span><br></div><div><br>What can be missing that results in:<br><span style="font-family:courier new,monospace">oneadmin@mc4-frontend:~$ onevm create templates/vm_proxy.template </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">[VirtualMachineAllocate] Error allocating a new virtual machine. Image "ImageQCow2" does not exists for user 0</span><br><br></div><div>Thanks a lot,<br><br></div>
<div>Erico.<br></div></div>
<br></div></div>_______________________________________________<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>
<br></blockquote></div><br></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>