[one-users] econe setup

Andrea Turli andrea.turli at eng.it
Wed Oct 6 02:24:22 PDT 2010


Dear all,

I've a running OpenNebula 1.4 cluster configured with opennebula_express.
I'm trying to follow you guide to configure OpenNebula to expose a 
public cloud interface, in particular EC2-Query API Cloud service

After the configuration step, I'm trying to invoke the econe commands 
but I've some exceptions:
unfortunately I'm not a ruby expert.

Here the exception:

$ ruby -dw /srv/cloud/one/bin/econe-describe-images -H
/srv/cloud/one/bin/econe-describe-images:95: warning: ambiguous first 
argument; put parentheses or even spaces
/srv/cloud/one/bin/econe-describe-images:104: warning: ambiguous first 
argument; put parentheses or even spaces
/srv/cloud/one/bin/econe-describe-images:111: 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 -- AWS
/var/lib/gems/1.8/gems/amazon-ec2-0.9.15/lib/AWS/EC2/products.rb:11: 
warning: method redefined; discarding old confirm_product_instance
Exception `NoMethodError' at 
/var/lib/gems/1.8/gems/amazon-ec2-0.9.15/lib/AWS.rb:304 - undefined 
method `elements' for nil:NilClass
econe-describe-images: undefined method `elements' for nil:NilClass

and this is my gem env:
$ gem env
RubyGems Environment:
   - RUBYGEMS VERSION: 1.3.5
   - RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
   - INSTALLATION DIRECTORY: /var/lib/gems/1.8
   - RUBY EXECUTABLE: /usr/bin/ruby1.8
   - EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
   - RUBYGEMS PLATFORMS:
     - ruby
     - x86_64-linux
   - GEM PATHS:
      - /var/lib/gems/1.8
      - /srv/cloud/one/.gem/ruby/1.8
   - GEM CONFIGURATION:
      - :update_sources => true
      - :verbose => true
      - :benchmark => false
      - :backtrace => false
      - :bulk_threshold => 1000
   - REMOTE SOURCES:
      - http://gems.rubyforge.org/


I've seen on one-users mailing list a similar post but I can't 
understand if it was solved somehow
http://lists.opennebula.org/pipermail/users-opennebula.org/2010-April/001968.html


Thank you very much for any help,
Andrea

-- 
Andrea Turli
Ricercatore
Direzione Ricerca e Innovazione
andrea.turli at eng.it

Engineering Ingegneria Informatica spa
Via Riccardo Morandi, 32 00148 Roma (RM)
Tel. +39 06 8307 4710
Fax +39 06 8307 4200
www.eng.it


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101006/a21775ae/attachment-0001.htm>


More information about the Users mailing list