Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1962851 - foreman-rake katello:* fails with the error message The Dynflow world was not initialized yet
Summary: foreman-rake katello:* fails with the error message The Dynflow world was not...
Keywords:
Status: CLOSED DUPLICATE of bug 1962847
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.9.0
Hardware: All
OS: All
high
medium
Target Milestone: 6.10.0
Assignee: Chris Roberts
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-20 16:45 UTC by James Jeffers
Modified: 2021-05-20 16:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1962847
Environment:
Last Closed: 2021-05-20 16:49:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 6039211 0 None None None 2021-05-20 16:45:12 UTC

Description James Jeffers 2021-05-20 16:45:00 UTC
+++ This bug was initially created as a clone of Bug #1962847 +++

+++ This bug was initially created as a clone of Bug #1959901 +++

Description of problem:

While running any foreman-rake command under Katello namespace fails with below error message.

{:status=>"FAIL", :message=>
      "The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer"},

Eg:
# foreman-rake katello:check_ping
{:services=>
  {:candlepin=>{:status=>"ok", :duration_ms=>"29"},
   :candlepin_auth=>{:status=>"ok", :duration_ms=>"27"},
   :foreman_tasks=>
    {:status=>"FAIL",
     :message=>
      "The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer"},
   :katello_events=>
    {:status=>"ok", :message=>"38 Processed, 0 Failed", :duration_ms=>"0"},
   :candlepin_events=>
    {:status=>"ok", :message=>"71 Processed, 0 Failed", :duration_ms=>"0"},
   :pulp=>{:status=>"ok", :duration_ms=>"82"},
   :pulp_auth=>{:status=>"ok", :duration_ms=>"40"}},
 :status=>"FAIL"}
rake aborted!
Not all the services have been started. Check the status report above and try again.
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.22/lib/katello/tasks/reimport.rake:10:in `block (2 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 => katello:check_ping
(See full trace by running task with --trace)



Version-Release number of selected component (if applicable):
6.9

How reproducible:

Always
Steps to Reproduce:
1. execute any foreman-rake command with katello namespace.
2.
3.

Actual results:

The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer


Expected results:

This should work without error
Additional info:

--- Additional comment from  on 2021-05-12T15:04:30Z 

*** Bug 1959888 has been marked as a duplicate of this bug. ***

--- Additional comment from  on 2021-05-12T15:05:45Z 

*** Bug 1959878 has been marked as a duplicate of this bug. ***

Comment 1 James Jeffers 2021-05-20 16:49:29 UTC

*** This bug has been marked as a duplicate of bug 1962847 ***


Note You need to log in before you can comment on or make changes to this bug.