Project

General

Custom queries

Profile

Actions

Bug #29337

closed

async_task fails with `The Dynflow world was not initialized yet.` in rake tasks on nightly production

Added by Ian Ballou about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Orchestration
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Two related PRs:

https://github.com/theforeman/foreman/pull/7487/files

https://github.com/theforeman/foreman/pull/7490/files

It seems like we may have to extend Dynflow::Rails::Configuration#rake_task_with_executor to include tasks that need Dynflow.


Related issues 1 (0 open1 closed)

Copied to Katello - Bug #30919: sync_task fails with `The Dynflow world was not initialized yet.` in rake tasks on nightly productionDuplicateActions
Actions #2

Updated by Ian Ballou about 5 years ago

A quick workaround on nightly is to add

katello:pulp3_migration
to
self.rake_tasks_with_executor = ...
in
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.3/lib/dynflow/rails/configuration.rb

Actions #5

Updated by Justin Sherrill about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF