[one-users] EC2 service

sebastien goasguen runseb at gmail.com
Sun Sep 6 08:24:14 PDT 2009


Hi,

Installed the latest version in trunk, I can run the econe-server but
I get errors when trying to use the econe tools:

[oneadmin at lxbrl2302 bin]$ ./econe-server
[oneadmin at lxbrl2302 bin]$ ./econe-describe-images -H
/usr/lib/ruby/1.8/rdoc/ri/ri_options.rb:53: uninitialized constant
RI::Paths (NameError)
        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/1.8/rdoc/usage.rb:72
        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 ./econe-describe-images:59


the econe logs gives:

[oneadmin at lxbrl2302 var]$ cat econe.log
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:565:in
`start_tcp_server': no acceptor (RuntimeError)
        from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:565:in
`start_server'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin/backends/tcp_server.rb:16:in
`connect'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin/backends/base.rb:49:in
`start'
        from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
`call'
        from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
`run_machine'
        from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
`run'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin/backends/base.rb:57:in
`start'
        from /usr/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin/server.rb:156:in
`start'
        from /usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/handler/thin.rb:14:in
`run'
        from /usr/lib/ruby/gems/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:866:in
`run!'
        from /usr/lib/ruby/gems/1.8/gems/sinatra-0.9.4/lib/sinatra/main.rb:34
        from /home/oneadmin/one/lib/ruby/econe/eco.rb:261
#<OcaConfiguration:0x2afc8f1fe8a0
 @conf=
  {"VM_TYPE"=>
    [{"NAME"=>"cernvm.small", "TEMPLATE"=>"cernvm.erb"},
     {"NAME"=>"vm64slc5", "TEMPLATE"=>"vm64slc5.erb"},
     {"NAME"=>"vm64slc4", "TEMPLATE"=>"vm64slc4.erb"}],
   "USER"=>"oneadmin",
   "DATABASE"=>"/home/oneadmin/one/var/econe.db",
   "PORT"=>"4567",
   "SERVER"=>"lxbrl2302.cern.ch",
   "ONE_XMLRPC"=>"http://localhost:2633/RPC2",
   "IMAGE_DIR"=>"/images",
   "PASSWORD"=>"opennebula"}>
{"vm64slc4"=>{"NAME"=>"vm64slc4", "TEMPLATE"=>"vm64slc4.erb"},
 "cernvm.small"=>{"NAME"=>"cernvm.small", "TEMPLATE"=>"cernvm.erb"},
 "vm64slc5"=>{"NAME"=>"vm64slc5", "TEMPLATE"=>"vm64slc5.erb"}}
== Sinatra/0.9.4 has taken the stage on 4567 for development with
backup from Thin
!! Ruby 1.8.5 is not secure please install cgi_multipart_eof_fix:
   gem install cgi_multipart_eof_fix
>> Thin web server (v1.2.2 codename I Find Your Lack of Sauce Disturbing)
>> Maximum connections set to 1024
>> Listening on lxbrl2302.cern.ch:4567, CTRL+C to stop

The one commands work fine.

I had the same problem with 1.3.80

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


More information about the Users mailing list