Project

General

Profile

Actions

Bug #32060

closed

Syncs have race condition that could cause old applicability profiles to be pulled into katello

Added by Ian Ballou over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Steps to Reproduce:
1. Perform content migration & switchover on a 6.9 satellite
2. Register after switchover and ensure it has applicable errata
3. Force sync (skip-metadata-check) a repo that the host is assigned to
4. check the applicable errata for for the host

Actual results:

Sometimes you'll see the applicable errata for the host dissappear

Expected results:

Its always calculated correctly

Additional info:

this was discovered when investigating https://bugzilla.redhat.com/show_bug.cgi?id=1937072

Actions #1

Updated by Ian Ballou over 3 years ago

  • Subject changed from Errata is missing for a content host after pulp3 migration+switchover to Errata is missing for a content host after pulp3 migration+switchover

To solve this race condition, we should stop Katello::Repository::ImportApplicability from being planned for Pulp 3 here: https://github.com/Katello/katello/blob/KATELLO-3.18/app/lib/actions/katello/repository/sync.rb#L75

Actions #2

Updated by James Jeffers over 3 years ago

  • Target version set to Katello 3.18.3
  • Triaged changed from No to Yes
Actions #3

Updated by Justin Sherrill over 3 years ago

  • Subject changed from Errata is missing for a content host after pulp3 migration+switchover to Syncs have race condition that could cause old applicability profiles to be pulled into katello
Actions #4

Updated by Justin Sherrill over 3 years ago

  • Description updated (diff)
  • Bugzilla link changed from 1937072 to 1937534
Actions #5

Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Justin Sherrill
  • Pull request https://github.com/Katello/katello/pull/9220 added
Actions #6

Updated by Jonathon Turel over 3 years ago

  • Status changed from Ready For Testing to Closed
  • Target version changed from Katello 3.18.3 to Katello 3.18.2.1
Actions

Also available in: Atom PDF