[one-users] econe commands

manju a manju.kudu at gmail.com
Fri May 7 07:05:46 PDT 2010


Hi Tino,

okay i added the below mentioned line in
/var/lib/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb file

263         doc = REXML::Document.new(response.body)
    264         pp response.body


Here is the output

/src/cloud//bin/econe-run-instances:100: warning: ambiguous first argument;
put parentheses or even spaces
/src/cloud//bin/econe-run-instances:107: warning: ambiguous first argument;
put parentheses or even spaces
/src/cloud//bin/econe-run-instances:120: warning: ambiguous first argument;
put parentheses or even spaces
/src/cloud//bin/econe-run-instances:127: warning: ambiguous first argument;
put parentheses or even spaces
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems.rb:1113 - no such file
to load -- rubygems/defaults/operating_system
Exception `NoMethodError' at /usr/lib/ruby/1.8/rational.rb:78 - undefined
method `gcd' for Rational(1, 2):Rational
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/config_file.rb:34 - no
such file to load -- Win32API
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 -
no such file to load -- curb
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 -
no such file to load -- net/http/post/multipart
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 -
no such file to load -- xmlsimple
"Invalid credentials"
Exception `NoMethodError' at ./AWS.rb:267 - undefined method `elements' for
nil:NilClass
econe-run-instances: undefined method `elements' for nil:NilClass

Not sure why its giving as "Invalid credentials" ....

thanks,
manjunath A


On Fri, May 7, 2010 at 3:43 PM, Tino Vazquez <tinova at fdi.ucm.es> wrote:

> Hi Manju,
>
> Kind of running out of ideas here. Let's try this, set in line 264 of
> /var/lib/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb, the following
> line:
>
> pp response.body
>
> and try again the econe-run-instances request. It should then print
> the error message, let's see if this sheds some light.
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez, Grid & Virtualization Technology
> Engineer/Researcher: http://www.dsa-research.org/tinova
> DSA Research Group: http://dsa-research.org
> Globus GridWay Metascheduler: http://www.GridWay.org
> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>
>
>
> On Wed, May 5, 2010 at 8:16 PM, manju a <manju.kudu at gmail.com> wrote:
> > /var/lib/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100507/86b18daa/attachment-0002.htm>


More information about the Users mailing list