Project

General

Profile

Actions

Bug #30937

closed

katello:pulp3_post_migration_check fails with 'The Dynflow world was not initialized yet'

Added by Justin Sherrill about 4 years ago. Updated about 4 years ago.

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

Description

```
[root@katello ~]# foreman-maintain advanced procedure run content-switchover
Running ForemanMaintain::Scenario ================================================================================
Switch support for certain content from Pulp 2 to Pulp 3:
Performing final content migration before switching content
Content Migration completed successfully
Performing a check to verify everything that is needed has been migrated
[FAIL]
Failed executing foreman-rake katello:pulp3_post_migration_check, exit status 1:
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.7/lib/dynflow/rails.rb:75:in `world'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/lib/foreman_tasks.rb:23:in `trigger'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/lib/foreman_tasks.rb:29:in `block in trigger_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/lib/foreman_tasks.rb:49:in `block in rails_safe_trigger_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/lib/foreman_tasks.rb:48:in `rai
```


Related issues 1 (0 open1 closed)

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

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8971 added
Actions #2

Updated by Ian Ballou about 4 years ago

  • Target version set to Katello 3.16.1.1
Actions #3

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases Katello 4.0.0 added
Actions #4

Updated by Justin Sherrill about 4 years ago

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

Updated by John Mitsch about 4 years ago

  • Triaged changed from No to Yes
Actions #6

Updated by John Mitsch about 4 years ago

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

Also available in: Atom PDF