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

Ruben S. Montero rsmontero at opennebula.org
Thu Feb 6 14:30:38 PST 2014


Hi Daniel

OpenNebula 4.4.1, has been certified using tilt up to 1.4.4 (wheezy shipd
with 1.3 something, I believe). The upgrade to opennebula which requires
ruby-sinatra, and in turns it requires ruby-tilt, may have upgraded the
tilt gem in your setup...

We should look at it, for the upcoming jessie (
http://dev.opennebula.org/issues/2716). If possible downgrade tilt....

Thanks for the heads up

Ruben

---------- Forwarded message ----------
From: Daniel Dehennin <daniel.dehennin at baby-gnu.org>
Date: Thu, Feb 6, 2014 at 10:11 PM
Subject: [one-users] Sunstone errors after upgrade to 4.4.1 on Debian Jessie
To: users at lists.opennebula.org


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

_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief
Architect<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
OpenNebula - Flexible Enterprise Cloud Made Simple
 <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140206/fff34ab2/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140206/fff34ab2/attachment-0002.pgp>


More information about the Users mailing list