Bug #4023
Debian Jessie ruby errors
Status: | Closed | Start date: | 10/04/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | Documentation | |||
Target version: | Release 4.14.2 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 4.14 |
Description
Hi
The ruby library package seems to be missing components.
- oneflow complains about treetop, availabile in debian repo, installed
- oneflow complains about parse-cron. Installed via gem
- oneflow still fails to start with error below
FINAL ERROR
============
root@derouter:/var/log/one# cat oneflow.error
/usr/lib/one/oneflow/lib/models/role.rb:21:in `<top (required)>': undefined method `version' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/one/oneflow/lib/models.rb:26:in `<top (required)>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/one/oneflow/oneflow-server.rb:49:in `<main>'
Related issues
Associated revisions
History
#1 Updated by Derek Cordeiro almost 6 years ago
I was able to resolve my issue by installing an updated treetop gem. Not sure if this affects the instructions for Ubuntu, but /usr/share/one/install_gems isn't present in the howto.
#2 Updated by Ruben S. Montero almost 6 years ago
- Target version set to Release 4.14.2
#3 Updated by Daniel Molina almost 6 years ago
- Related to Bug #4032: Check if treetop version check is working added
#4 Updated by Carlos Martín over 5 years ago
- Category set to Documentation
- Status changed from Pending to New
The treetop version comparison was done using a method that only works if the gem was installed with rubygems, and not from packages.
That should be fixed in the repo now.
I'm moving this ticked to the documentation category to double check where install_gems is missing.
#5 Updated by Ignacio M. Llorente over 5 years ago
- Assignee set to Javi Fontan
#6 Updated by Javi Fontan over 5 years ago
- Status changed from New to Closed
- Resolution set to fixed
Added information in the platform notes.