[one-users] Sunstone errors after upgrade to 4.4.1 on Debian Jessie

Daniel Dehennin daniel.dehennin at baby-gnu.org
Thu Feb 6 13:11:37 PST 2014


Hello,

I just upgrade my ONE installation to 4.4.1 from OpenNebula deb
repository[1] and my sunstone does not work anymore.

The CLI is working.

According to my logs, it looks like a problem with ruby Tilt, mine is in
version 2.0.0-1 from debian, here are the sunstone logs:

root at yggdrasil:/etc/one# cat /var/log/one/sunstone.error 
== Sinatra/1.4.3 has taken the stage on 9869 for development with backup from Thin
WARN: tilt autoloading 'tilt/erb' in a non thread-safe way; explicit require 'tilt/erb' suggested.
NoMethodError - undefined method `mappings' for Tilt:Module:
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `find_template'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:829:in `block in compile_template'
        /usr/lib/ruby/vendor_ruby/tilt.rb:88:in `fetch'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:816:in `compile_template'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:797:in `render'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:807:in `block in render'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:807:in `catch'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:807:in `render'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:657:in `erb'
        /usr/lib/one/sunstone/sunstone-server.rb:261:in `block in <main>'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1541:in `call'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1541:in `block in compile!'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:950:in `[]'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:950:in `block (3 levels) in route!'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:966:in `route_eval'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:950:in `block (2 levels) in route!'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:987:in `block in process_route'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:985:in `catch'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:985:in `process_route'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:948:in `block in route!'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:947:in `each'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:947:in `route!'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1059:in `block in dispatch!'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `block in invoke'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `catch'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `invoke'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1056:in `dispatch!'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:882:in `block in call!'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `block in invoke'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `catch'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `invoke'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:882:in `call!'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:870:in `call'
        /usr/lib/ruby/vendor_ruby/rack/commonlogger.rb:33:in `call'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:212:in `call'
        /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:225:in `context'
        /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:220:in `call'
        /usr/lib/ruby/vendor_ruby/rack/protection/xss_header.rb:18:in `call'
        /usr/lib/ruby/vendor_ruby/rack/protection/path_traversal.rb:16:in `call'
        /usr/lib/ruby/vendor_ruby/rack/protection/json_csrf.rb:18:in `call'
        /usr/lib/ruby/vendor_ruby/rack/protection/base.rb:50:in `call'
        /usr/lib/ruby/vendor_ruby/rack/protection/base.rb:50:in `call'
        /usr/lib/ruby/vendor_ruby/rack/protection/frame_options.rb:31:in `call'
        /usr/lib/ruby/vendor_ruby/rack/nulllogger.rb:9:in `call'
        /usr/lib/ruby/vendor_ruby/rack/head.rb:11:in `call'
        /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:21:in `call'
        /usr/lib/ruby/vendor_ruby/sinatra/showexceptions.rb:21:in `call'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:175:in `call'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1949:in `call'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1449:in `block in call'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1726:in `synchronize'
        /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1449:in `call'
        /usr/lib/ruby/vendor_ruby/thin/connection.rb:80:in `block in pre_process'
        /usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `catch'
        /usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `pre_process'
        /usr/lib/ruby/vendor_ruby/eventmachine.rb:1037:in `call'
        /usr/lib/ruby/vendor_ruby/eventmachine.rb:1037:in `block in spawn_threadpool'

Regards.

Footnotes: 
[1]  deb http://downloads.opennebula.org/repo/Debian/7 stable opennebula

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140206/dfd24f6d/attachment.pgp>


More information about the Users mailing list