Bug 1959878
| Summary: | foreman-rake katello:clean_backend_objects fails with the error message The Dynflow world was not initialized yet | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Anand Agrawal <aagrawal> |
| Component: | Upgrades | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED DUPLICATE | QA Contact: | Devendra Singh <desingh> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.9.0 | ||
| Target Milestone: | Unspecified | ||
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-12 15:05:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Anand Agrawal
2021-05-12 13:55:25 UTC
Description of problem:
Satellite 6.9 fails when running `foreman-rake katello:clean_backend_objects`
foreman-rake katello:clean_backend_objects
{:services=>
{:candlepin=>{:status=>"ok", :duration_ms=>"24"},
:candlepin_auth=>{:status=>"ok", :duration_ms=>"22"},
: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=>"70"},
:pulp_auth=>{:status=>"ok", :duration_ms=>"29"}},
: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:clean_backend_objects => 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 foreman-rake katello:clean_backend_objects
2.
3.
Actual results:
Expected results:
Additional info:
*** This bug has been marked as a duplicate of bug 1959901 *** |