[one-users] Failed to login in Sunstone NameError OpenNebula 2.2.1

Nick Zhu nick.qi.zhu at gmail.com
Wed Jun 8 13:47:20 PDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110608/202a6a44/attachment-0002.htm>


More information about the Users mailing list