Sunstone doesn't start after update to 5.10

Hi guys,

After update to 5.10 while starting sunstone service I got the error:

ruby[266052]: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- rack/session/dalli (LoadError) ruby[266052]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in require’
ruby[266052]: from /usr/lib/one/sunstone/sunstone-server.rb:168:in `’
systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Unit opennebula-sunstone.service entered failed state.

Hi @Leonid,

please see -

We didn’t install gem for dalli in the past, so it’s also not bundled now with OpenNebula (maybe something to consider). You can fix the problem by

  • switching Sunstone to :sessions: memcache or
  • installing missing gem, e.g.:
export GEM_PATH=/usr/share/one/gems/
export GEM_HOME=/usr/share/one/gems/
gem install --no-document --conservative dalli


Hi Vlastimil,

I switched sunstone to :sessions: memcache and it started to work.

Thank you very much!