Project

General

Profile

Bug #31644

content migration may fail if pulp isn't up yet

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

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

downstream foreman maintain starts the pulp services prior to migration. It seems that the pulp3 services aren't always up:

{:services=> {:candlepin=>{:status=>"ok", :duration_ms=>"26"},
:candlepin_auth=>{:status=>"ok", :duration_ms=>"36"},
:foreman_tasks=>{:status=>"ok", :duration_ms=>"3"},
: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=>"FAIL", :message=>"503 Service Unavailable"},
:pulp=>{:status=>"ok", :duration_ms=>"98"},
:pulp_auth=>{:status=>"ok", :duration_ms=>"57"}},
:status=>"FAIL"}

(the katello/candlepin events messages just need something to hit the webserver). We need some sort of sleep for 30 seconds if the pulp3 server is throwing a 503.

History

#1 Updated by Justin Sherrill over 1 year ago

  • Bugzilla link set to 1916485

#2 Updated by The Foreman Bot over 1 year ago

  • Assignee set to James Jeffers
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9105 added

#3 Updated by Chris Roberts over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.0.0

#4 Updated by Chris Roberts over 1 year ago

  • Target version changed from Katello 4.0.0 to Katello 3.18.2

#5 Updated by Jonathon Turel about 1 year ago

  • Target version changed from Katello 3.18.2 to Katello 3.18.3

#6 Updated by Jonathon Turel about 1 year ago

  • Target version changed from Katello 3.18.3 to Katello Recycle Bin
  • Status changed from Ready For Testing to Rejected

Also available in: Atom PDF