Hi Tino,<br><br>I found the error. I have two versions of amazon-ec2. I install the last version and run correctly but after appears another error. I see te vm.log and show this:<br><br>Wed Feb 17 11:34:31 2010 [VMM][I]: Generating deployment file: /srv/cloud/one/var/43/deployment.0<br>
Wed Feb 17 11:35:01 2010 [VMM][I]: Command execution fail: &#39;mkdir -p /srv/cloud/one/var/43/images &amp;&amp; cat &gt; /srv/cloud/one/var/43/images/deployment.0 &amp;&amp; virs<br>Wed Feb 17 11:35:01 2010 [VMM][I]: STDERR follows.<br>
Wed Feb 17 11:35:01 2010 [VMM][I]: Connecting to uri: qemu:///system<br>Wed Feb 17 11:35:01 2010 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var/43/images/deployment.0<br>Wed Feb 17 11:35:01 2010 [VMM][I]: error: internal error unable to start guest: qemu: could not open disk image /srv/cloud/one/var/43/images/disk.0<br>
Wed Feb 17 11:35:01 2010 [VMM][I]:<br>Wed Feb 17 11:35:01 2010 [VMM][I]: ExitCode: 1<br>Wed Feb 17 11:35:01 2010 [VMM][E]: Error deploying virtual machine<br>I don&#39;t understand why don&#39;t run because i use onevm create run correctly. This is my template of econe-tools:<br>
<br>NAME   = eco-vm<br><br>CPU    = 1<br>MEMORY = 2000<br><br>OS = [ boot=&quot;hd&quot;]<br><br>DISK = [ source   = &lt;%= erb_vm_info[:img_path] %&gt;,<br>         clone    = yes,<br>         target   = hda,<br>         readonly = no]<br>
<br><br>NIC=[NETWORK=&quot;Public2&quot;]<br><br><br>IMAGE_ID = &lt;%= erb_vm_info[:img_id] %&gt;<br>INSTANCE_TYPE = &lt;%= erb_vm_info[:instance_type ]%&gt;<br><br><br>Thank you very much,<br><br>Regards,<br><br>Sergio<br>
<br><div class="gmail_quote">2010/2/16 sergio garcia escriche <span dir="ltr">&lt;<a href="mailto:sergei.garcia@gmail.com">sergei.garcia@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Tino,<br><br>I see the econe-log but i don&#39;t explain where is the error exactly. Econe-server log show this:<br><br>147.83.105.238 - - [16/Feb/2010 10:38:19] &quot;POST / HTTP/1.1&quot; 200 1078 0.0555<br>147.83.105.238 - - [16/Feb/2010 10:38:29] &quot;POST / HTTP/1.1&quot; 200 930 0.1844<br>

NoMethodError - undefined method `[]&#39; for nil:NilClass:<br> /srv/cloud/one/lib/ruby/cloud/econe/EC2QueryServer.rb:235:in `render_state&#39;<br> (erb):18:in `describe_instances&#39;<br> /srv/cloud/one/lib/ruby/OpenNebula/XMLUtils.rb:144:in `call&#39;<br>

 /srv/cloud/one/lib/ruby/OpenNebula/XMLUtils.rb:144:in `each_element&#39;<br> /usr/lib/ruby/1.8/rexml/element.rb:892:in `each&#39;<br> /usr/lib/ruby/1.8/rexml/xpath.rb:53:in `each&#39;<br> /usr/lib/ruby/1.8/rexml/element.rb:892:in `each&#39;<br>

 /srv/cloud/one/lib/ruby/OpenNebula/XMLUtils.rb:142:in `each_element&#39;<br> /srv/cloud/one/lib/ruby/OpenNebula/Pool.rb:58:in `each&#39;<br> (erb):12:in `describe_instances&#39;<br> /srv/cloud/one/lib/ruby/cloud/econe/EC2QueryServer.rb:201:in `describe_instances&#39;<br>

 /srv/cloud/one/lib/ruby/cloud/econe/econe-server.rb:79:in `POST /&#39;<br> /srv/cloud/one/lib/ruby/cloud/econe/econe-server.rb:68NoMethodError: undefined method `[]&#39; for nil:NilClass<br>        /srv/cloud/one/lib/ruby/cloud/econe/EC2QueryServer.rb:235:in `render_state&#39;<br>

        (erb):18:in `describe_instances&#39;<div class="im"><br>Thank you very much,<br><br>Sergio<br><br></div><div class="gmail_quote">2010/2/16 Tino Vazquez <span dir="ltr">&lt;<a href="mailto:tinova@fdi.ucm.es" target="_blank">tinova@fdi.ucm.es</a>&gt;</span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Sergio,<br>
<br>
Can you send the $ONE_LOCATION/var/econe-server.log?<br>
<br>
Regards,<br>
<br>
-Tino<br>
<br>
--<br>
Constantino Vázquez, Grid &amp; Virtualization Technology<br>
Engineer/Researcher: <a href="http://www.dsa-research.org/tinova" target="_blank">http://www.dsa-research.org/tinova</a><br>
<div>DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br>
OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
<br>
<br>
<br>
</div>On Thu, Feb 11, 2010 at 9:47 AM, sergio garcia escriche<br>
<div><div></div><div>&lt;<a href="mailto:sergei.garcia@gmail.com" target="_blank">sergei.garcia@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Now i have a problem with econe-run instances . when i put :<br>
&gt;<br>
&gt; $ econe-describe-images -H<br>
&gt; Owner  ImageId                               Location<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; oneadmin  1                                     /srv/cloud/images/1<br>
&gt;<br>
&gt; $ econe-run-instances 1<br>
&gt;<br>
&gt; Opennebula show me this error:<br>
&gt; econe-run-instances: undefined method `elements&#39; for nil:NilClass<br>
&gt;<br>
&gt; Thank you very much and sorry for the inconvenience.<br>
&gt;<br>
&gt; Sergio<br>
&gt;<br>
&gt; 2010/2/10 Javier Fontan &lt;<a href="mailto:jfontan@gmail.com" target="_blank">jfontan@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; You need multipart-post gem installed:<br>
&gt;&gt;<br>
&gt;&gt; $ sudo gem install multipart-post<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Feb 10, 2010 at 3:50 PM, sergio garcia escriche<br>
&gt;&gt; &lt;<a href="mailto:sergei.garcia@gmail.com" target="_blank">sergei.garcia@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; HI,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Now i have a problem with econe-upload because says this error:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; econe-upload -M win.img<br>
&gt;&gt; &gt; /srv/cloud/one/lib/ruby/cloud/econe/EC2QueryClient.rb:173:in<br>
&gt;&gt; &gt; `upload_image&#39;:<br>
&gt;&gt; &gt; uninitialized constant EC2QueryClient::Client::UploadIO (NameError)<br>
&gt;&gt; &gt;     from /srv/cloud/one/bin/econe-upload:115<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; And this is my configuration of econe.conf<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; # OpenNebula administrator user<br>
&gt;&gt; &gt; USER=oneadmin<br>
&gt;&gt; &gt; PASSWORD=mypass<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; # OpenNebula sever contact information<br>
&gt;&gt; &gt; ONE_XMLRPC=<a href="http://localhost:2633/RPC2" target="_blank">http://localhost:2633/RPC2</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; # Host and port where econe server will run<br>
&gt;&gt; &gt; SERVER=<a href="http://nebula.prueba.edu" target="_blank">nebula.prueba.edu</a><br>
&gt;&gt; &gt; PORT=4567<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; # SSL proxy that serves the API (set if is being used)<br>
&gt;&gt; &gt; #SSL_SERVER=fqdm.of.the.server<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; # Configuration for the image repository<br>
&gt;&gt; &gt; DATABASE=/srv/cloud/one/var/econe.db<br>
&gt;&gt; &gt; IMAGE_DIR=/srv/cloud/images<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; # VM types allowed and its template file (inside templates directory)<br>
&gt;&gt; &gt; VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I install all the packages but i don&#39;t know what happened.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thank you very much,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Sergio<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Users mailing list<br>
&gt;&gt; &gt; <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
&gt;&gt; &gt; <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Javier Fontan, Grid &amp; Virtualization Technology Engineer/Researcher<br>
&gt;&gt; DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
&gt;&gt; Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br>
&gt;&gt; OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
&gt; <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>