Project

General

Profile

Bug #31725

foreman-rake katello:clean_backend_objects fails with " "The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer"},"

Added by Justin Sherrill over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Tooling
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

From https://community.theforeman.org/t/foreman-rake-katello-check-ping-fails-the-dynflow-world-was-not-initialized-yet/21684/1

foreman-rake katello:clean_backend_objects --trace
  • Invoke katello:clean_backend_objects (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Invoke katello:check_ping (first_time)
  • Invoke environment
  • Execute katello:check_ping {:services=> {:candlepin=>{:status=>“ok”, :duration_ms=>“25”},
    :candlepin_auth=>{:status=>“ok”, :duration_ms=>“43”},
    :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=>“0 Processed, 0 Failed”, :duration_ms=>“0”},
    :candlepin_events=> {:status=>“ok”, :message=>“0 Processed, 0 Failed”, :duration_ms=>“0”},
    :pulp3=>{:status=>“ok”, :duration_ms=>“66”},
    :pulp=>{:status=>“ok”, :duration_ms=>“86”},
    :pulp_auth=>{:status=>“ok”, :duration_ms=>“55”}},
    :status=>“FAIL”}
    rake aborted!

Related issues

Has duplicate Katello - Bug #32654: katello:correct_repositories should use "dynflow:client"Duplicate

Associated revisions

Revision b8c73d76 (diff)
Added by Justin Sherrill over 1 year ago

Fixes #31725 - properly use dynflow:client with check_ping in tasks

Revision 58d14a2a (diff)
Added by Justin Sherrill over 1 year ago

Refs #31725 - fix for dynflow:client transient test

Revision e1bb601c (diff)
Added by Justin Sherrill over 1 year ago

Refs #31725 - fix clean_backend_objs dynflow client test

History

#1 Updated by The Foreman Bot over 1 year ago

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

#2 Updated by Justin Sherrill over 1 year ago

  • Target version set to Katello 3.17.2

#3 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.1.0 added

#4 Updated by Justin Sherrill over 1 year ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/Katello/katello/pull/9118 added

#6 Updated by Samir Jha over 1 year ago

  • Triaged changed from No to Yes

#7 Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/Katello/katello/pull/9128 added

#8 Updated by Chris Roberts over 1 year ago

  • Target version changed from Katello 3.17.2 to Katello 4.0.0

#9 Updated by Jonathon Turel about 1 year ago

  • Target version changed from Katello 4.0.0 to Katello 3.18.3

#10 Updated by Ian Ballou about 1 year ago

  • Has duplicate Bug #32654: katello:correct_repositories should use "dynflow:client" added

Also available in: Atom PDF