[one-users] EC2 testing

sebastien goasguen runseb at gmail.com
Sun Sep 6 13:33:02 PDT 2009


Hi,

I am trying to get the cloud interface running using ec2 query api setup.

I checked out the latest openenbual code from svn trunk.
I upgrade to ruby 1.8.6 (because 1.8.5 gave me errors).

I now can run the econe server, but I get some errors see below:

[oneadmin at lxbrl2302 var]$ econe-describe-images -H
Owner  ImageId                               Location
------------------------------------------------------------------------------
/home/oneadmin/one/bin/econe-describe-images:121: undefined method
`each' for nil:NilClass (NoMethodError)

[oneadmin at lxbrl2302 var]$ econe-upload /images/cernvm120.img
/home/oneadmin/one/lib/ruby/econe/EC2QueryClient.rb:152:in
`http_post': server returned nothing (no headers, no data)
(Curl::Err::GotNothingError)
        from /home/oneadmin/one/lib/ruby/econe/EC2QueryClient.rb:152:in
`upload_image'
        from /home/oneadmin/one/bin/econe-upload:107

[oneadmin at lxbrl2302 var]$ tail -n 20 econe.log
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
        from /usr/lib/ruby/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb:292
        from /usr/lib/ruby/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb:292:in
`each'
        from /usr/lib/ruby/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb:292
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
        from /home/oneadmin/one/lib/ruby/econe/eco.rb:19
/usr/lib/ruby/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS/EC2.rb:12:
Invalid EC2_URL environment variable : http://lxbrl2302.cern.ch:4567
(ArgumentError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
        from /usr/lib/ruby/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb:292
        from /usr/lib/ruby/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb:292:in
`each'
        from /usr/lib/ruby/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb:292
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
        from /home/oneadmin/one/lib/ruby/econe/eco.rb:19
128.142.240.27 - - [06/Sep/2009 21:05:27] "POST / HTTP/1.1" 200 138 0.0758
128.142.240.27 - - [06/Sep/2009 22:12:00] "POST / HTTP/1.1" 401 12 0.0571
128.142.240.27 - - [06/Sep/2009 22:14:11] "POST / HTTP/1.1" 200 138 0.0674

Any thoughts ? Especially on the EC2 env variable argument error ?

-sebastien

-- 
---
Sebastien Goasguen
School of Computing
Clemson University
864-656-6753
http://runseb.googlepages.com



More information about the Users mailing list