What version of Katello are you on?
I have a quick workaround that should work:
- Open up /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.3/lib/dynflow/rails/configuration.rb
-> You might need to update the dynflow version - Search for
self.rake_tasks_with_executor = - See the line
self.rake_tasks_with_executor = %w(db:migrate db:seed) - Add
consoleto the line like so: self.rake_tasks_with_executor = %w(db:migrate db:seed console)- Open up the console again and see if it works now.