Actions
Bug #21081
closed"Gem Load Error is: uninitialized constant Foreman::Dynflow" when running zeus with foreman-tasks
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman plugin
Target version:
Description
When using zues with foreman-tasks loaded, I was getting errors with environment
initialization
Gem Load Error is: uninitialized constant Foreman::Dynflow Backtrace for gem load error is: /home/inecas/Projects/ws/foreman-rex/foreman-tasks/lib/foreman_tasks/dynflow/configuration.rb:8:in `<module:ForemanTasks>' /home/inecas/Projects/ws/foreman-rex/foreman-tasks/lib/foreman_tasks/dynflow/configuration.rb:6:in `<top (required)>' /home/inecas/Projects/ws/foreman-rex/foreman-tasks/lib/foreman_tasks.rb:5:in `<top (required)>' /home/inecas/Projects/ws/foreman-rex/foreman-tasks/lib/foreman-tasks.rb:1:in `<top (required)>' /home/inecas/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:82:in `require' /home/inecas/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:82:in `block (2 levels) in require' /home/inecas/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:77:in `each'
The issue was we were trying to access a class that was not loaded yet. Not sure why we were not seeing
this error anywhere else but the fix should be being more explicit when loading something from the Foreman.
Updated by The Foreman Bot about 7 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman-tasks/pull/286 added
Updated by Ivan Necas about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 766c805bbe9e898c6af1e51761f933875edda02b.
Updated by Ivan Necas about 7 years ago
- Translation missing: en.field_release set to 315
Actions