Actions
Bug #30145
closedforeman-rake foreman_tasks:cleanup fails because Dynflow world is not initialized yet
Difficulty:
Triaged:
No
Description
rake aborted! The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/rails.rb:75:in `world' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks/cleaner.rb:80:in `initialize' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks/cleaner.rb:8:in `new' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks/cleaner.rb:8:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks/tasks/cleanup.rake:37:in `block (3 levels) in <top (required)>' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>' Tasks: TOP => foreman_tasks:cleanup => foreman_tasks:cleanup:run (See full trace by running task with --trace)
Actions