Red Hat Satellite server upgrade to version 6.10 fails with Katello::Resources::Candlepin::CandlepinPing: 404 Not Found error.

Solution Verified - Updated -

Issue

  • Upgrade to Red Hat Satellite v6.10 from the previous version failed with the below error message:
All services started                                                [OK]
--------------------------------------------------------------------------------
 Reset the Pulp 2 to Pulp 3 migration data (pre-switchover):           [FAIL]
 Failed executing foreman-rake katello:pulp3_migration_reset, exit status 1:
 API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
 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.50/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.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => katello:pulp3_migration_reset => katello:check_ping
(See full trace by running task with --trace)
{:services=>
  {:candlepin=>{:status=>"FAIL", :message=>"404 Not Found"},
   :candlepin_auth=>
    {:status=>"FAIL",
     :message=>
      "Katello::Resources::Candlepin::CandlepinPing: 404 Not Found  (GET /candlepin/status)"},
   :foreman_tasks=>{:status=>"ok", :duration_ms=>"2"},
   :katello_events=>
    {:status=>"ok", :message=>"0 Processed, 0 Failed", :duration_ms=>"0"},
   :candlepin_events=>
    {:status=>"FAIL", :message=>"Not running", :duration_ms=>"1"},
   :pulp3=>
    {:status=>"FAIL",
     :message=>
      "Not all necessary pulp workers running at https://satellite.example.com/pulp/api/v3."},
   :pulp=>{:status=>"ok", :duration_ms=>"35"},
   :pulp_auth=>{:status=>"ok", :duration_ms=>"18"}},
 :status=>"FAIL"}
--------------------------------------------------------------------------------
Scenario [Reset the Pulp 2 to Pulp 3 migration data (pre-switchover)] failed.

The following steps ended up in failing state:

  [content-migration-reset]

Environment

  • Red Hat Satellite 6.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content