Project

General

Profile

Actions

Bug #31644

closed

content migration may fail if pulp isn't up yet

Added by Justin Sherrill over 3 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Justin Sherrill over 3 years ago

  • Bugzilla link set to 1916485
Actions #2

Updated by The Foreman Bot over 3 years ago

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

Updated by Chris Roberts over 3 years ago

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

Updated by Chris Roberts over 3 years ago

  • Target version changed from Katello 4.0.0 to Katello 3.18.2
Actions #5

Updated by Jonathon Turel about 3 years ago

  • Target version changed from Katello 3.18.2 to Katello 3.18.3
Actions #6

Updated by Jonathon Turel about 3 years ago

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

Also available in: Atom PDF