Project

General

Profile

Bug #29650

handle smart proxy refresh with missing pulp3 capabilities

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

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

If a smart proxy refresh occurs while pulp3 is down (or in the process of coming up), the capabilities list is empty. This seems to be happening automatically at install time for the latest pipelines.

Associated revisions

Revision e5a6f749 (diff)
Added by Justin Sherrill about 2 years ago

Fixes #29650 - detect and fix pulpcore missing capabilities

There is a condition where a smart proxy is running and
tries to either register or refresh from the foreman server
but the pulpcore server is not up yet. This results in a
pulpcore feature, but no capabilities. Since apache has been
configured by the installer to point to pulpcore for serving content
and katello thinks pulpcore cant support that plugin, it falls back to
pulp2 and clients get a 404.

To solve it, this hooks into pulp selector and does a smart proxy
refresh if this condition is found to be true.

History

#1 Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8687 added

#2 Updated by Chris Roberts about 2 years ago

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

#3 Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases added

#4 Updated by Justin Sherrill about 2 years ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Jonathon Turel over 1 year ago

  • Fixed in Releases Katello 3.17.0 added
  • Fixed in Releases deleted ()
  • Pull request deleted (https://github.com/Katello/katello/pull/8687)

Also available in: Atom PDF