[one-users] Failed to login in Sunstone NameError OpenNebula 2.2.1
Héctor Sanjuán
hsanjuan at opennebula.org
Wed Jun 8 15:53:56 PDT 2011
Hi,
I cannot reproduce this :(. Ubuntu does not usually handle gem paths
very well. Can you check make sure that the gems correspond to the ruby
version you are using? Also, can you make sure you're not missing any
previous error in the log file. Can you also try to run "ruby
sunstone-server.rb" and see if it works like that? This file is in
/srv/cloud/one/lib/sunstone/ or /usr/lib/one/sunstone depending on
System-wide or self-contained installation.
Hope it helps,
Hector
El 08/06/11 22:47, Nick Zhu escribió:
> Hi,
>
> I downloaded and installed OpenNebula 2.2.1 from the tar. Went through
> the installation alright and the cli interface is working now, however
> having problem login into sunstone. Here is the error I am getting:
>
> NameError: uninitialized constant Rack::Multipart
> /var/lib/gems/1.8/gems/rack-1.3.0/lib/rack/request.rb:306:in
> `parse_multipart'
> /var/lib/gems/1.8/gems/rack-1.3.0/lib/rack/request.rb:182:in `POST'
>
> /var/lib/gems/1.8/gems/rack-1.3.0/lib/rack/methodoverride.rb:15:in `call'
> /var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in
> `call'
> /var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1303:in
> `synchronize'
> /var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in
> `call'
> /var/lib/gems/1.8/gems/rack-1.3.0/lib/rack/lint.rb:48:in `_call'
> /var/lib/gems/1.8/gems/rack-1.3.0/lib/rack/lint.rb:36:in `call'
>
> /var/lib/gems/1.8/gems/rack-1.3.0/lib/rack/showexceptions.rb:24:in `call'
> /var/lib/gems/1.8/gems/rack-1.3.0/lib/rack/commonlogger.rb:18:in
> `call'
> /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'
> /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call'
> /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
> /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
> /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
> /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
> /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
> /usr/lib/ruby/1.8/eventmachine.rb:257:in `run_machine'
> /usr/lib/ruby/1.8/eventmachine.rb:257:in `run'
> /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
> /usr/lib/ruby/1.8/thin/server.rb:156:in `start'
> /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run'
> /usr/lib/ruby/1.8/rack/server.rb:155:in `start'
> /usr/lib/ruby/1.8/rack/server.rb:83:in `start'
> /usr/bin/rackup:4
>
> I am running on Ubuntu 11.04 server with:
>
> ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
>
> *** LOCAL GEMS ***
>
> daemons (1.1.3)
> eventmachine (0.12.10)
> json (1.5.1)
> mkrf (0.2.3)
> multipart-post (1.1.2)
> rack (1.3.0)
> rake (0.9.2)
> sequel (3.24.1)
> sinatra (1.2.6)
> thin (1.2.11)
> tilt (1.3.2)
>
> Tried reinstall ruby and rack as suggested online and no luck. Also
> checked all the log files and did not find any problem other than this
> error. Does somebody have any idea how to fix this?
>
>
> Thanks,
>
> Nick
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Héctor Sanjuán
OpenNebula Sunstone Developer
More information about the Users
mailing list