Hi Tino,<br><br>okay i added the below mentioned line in /var/lib/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb file <br><br>263 doc = REXML::Document.new(response.body)<br> 264 pp response.body<br><br><br>Here is the output <br>
<br>/src/cloud//bin/econe-run-instances:100: warning: ambiguous first argument; put parentheses or even spaces<br>/src/cloud//bin/econe-run-instances:107: warning: ambiguous first argument; put parentheses or even spaces<br>
/src/cloud//bin/econe-run-instances:120: warning: ambiguous first argument; put parentheses or even spaces<br>/src/cloud//bin/econe-run-instances:127: warning: ambiguous first argument; put parentheses or even spaces<br>Exception `LoadError' at /usr/lib/ruby/1.8/rubygems.rb:1113 - no such file to load -- rubygems/defaults/operating_system<br>
Exception `NoMethodError' at /usr/lib/ruby/1.8/rational.rb:78 - undefined method `gcd' for Rational(1, 2):Rational<br>Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/config_file.rb:34 - no such file to load -- Win32API<br>
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- curb<br>Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- net/http/post/multipart<br>
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- xmlsimple<br>"Invalid credentials"<br>Exception `NoMethodError' at ./AWS.rb:267 - undefined method `elements' for nil:NilClass<br>
econe-run-instances: undefined method `elements' for nil:NilClass<br><br>Not sure why its giving as "Invalid credentials" .... <br><br>thanks,<br>manjunath A<br><br><br><div class="gmail_quote">On Fri, May 7, 2010 at 3:43 PM, Tino Vazquez <span dir="ltr"><<a href="mailto:tinova@fdi.ucm.es">tinova@fdi.ucm.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Manju,<br>
<br>
Kind of running out of ideas here. Let's try this, set in line 264 of<br>
/var/lib/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb, the following<br>
line:<br>
<br>
pp response.body<br>
<br>
and try again the econe-run-instances request. It should then print<br>
the error message, let's see if this sheds some light.<br>
<div class="im"><br>
Regards,<br>
<br>
-Tino<br>
<br>
--<br>
Constantino Vázquez, Grid & Virtualization Technology<br>
Engineer/Researcher: <a href="http://www.dsa-research.org/tinova" target="_blank">http://www.dsa-research.org/tinova</a><br>
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><div><div></div><div class="h5">On Wed, May 5, 2010 at 8:16 PM, manju a <<a href="mailto:manju.kudu@gmail.com">manju.kudu@gmail.com</a>> wrote:<br>
> /var/lib/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb<br>
</div></div></blockquote></div><br>