Project

General

Profile

Actions

Bug #31411

closed

Actions::Katello::Applicability::Hosts::BulkGenerate called many times with only a single host after sync plan runs

Added by Ian Ballou about 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Fixed in Releases:
Found in Releases:

Description

The issue is described here: https://community.theforeman.org/t/errata-not-calculated-generateapplicability-fails-trying-to-calculate-deleted-hosts-katello-3-17/21273/7

The user has many hosts >10K. After running a sync plan and

Actions::Katello::Applicability::Repository::Regenerate
is called, BulkGenerate is called many times with a single host instead of plucking 50 hosts as it should. I'm thinking there may be some sort of race condition going on. This single host generation ends up with the user seeing many content hosts reporting no applicable content.

To reproduce, I'm thinking it would be good to first try the Regenerate action on a couple of repos that are associated to the same 10K content hosts. Perhaps there is an issue where hosts are being pushed and popped from the applicable host queue at the same time.

Actions #1

Updated by Jonathon Turel about 4 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by Jonathon Turel almost 4 years ago

  • Target version changed from Katello 3.18.1 to Katello 3.18.2
Actions #3

Updated by John Mitsch almost 4 years ago

  • Target version changed from Katello 3.18.2 to Katello 4.1.0
Actions #4

Updated by Ian Ballou over 3 years ago

  • Target version changed from Katello 4.1.0 to Katello 4.2.0
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/9361 added
Actions #6

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #7

Updated by Justin Sherrill over 3 years ago

  • Target version changed from Katello 4.2.0 to Katello 4.1.0
Actions #8

Updated by Justin Sherrill over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #9

Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10108 added
Actions

Also available in: Atom PDF