Project

General

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 over 4 years ago. Updated about 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 #1

Updated by Chris Roberts over 4 years ago

  • Category set to Orchestration
  • Target version set to Katello 3.16.0
  • Triaged changed from No to Yes
Actions #2

Updated by Ian Ballou over 4 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 #3

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Justin Sherrill
  • Pull request https://github.com/Katello/katello/pull/8668 added
Actions #4

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases added
Actions #5

Updated by Justin Sherrill over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Justin Sherrill over 4 years ago

  • Target version changed from Katello 3.16.0 to Katello 3.15.2
Actions #7

Updated by Justin Sherrill over 4 years ago

  • Target version changed from Katello 3.15.2 to Katello 3.15.3
Actions #8

Updated by Samir Jha about 4 years ago

  • Copied to Bug #30919: sync_task fails with `The Dynflow world was not initialized yet.` in rake tasks on nightly production added
Actions #9

Updated by Jonathon Turel about 4 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/8668)
  • Fixed in Releases Katello 3.17.0 added
  • Fixed in Releases deleted ()
Actions

Also available in: Atom PDF