Leonid
(Leonid)
1
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.
vholer
(Vlastimil Holer)
2
Hi @Leonid,
please see -
http://docs.opennebula.org/5.10/deployment/opennebula_installation/frontend_installation.html#step-4-ruby-runtime-installation-optional.
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
Best,
Vlastimil
Leonid
(Leonid)
3
Hi Vlastimil,
I switched sunstone to :sessions: memcache
and it started to work.
Thank you very much!