Bug #5186

Deb package opennebula-flow requires ruby-treetop

Added by EOLE Team over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:06/08/2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:worksforme Pull request:
Affected Versions:Development

Description

Hello,

I need to manually install the package ruby-treetop to make the OneFlow service running:

journalctl -u opennebula-flow.service 
-- Logs begin at mer. 2017-06-07 16:48:51 CEST, end at jeu. 2017-06-08 15:09:14 CEST. --
juin 07 16:56:43 grichka systemd[1]: Started OpenNebula Flow Service.
juin 07 16:56:43 grichka ruby[7259]: /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- treetop (LoadError)
juin 07 16:56:43 grichka ruby[7259]:         from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
juin 07 16:56:43 grichka ruby[7259]:         from /usr/lib/one/oneflow/lib/models/role.rb:17:in `<top (required)>'
juin 07 16:56:43 grichka ruby[7259]:         from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
juin 07 16:56:43 grichka ruby[7259]:         from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
juin 07 16:56:43 grichka ruby[7259]:         from /usr/lib/one/oneflow/lib/models.rb:26:in `<top (required)>'
juin 07 16:56:43 grichka ruby[7259]:         from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
juin 07 16:56:43 grichka ruby[7259]:         from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
juin 07 16:56:43 grichka ruby[7259]:         from /usr/lib/one/oneflow/oneflow-server.rb:49:in `<main>'
juin 07 16:56:43 grichka systemd[1]: opennebula-flow.service: Main process exited, code=exited, status=1/FAILURE
juin 07 16:56:43 grichka systemd[1]: opennebula-flow.service: Unit entered failed state.
juin 07 16:56:43 grichka systemd[1]: opennebula-flow.service: Failed with result 'exit-code'.

It should be added to the package Depends:.

Thanks.

History

#1 Updated by Javi Fontan over 3 years ago

  • Status changed from Pending to Closed
  • Resolution set to worksforme

The gem `treetop` is installed by script `install_gems`. It installs the version we test in our infrastructure that is not always the packaged version in the distros.

#2 Updated by Javi Fontan over 3 years ago

This is related to #5122. install_gems script is not installed automatically by the opennebula-flow package.

Also available in: Atom PDF